aboutsummaryrefslogtreecommitdiffstats
path: root/x11/libsx/files
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>1997-01-13 15:43:51 +0800
committertg <tg@FreeBSD.org>1997-01-13 15:43:51 +0800
commitac8648fe8e67babdba1854d8c077cf19bb921d8a (patch)
tree172efeb4cbdacd96918588f540e732f8bc8a7bcc /x11/libsx/files
parent932c1f2ba891d810f8577fe101b2d726b7a15f32 (diff)
downloadfreebsd-ports-graphics-ac8648fe8e67babdba1854d8c077cf19bb921d8a.tar.gz
freebsd-ports-graphics-ac8648fe8e67babdba1854d8c077cf19bb921d8a.tar.zst
freebsd-ports-graphics-ac8648fe8e67babdba1854d8c077cf19bb921d8a.zip
Import of libsx, a simple X library.
Closes PR #2289. Submitted by: pgiffuni@FPS.biblos.unal.edu.co
Diffstat (limited to 'x11/libsx/files')
-rw-r--r--x11/libsx/files/patch-aa64
1 files changed, 64 insertions, 0 deletions
diff --git a/x11/libsx/files/patch-aa b/x11/libsx/files/patch-aa
new file mode 100644
index 00000000000..4eb95453a57
--- /dev/null
+++ b/x11/libsx/files/patch-aa
@@ -0,0 +1,64 @@
+*** libsx_defs.orig Mon Feb 28 11:04:26 1994
+--- libsx_defs Tue Dec 24 01:13:01 1996
+***************
+*** 9,15 ****
+ # you have it). Using cc seems to also work on the RS/6000 (though
+ # you may need the -xansi or -ansi flag).
+ #CC = gcc
+! CC = cc
+
+
+ # Using gcc it's nice to be real strict and compile with -Wall, for
+--- 9,15 ----
+ # you have it). Using cc seems to also work on the RS/6000 (though
+ # you may need the -xansi or -ansi flag).
+ #CC = gcc
+! #CC = cc
+
+
+ # Using gcc it's nice to be real strict and compile with -Wall, for
+***************
+*** 46,60 ****
+ # If you're daring, and you have OpenGL, try:
+ # CFLAGS = -g -D_POSIX_SOURCE -DOPENGL_SUPPORT
+ #
+! CFLAGS = -g -D_POSIX_SOURCE
+
+ #
+ # if you are on a System V (like the SGI) machine, just define RANLIB
+ # to be something innocuous like `echo'. On a Sun or other BSD machine
+ # (like a DECstation, AIX) we need to run the ranlib program.
+ #
+! #RANLIB=ranlib
+! RANLIB=echo
+
+ #
+ # libraries we need to link with...
+--- 46,60 ----
+ # If you're daring, and you have OpenGL, try:
+ # CFLAGS = -g -D_POSIX_SOURCE -DOPENGL_SUPPORT
+ #
+! CFLAGS = -O -D_POSIX_SOURCE -I$(X11BASE)/include
+
+ #
+ # if you are on a System V (like the SGI) machine, just define RANLIB
+ # to be something innocuous like `echo'. On a Sun or other BSD machine
+ # (like a DECstation, AIX) we need to run the ranlib program.
+ #
+! RANLIB=ranlib
+! #RANLIB=echo
+
+ #
+ # libraries we need to link with...
+***************
+*** 83,87 ****
+ #
+ LIBSX = ../src/libsx.a
+ #LIBS = $(LIBSX) -lXaw -lXmu -lXt -lX11
+! LIBS = $(LIBSX) -lXaw -lXmu -lXt -lX11
+!
+--- 83,86 ----
+ #
+ LIBSX = ../src/libsx.a
+ #LIBS = $(LIBSX) -lXaw -lXmu -lXt -lX11
+! LIBS = $(LIBSX) -lXaw -lXmu -lXt -lX11 -lm -lXext -L$(X11BASE)/lib