From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 23 11:20:03 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4E5C16A419 for ; Sun, 23 Dec 2007 11:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BA08413C459 for ; Sun, 23 Dec 2007 11:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBNBK38p012925 for ; Sun, 23 Dec 2007 11:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBNBK3Xu012924; Sun, 23 Dec 2007 11:20:03 GMT (envelope-from gnats) Date: Sun, 23 Dec 2007 11:20:03 GMT Message-Id: <200712231120.lBNBK3Xu012924@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: Thierry Thomas Cc: Subject: Re: ports/118372: devel/STLport 5.1.4 port. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Thierry Thomas List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Dec 2007 11:20:03 -0000 The following reply was made to PR ports/118372; it has been noted by GNATS. From: Thierry Thomas To: =?iso-8859-1?Q?V=E1clav?= Haisman , FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: Re: ports/118372: devel/STLport 5.1.4 port. Date: Sun, 23 Dec 2007 12:10:17 +0100 --NzB8fVQJ5HfG6fxh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat 15 dec 07 at 19:58:47 +0100, Thierry Thomas wrote: > Many thanks for these patches! >=20 > I have already prepared some patches, and I'm going to merge your > patches with mine, in order to solve this problem. Well, finally I have a set of patches allowing to build cad/opencascade with STLport 5.1.4 and on FreeBSD-7. I have to add "-D_REENTRANT -D__unix" to build it against STLport 5.1.4; since I guess that the same problem could occur with other programs, I propose to add the following patch: --- patch-stlport_stl_config_features.h begins here --- --- ./stlport/stl/config/features.h.orig 2007-08-18 22:45:42.000000000 +0200 +++ ./stlport/stl/config/features.h 2007-12-23 11:18:22.000000000 +0100 @@ -218,7 +218,7 @@ #endif =20 /* Operating system recognition (basic) */ -#if defined (__unix) || defined (__linux__) || defined (__QNX__) || define= d (_AIX) || defined (__NetBSD__) || defined(__OpenBSD__) || defined (__Lyn= x__) +#if defined (__unix) || defined (__linux__) || defined (__QNX__) || define= d (_AIX) || defined (__NetBSD__) || defined(__OpenBSD__) || defined (__Lyn= x__) || defined(__FreeBSD__) # define _STLP_UNIX 1 #elif defined(macintosh) || defined (_MAC) # define _STLP_MAC 1 @@ -305,6 +305,7 @@ #endif =20 #if (defined (_REENTRANT) || defined (_THREAD_SAFE) || \ + (defined (_POSIX_THREADS) && defined (__FreeBSD__)) && \ (defined (_POSIX_THREADS) && defined (__OpenBSD__))) && \ !defined (_STLP_THREADS) # define _STLP_THREADS --- patch-stlport_stl_config_features.h ends here --- Best regards, --=20 Th. Thomas. --NzB8fVQJ5HfG6fxh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFHbkIZc95pjMcUBaIRAnaGAJ4mHFOrpB5Jy3IkDGrE2Z42W+BekwCdGiur Kv/PVU8+MmWwgobrAH1O5GE= =XNBO -----END PGP SIGNATURE----- --NzB8fVQJ5HfG6fxh--