summaryrefslogtreecommitdiff
path: root/graphics/xmrm
diff options
context:
space:
mode:
authorMike Heffner <mikeh@FreeBSD.org>2002-07-04 08:09:05 +0000
committerMike Heffner <mikeh@FreeBSD.org>2002-07-04 08:09:05 +0000
commitdb59d15a8ececbddd134ccfee64ce13d9cfa3919 (patch)
tree4618426a17ffccb60420d694accab0ede2b37738 /graphics/xmrm
parentUpdate to version 9.3b. (diff)
Prepare for xforms update.
Notes
Notes: svn path=/head/; revision=62419
Diffstat (limited to 'graphics/xmrm')
-rw-r--r--graphics/xmrm/files/patch-aa13
-rw-r--r--graphics/xmrm/files/patch-ab13
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
+