summaryrefslogtreecommitdiffstats
path: root/editors/xenon
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2000-01-03 23:29:09 +0000
committerjedgar <jedgar@FreeBSD.org>2000-01-03 23:29:09 +0000
commit92dc6e96e7b73595a2f4b2c5a255679a30a02123 (patch)
tree83b8766daa6bfa31445acf0d9a05346d1f9fd895 /editors/xenon
parent6e223da7ec2d68081929c57e5d163f5ccec0bd6c (diff)
downloadFreeBSD-ports-92dc6e96e7b73595a2f4b2c5a255679a30a02123.zip
FreeBSD-ports-92dc6e96e7b73595a2f4b2c5a255679a30a02123.tar.gz
Correct typedef problem under 3.x
Found by: bento
Diffstat (limited to 'editors/xenon')
-rw-r--r--editors/xenon/files/patch-ad20
1 files changed, 16 insertions, 4 deletions
diff --git a/editors/xenon/files/patch-ad b/editors/xenon/files/patch-ad
index bd5e5c5..d8dd49d 100644
--- a/editors/xenon/files/patch-ad
+++ b/editors/xenon/files/patch-ad
@@ -1,7 +1,19 @@
---- XeApp.C.orig Fri Oct 22 00:20:19 1999
-+++ XeApp.C Fri Oct 22 18:42:42 1999
-@@ -165,7 +165,7 @@
- #endif
+--- XeApp.C.orig Tue Nov 23 00:36:49 1999
++++ XeApp.C Mon Jan 3 18:25:45 2000
+@@ -33,6 +33,11 @@
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
+
++#include <osreldate.h>
++#if __FreeBSD_version < 400010
++typedef int socklen_t;
++#endif
++
+ #ifdef _SGI_SOURCE
+ #include <alloca.h>
+ #include <bstring.h>
+@@ -169,7 +174,7 @@
+
gLocalIPAddr = 0;
- if (getsockname(ConnectionNumber(gDisplay), &saddr, &len) != -1)
OpenPOWER on IntegriCloud