summaryrefslogtreecommitdiff
path: root/x11/qtarch/patches
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qtarch/patches')
-rw-r--r--x11/qtarch/patches/patch-aa15
-rw-r--r--x11/qtarch/patches/patch-ab24
2 files changed, 39 insertions, 0 deletions
diff --git a/x11/qtarch/patches/patch-aa b/x11/qtarch/patches/patch-aa
new file mode 100644
index 00000000000..259671b110a
--- /dev/null
+++ b/x11/qtarch/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/04/28 20:31:44 drochner Exp $
+
+--- bmp/Makefile.orig Fri Apr 28 20:52:20 2000
++++ bmp/Makefile Fri Apr 28 20:56:08 2000
+@@ -93,7 +93,9 @@
+ include ../Makefile.common
+
+ qembed: qembed.o
+- $(CC) qembed.o -o qembed -Wall -L$(QTDIR)/lib -lqt
++ $(CC) qembed.o -o qembed -Wall -L$(QTDIR)/lib -Wl,-R$(QTDIR)/lib -lqt \
++ -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -lX11 -lXext -lSM \
++ -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib -lpng -lz
+
+ $(BMPSOURCE): $(BMPS) qembed
+ ./qembed $(BMPHEADER) $(BMPSOURCE) $(BMPS)
diff --git a/x11/qtarch/patches/patch-ab b/x11/qtarch/patches/patch-ab
new file mode 100644
index 00000000000..830df3e0ffc
--- /dev/null
+++ b/x11/qtarch/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/04/28 20:31:44 drochner Exp $
+
+--- Makefile.common.orig Mon Oct 4 03:24:17 1999
++++ Makefile.common Fri Apr 28 21:41:31 2000
+@@ -19,14 +19,17 @@
+ else
+ CFLAGS = -g -Wall -W -pipe
+ endif
++CFLAGS+= -D__unix__
+
+-LFLAGS = -rdynamic -g -L$(QTDIR)/lib \
++LFLAGS = -g -L$(QTDIR)/lib -Wl,-R$(QTDIR)/lib \
+ widget/libwidget.a \
+ prop/libprop.a \
+ bmp/libbmp.a \
+ layout/liblayout.a \
+ pixmap/libpixmap.a \
+- -lfl -lqt -lstdc++ -ldl -rdynamic
++ -lfl -lqt \
++ -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -lX11 -lXext -lSM \
++ -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib -lpng -lz -lstdc++
+ ARFLAGS = -crs
+ CC = g++
+ AR = ar