ports/103285: [PATCH] devel/pwlib: fix runtime in sparc64 on 6.x
Michael Johnson
ahze at FreeBSD.org
Thu Sep 14 20:40:19 UTC 2006
>Number: 103285
>Category: ports
>Synopsis: [PATCH] devel/pwlib: fix runtime in sparc64 on 6.x
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 14 20:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Michael Johnson
>Release:
>Organization:
>Environment:
>Description:
- Sparc64 <= 700003 is missing pthread_mutex_timedlock so use work around
to fix linking with net/ekiga and others
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- pwlib-1.10.1_1,1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/devel/pwlib/Makefile,v
retrieving revision 1.29
diff -u -r1.29 Makefile
--- Makefile 25 Jun 2006 10:44:36 -0000 1.29
+++ Makefile 14 Sep 2006 20:33:45 -0000
@@ -7,6 +7,7 @@
PORTNAME= pwlib
PORTVERSION= 1.10.1
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel
MASTER_SITES= http://www.voxgratia.org/releases/
@@ -125,6 +126,10 @@
.endif
post-patch:
+.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003
+ @${REINPLACE_CMD} -e 's|P_PTHREADS_XPG6|0|' \
+ ${WRKSRC}/src/ptlib/unix/tlibthrd.cxx
+.endif
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
${WRKSRC}/src/ptlib/common/tinyjpeg.cxx \
--- pwlib-1.10.1_1,1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list