summaryrefslogtreecommitdiff
path: root/emulators/pcemu/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/pcemu/patches/patch-aa')
-rw-r--r--emulators/pcemu/patches/patch-aa16
1 files changed, 12 insertions, 4 deletions
diff --git a/emulators/pcemu/patches/patch-aa b/emulators/pcemu/patches/patch-aa
index 18b34c87e1c..8a8af3f22ff 100644
--- a/emulators/pcemu/patches/patch-aa
+++ b/emulators/pcemu/patches/patch-aa
@@ -1,7 +1,8 @@
-$NetBSD: patch-aa,v 1.2 1999/12/29 01:45:39 wiz Exp $
---- Makefile.orig Wed Jun 22 07:29:06 1994
-+++ Makefile Tue Mar 30 20:01:40 1999
-@@ -49,10 +49,15 @@
+$NetBSD: patch-aa,v 1.3 2000/09/24 19:29:56 hubertf Exp $
+
+--- Makefile.orig Wed Jun 22 10:29:06 1994
++++ Makefile
+@@ -49,16 +49,21 @@
# been known to crash the emulator when running on certain machines (80x86
# based PCs under Linux, and HPs running HPUX).
@@ -20,6 +21,13 @@ $NetBSD: patch-aa,v 1.2 1999/12/29 01:45:39 wiz Exp $
# You may need to add -N to the LFLAGS if you get sporadic segmentation
# faults. So far I have only needed to do this when compiling under Linux
+ # as Xlib seems to be mysteriously writing to its text segment
+
+-LFLAGS = -L$(XROOT)/lib
++LFLAGS = -Wl,-R${XROOT}/lib -L$(XROOT)/lib
+ LIBRARIES = -lXext -lX11
+ OFILES = main.o cpu.o bios.o vga.o vgahard.o debugger.o xstuff.o \
+ hardware.o mfs.o
@@ -86,3 +91,28 @@
clean: