diff options
author | mikeh <mikeh@FreeBSD.org> | 2002-07-04 16:09:05 +0800 |
---|---|---|
committer | mikeh <mikeh@FreeBSD.org> | 2002-07-04 16:09:05 +0800 |
commit | 1769999c1b9856a50c9c7ef15c809cd95839f0a6 (patch) | |
tree | 21f169218f64ee0c7190422ae8f5272676793ebe /graphics/xmrm | |
parent | 125fbd3d930383147612d03261f896c3f643880b (diff) | |
download | freebsd-ports-gnome-1769999c1b9856a50c9c7ef15c809cd95839f0a6.tar.gz freebsd-ports-gnome-1769999c1b9856a50c9c7ef15c809cd95839f0a6.tar.zst freebsd-ports-gnome-1769999c1b9856a50c9c7ef15c809cd95839f0a6.zip |
Prepare for xforms update.
Diffstat (limited to 'graphics/xmrm')
-rw-r--r-- | graphics/xmrm/files/patch-aa | 13 | ||||
-rw-r--r-- | graphics/xmrm/files/patch-ab | 13 |
2 files changed, 19 insertions, 7 deletions
diff --git a/graphics/xmrm/files/patch-aa b/graphics/xmrm/files/patch-aa index 7b1f38b31bc0..dd13f58e8a17 100644 --- a/graphics/xmrm/files/patch-aa +++ b/graphics/xmrm/files/patch-aa @@ -1,5 +1,5 @@ ---- Makefile.orig Tue Mar 10 00:00:00 1998 -+++ Makefile Sun Mar 11 15:48:25 2001 +--- Makefile.orig Mon Mar 9 18:00:00 1998 ++++ Makefile Mon Jul 1 03:46:01 2002 @@ -16,8 +16,8 @@ # ############################################################################## @@ -11,12 +11,17 @@ # -c: don't link yet # -g: produce debugging-information, don't use together with link_flag -s -@@ -29,14 +29,14 @@ +@@ -28,15 +28,19 @@ + # -c: don't link yet #COMPILE_FLAGS = -O3 -m486 -c ++.if exists(${X11BASE}/include/X11/forms.h) ++XFORMSINC = -I${X11BASE}/include/X11 ++.endif ++ # -O: normal optimization level -c: don't link yet -COMPILE_FLAGS = -O -c -+COMPILE_FLAGS = ${CFLAGS} -I${PREFIX}/include -I${X11BASE}/include -c ++COMPILE_FLAGS = ${CFLAGS} -I${PREFIX}/include -I${X11BASE}/include ${XFORMSINC} -c # -s: DESTROYS symbol-table -LINK_FLAGS = -s diff --git a/graphics/xmrm/files/patch-ab b/graphics/xmrm/files/patch-ab index 6403b6168169..6806849d26e0 100644 --- a/graphics/xmrm/files/patch-ab +++ b/graphics/xmrm/files/patch-ab @@ -1,6 +1,6 @@ ---- const.h.orig Mon Mar 9 17:00:00 1998 -+++ const.h Tue Mar 28 15:23:34 2000 -@@ -3,7 +3,7 @@ +--- const.h.orig Mon Mar 9 18:00:00 1998 ++++ const.h Mon Jul 1 03:46:45 2002 +@@ -3,12 +3,14 @@ // Programming: Gerhard Waldhör, Andreas Artmann #include <stdio.h> @@ -9,3 +9,10 @@ #include <errno.h> #include <math.h> ++#ifndef TRUE + #define TRUE 1 + #define FALSE 0 ++#endif + + #define MAX_PIC_NUM 999 + |