Skip to content

Commit 3c245c6

Browse files
jperkinalarixnia
authored andcommitted
ORBit2: Add -Wno-error overrides.
Released 15 years ago, it's not going to get fixed any time soon.
1 parent c238270 commit 3c245c6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

net/ORBit2/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.86 2021/12/08 16:02:26 adam Exp $
1+
# $NetBSD: Makefile,v 1.87 2025/07/16 09:42:34 jperkin Exp $
22

33
DISTNAME= ORBit2-2.14.19
44
PKGREVISION= 6
@@ -34,6 +34,12 @@ PKG_SUGGESTED_OPTIONS= inet6
3434
.include "../../mk/bsd.prefs.mk"
3535
.include "../../mk/bsd.options.mk"
3636

37+
# Way too many hardcoded issues to patch
38+
.if ${PKGSRC_COMPILER:Mgcc}
39+
CFLAGS+= -Wno-error=implicit-int
40+
CFLAGS+= -Wno-error=incompatible-pointer-types
41+
.endif
42+
3743
.if !empty(PKG_OPTIONS:Minet6)
3844
CPPFLAGS+= -DINET6
3945
.endif

0 commit comments

Comments
 (0)