aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emulators/adamem/files/patch-Makefile.X (renamed from emulators/adamem/files/patch-aa)15
1 files changed, 12 insertions, 3 deletions
diff --git a/emulators/adamem/files/patch-aa b/emulators/adamem/files/patch-Makefile.X
index b8b226a8a311..e62f631ddee4 100644
--- a/emulators/adamem/files/patch-aa
+++ b/emulators/adamem/files/patch-Makefile.X
@@ -1,15 +1,24 @@
---- Makefile.X.BACKUP Sun Nov 11 13:04:24 2001
-+++ Makefile.X Sun Nov 11 13:07:58 2001
+--- Makefile.X.orig Mon Nov 27 23:36:18 2006
++++ Makefile.X Mon Nov 27 23:37:51 2006
@@ -15,7 +15,8 @@
LD = gcc # Linker used
CFLAGS = -Wall -O2 -fomit-frame-pointer \
- -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB
+ -DLSB_FIRST -DUNIX_X -DUNIX -DMITSHM -DHAVE_CLOCK -DSOUND -DZLIB \
-+ -I/usr/X11R6/include
++ -I${PREFIX}/include
OBJECTS = ADAMEm.o Coleco.o Z80.o \
DSP.o Sound.o X.o Z80Debug.o Bitmap.o Unix.o
+@@ -26,7 +27,7 @@
+ rm -f *.o *~
+
+ adamem: $(OBJECTS)
+- $(LD) -s -Wl,-Map,adamem.map -L/usr/X11R6/lib \
++ $(LD) -s -Wl,-Map,adamem.map -L${X11BASE}/lib \
+ -o adamem $(OBJECTS) -lXext -lX11 -lz
+
+ cvem: adamem
@@ -42,7 +43,7 @@
$(LD) -s -o keys keys.o