diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-01 17:22:12 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-01 17:22:12 +0000 |
commit | d8ee0c7eec0f3006c0ccda39cd28f667e3885149 (patch) | |
tree | a84b0862190601c64bf456e6e6df5fe58d8d0e1d /www/mozilla-devel/files/patch-nsprpub-configure | |
parent | Add a better patch to say we have socklen_t. (diff) |
Add a better patch to teach nspr that we have socklen_t.
Submitted by: tmm
Notes
Notes:
svn path=/head/; revision=81915
Diffstat (limited to 'www/mozilla-devel/files/patch-nsprpub-configure')
-rw-r--r-- | www/mozilla-devel/files/patch-nsprpub-configure | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/mozilla-devel/files/patch-nsprpub-configure b/www/mozilla-devel/files/patch-nsprpub-configure new file mode 100644 index 000000000000..27ae64ee0c97 --- /dev/null +++ b/www/mozilla-devel/files/patch-nsprpub-configure @@ -0,0 +1,23 @@ +--- nsprpub/configure.in.orig Sun Jun 1 00:16:23 2003 ++++ nsprpub/configure.in Sun Jun 1 00:13:09 2003 +@@ -920,6 +920,7 @@ + AC_DEFINE(XP_UNIX) + AC_DEFINE(FREEBSD) + AC_DEFINE(HAVE_BSD_FLOCK) ++ AC_DEFINE(HAVE_SOCKLEN_T) + CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall" + MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + if test "$MOZ_OBJFORMAT" = "elf"; then +--- nsprpub/configure.orig Sun Jun 1 00:11:33 2003 ++++ nsprpub/configure Sun Jun 1 00:12:49 2003 +@@ -3300,6 +3300,10 @@ + #define HAVE_BSD_FLOCK 1 + EOF + ++ cat >> confdefs.h <<\EOF ++#define HAVE_SOCKLEN_T 1 ++EOF ++ + CFLAGS="$CFLAGS $(DSO_CFLAGS) -ansi -Wall" + MOZ_OBJFORMAT=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` + if test "$MOZ_OBJFORMAT" = "elf"; then |