diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-11-14 02:08:28 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-11-14 02:08:28 +0000 |
commit | 5d0e746f084f2252158e8af3b126fc1e73220b7d (patch) | |
tree | a8864c6ada50b691e362164de4191f251f16a586 /editors/xenon/files | |
parent | Update 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')
-rw-r--r-- | editors/xenon/files/patch-aa | 26 | ||||
-rw-r--r-- | editors/xenon/files/patch-ab | 25 | ||||
-rw-r--r-- | editors/xenon/files/patch-ac | 10 | ||||
-rw-r--r-- | editors/xenon/files/patch-ad | 11 |
4 files changed, 72 insertions, 0 deletions
diff --git a/editors/xenon/files/patch-aa b/editors/xenon/files/patch-aa new file mode 100644 index 000000000000..bef0fb7fb3d4 --- /dev/null +++ b/editors/xenon/files/patch-aa @@ -0,0 +1,26 @@ +--- Xe.C.orig Fri Oct 22 00:20:19 1999 ++++ Xe.C Fri Oct 22 18:45:53 1999 +@@ -41,9 +41,11 @@ + // Home directory lookup function. + // + ++#ifndef __FreeBSD__ + extern "C" { + extern char* cuserid(char*); + } ++#endif + + void + getHomeDir(char* pathname) +@@ -57,8 +59,10 @@ + + // $$$ cuserid _should_ be in unistd.h, but egcs + // complains that it isn't declared +- username = (char*)cuserid(NULL); ++#ifndef __FreeBSD__ ++ username = (char*)cuserid(NULL) + if (username == 0) ++#endif + username = getlogin(); + + if (username) diff --git a/editors/xenon/files/patch-ab b/editors/xenon/files/patch-ab new file mode 100644 index 000000000000..be2f0cf28ac9 --- /dev/null +++ b/editors/xenon/files/patch-ab @@ -0,0 +1,25 @@ +--- makefiles/Makefile.FreeBSD.orig Fri Oct 22 00:20:20 1999 ++++ makefiles/Makefile.FreeBSD Fri Oct 22 18:36:19 1999 +@@ -6,18 +6,18 @@ + + include makefiles/Makefile.common + +-CC = c++ ++CC = $(CXX) + #CC = /usr/local/bin/c++ + +-OPTIMIZER = -O2 ++#OPTIMIZER = -O2 + + #ARCH = -b i586-pc-linux-gnulibc1 + ARCH = + + # For making a dso, add -fPIC +-CCFLAGS = $(OPTIMIZER) -pipe -Wall -fno-exceptions ++CCFLAGS = $(CXXFLAGS) + +-INCLUDES = -I$(XEINC) ++INCLUDES = -I$(XEINC) -I/usr/X11R6/include + LIBS = -L/usr/X11R6/lib -lXpm -lX11 + + backup: diff --git a/editors/xenon/files/patch-ac b/editors/xenon/files/patch-ac new file mode 100644 index 000000000000..3c47b03bcc47 --- /dev/null +++ b/editors/xenon/files/patch-ac @@ -0,0 +1,10 @@ +--- KrPool.C.orig Fri Oct 22 00:20:19 1999 ++++ KrPool.C Fri Oct 22 18:47:08 1999 +@@ -3,7 +3,6 @@ + #include <stdlib.h> + #include <assert.h> + #include <limits.h> +-#include <malloc.h> + #include <Kr/KrPool.h> + + const uint KrPool::BUFLEN; 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); + |