Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2007 11:20:03 GMT
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/118372: devel/STLport 5.1.4 port.
Message-ID:  <200712231120.lBNBK3Xu012924@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/118372; it has been noted by GNATS.

From: Thierry Thomas <thierry@FreeBSD.org>
To: =?iso-8859-1?Q?V=E1clav?= Haisman <V.Haisman@sh.cvut.cz>,
	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 <thierry@FreeBSD.org>
  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--



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