summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-2.0-devel/files/patch-i67138
blob: 981b640b32e370055712632fa7122dca687fcc73 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- moz/mozilla-source-1.7.5.patch.orig	Wed Jun 21 23:50:14 2006
+++ moz/mozilla-source-1.7.5.patch	Thu Jun 22 00:00:08 2006
@@ -7697,3 +7697,15 @@
   
   # Force applications to be built non-statically
   # when building the mozcomps meta component
+--- misc/build/mozilla/nsprpub/pr/src/misc/prnetdb.c.orig	Thu Sep  2 08:44:37 2004
++++ misc/build/mozilla/nsprpub/pr/src/misc/prnetdb.c	Wed Jun 21 23:58:12 2006
+@@ -105,7 +105,8 @@
+ #define _PR_HAVE_GETPROTO_R_INT
+ #endif
+ 
+-#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2)
++#if (defined(LINUX) && defined(__GLIBC__) && __GLIBC__ >= 2) || \
++	(defined(__FreeBSD__) && __FreeBSD_version > 700016)
+ #define _PR_HAVE_GETPROTO_R
+ #define _PR_HAVE_5_ARG_GETPROTO_R
+ #endif