Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2006 16:38:53 -0400 (EDT)
From:      Michael Johnson <ahze@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        steve@energistic.com
Subject:   ports/103285: [PATCH] devel/pwlib: fix runtime in sparc64 on 6.x 
Message-ID:  <200609142038.k8EKcrSg082015@blueherron.ahze.net>
Resent-Message-ID: <200609142040.k8EKeIoG072183@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609142038.k8EKcrSg082015>