summaryrefslogtreecommitdiff
path: root/editors/xenon/files/patch-ad
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-11-14 02:08:28 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-11-14 02:08:28 +0000
commit5d0e746f084f2252158e8af3b126fc1e73220b7d (patch)
treea8864c6ada50b691e362164de4191f251f16a586 /editors/xenon/files/patch-ad
parentUpdate to version 991028-2. (diff)
A simple X-based text editor which is based on libXpm instead of
gtk+/qt/motif/etc. PR: 14467 Submitted by: Chris D. Faulhaber <jedgar@fxp.org>
Notes
Notes: svn path=/head/; revision=23075
Diffstat (limited to 'editors/xenon/files/patch-ad')
-rw-r--r--editors/xenon/files/patch-ad11
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/xenon/files/patch-ad b/editors/xenon/files/patch-ad
new file mode 100644
index 000000000000..8c1fb4400185
--- /dev/null
+++ b/editors/xenon/files/patch-ad
@@ -0,0 +1,11 @@
+--- XeApp.C.orig Fri Oct 22 00:20:19 1999
++++ XeApp.C Fri Oct 22 18:42:42 1999
+@@ -165,7 +165,7 @@
+ #endif
+ gLocalIPAddr = 0;
+
+- if (getsockname(ConnectionNumber(gDisplay), &saddr, &len) != -1)
++ if (getsockname(ConnectionNumber(gDisplay), &saddr, (int *)&len) != -1)
+ if (saddr.sa_family == AF_INET)
+ gLocalIPAddr = ntohl(((sockaddr_in*)&saddr)->sin_addr.s_addr);
+