aboutsummaryrefslogtreecommitdiff
path: root/math/xgfe/files
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2002-05-24 11:50:07 +0000
committerKris Kennaway <kris@FreeBSD.org>2002-05-24 11:50:07 +0000
commit11299cca118ccdf50e0fb1d8616dc3ce7e655513 (patch)
tree8d837b8eec287b2e93ad2892043d2773e039440e /math/xgfe/files
parent4d6de4bdaec9bee45682b2c015f06b39caa054da (diff)
downloadports-11299cca118ccdf50e0fb1d8616dc3ce7e655513.tar.gz
ports-11299cca118ccdf50e0fb1d8616dc3ce7e655513.zip
Notes
Diffstat (limited to 'math/xgfe/files')
-rw-r--r--math/xgfe/files/patch-aa44
-rw-r--r--math/xgfe/files/patch-ab28
-rw-r--r--math/xgfe/files/patch-ac12
3 files changed, 84 insertions, 0 deletions
diff --git a/math/xgfe/files/patch-aa b/math/xgfe/files/patch-aa
new file mode 100644
index 000000000000..f2a7b25e13de
--- /dev/null
+++ b/math/xgfe/files/patch-aa
@@ -0,0 +1,44 @@
+--- Makefile.freebsd-gcc.orig Sun Jun 7 13:12:00 1998
++++ Makefile.freebsd-gcc Fri May 24 04:40:34 2002
+@@ -7,13 +7,14 @@
+
+ ####### Compiler, tools and options
+
+-CC = gcc
+-CFLAGS = -Wall -W -O2 -fno-strength-reduce
+-INCPATH = -I$(QTDIR)/include
+-LINK = gcc
++#CC = gcc
++#CFLAGS = -Wall -W -O2 -fno-strength-reduce
++QTDIR = $(X11BASE)
++INCPATH = -I$(X11BASE)/include/X11/qt1
++LINK = $(CXX)
+ LFLAGS =
+-LIBS = -L$(QTDIR)/lib -lqt -L/usr/X11R6/lib -lX11
+-MOC = moc
++LIBS = -L$(QTDIR)/lib -lqt1 -L$(X11BASE)/lib -lX11
++MOC = ${X11BASE}/bin/moc1
+
+ ####### Files
+
+@@ -224,16 +225,16 @@
+ .SUFFIXES: .cpp .cxx .cc .C .c
+
+ .cpp.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
+
+ .cxx.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
+
+ .cc.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
+
+ .C.o:
+- $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
++ $(CXX) -c $(CFLAGS) $(INCPATH) -o $@ $<
+
+ .c.o:
+ $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
diff --git a/math/xgfe/files/patch-ab b/math/xgfe/files/patch-ab
new file mode 100644
index 000000000000..2ecb111c3494
--- /dev/null
+++ b/math/xgfe/files/patch-ab
@@ -0,0 +1,28 @@
+--- Makefile.common.orig Tue May 26 22:09:43 1998
++++ Makefile.common Wed Jun 10 15:00:13 1998
+@@ -2,8 +2,8 @@
+
+ # modify starting here
+
+-INSTALL_BIN = /usr/local/bin
+-INSTALL_DOC = /usr/local/doc/xgfe-$(VERSION)
++INSTALL_BIN = $(PREFIX)/bin
++INSTALL_DOC = $(PREFIX)/share/doc/xgfe
+ STATIC_TARGET = xgfe-static
+
+ # end modifications
+@@ -15,10 +15,11 @@
+ strip $(STATIC_TARGET)
+
+ install:
+- cp $(TARGET) $(INSTALL_BIN)
++ $(BSD_INSTALL_PROGRAM) $(TARGET) $(INSTALL_BIN)
++.if !defined(NOPORTDOCS)
+ mkdir -p $(INSTALL_DOC)
+- cp ../doc/* $(INSTALL_DOC)/
+- strip $(INSTALL_BIN)/$(TARGET)
++ $(BSD_INSTALL_DATA) ../doc/* $(INSTALL_DOC)/
++.endif
+
+ uninstall:
+ rm $(INSTALL_BIN)$(TARGET)
diff --git a/math/xgfe/files/patch-ac b/math/xgfe/files/patch-ac
new file mode 100644
index 000000000000..0bfa74ad7fdc
--- /dev/null
+++ b/math/xgfe/files/patch-ac
@@ -0,0 +1,12 @@
+--- xgfeMainData.cpp.orig Sun Jun 7 14:39:29 1998
++++ xgfeMainData.cpp Sat Feb 12 05:00:10 2000
+@@ -34,6 +34,9 @@
+ #include <qpushbt.h>
+ #include <qlayout.h>
+
++#define QColor(i) (QColor)(i)
++#define QRgb(i) (QRgb)(i)
++
+ xgfeMainData::xgfeMainData
+ (
+ QWidget* parent = 0,