mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Unbreak
- Fix build on 8.X after RTF_WASCLONES removal PR: 131540 Submitted by: Steve Ames <steve@energistic.com> (maintainer)
This commit is contained in:
parent
953f777315
commit
23e2ca442a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=227958
2 changed files with 12 additions and 4 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= pwlib
|
PORTNAME= pwlib
|
||||||
PORTVERSION= 1.12.0
|
PORTVERSION= 1.12.0
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= devel
|
CATEGORIES= devel
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
@ -32,9 +32,6 @@ USE_LDCONFIG= yes
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
.if ${OSVERSION} >= 800059
|
|
||||||
BROKEN= does not build
|
|
||||||
.endif
|
|
||||||
|
|
||||||
CFLAGS= -O1
|
CFLAGS= -O1
|
||||||
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${WRKSRC}/include -I${LOCALBASE}/include" \
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -O1 -I${WRKSRC}/include -I${LOCALBASE}/include" \
|
||||||
|
|
11
devel/pwlib/files/patch-src_ptlib_unix_socket.cxx
Normal file
11
devel/pwlib/files/patch-src_ptlib_unix_socket.cxx
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
--- src/ptlib/unix/socket.cxx.old 2007-10-19 02:22:32.000000000 -0400
|
||||||
|
+++ src/ptlib/unix/socket.cxx 2009-02-09 20:05:59.000000000 -0500
|
||||||
|
@@ -1446,7 +1446,7 @@
|
||||||
|
if ((~rtm->rtm_flags&RTF_LLINFO)
|
||||||
|
#if defined(P_NETBSD) || defined(P_QNX)
|
||||||
|
&& (~rtm->rtm_flags&RTF_CLONED) // Net BSD has flag one way
|
||||||
|
-#elif !defined(P_OPENBSD)
|
||||||
|
+#elif !defined(P_OPENBSD) && defined(RTF_WASCLONED)
|
||||||
|
&& (~rtm->rtm_flags&RTF_WASCLONED) // Free BSD/MAC has it another
|
||||||
|
#else
|
||||||
|
// Open BSD does not have it at all!
|
Loading…
Add table
Reference in a new issue