Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

38 lines
1.3 KiB

diff -ur src.orig/configure.in src/configure.in
--- src.orig/configure.in 2012-10-01 20:59:22.712987576 +0100
+++ src/configure.in 2012-10-01 21:00:29.374018431 +0100
@@ -116,7 +116,7 @@
CFLAGS="$CFLAGS -DDEBUG -O0 -fno-omit-frame-pointer -ggdb3"
NFLAGS="$NFLAGS -DDEBUG -g -s -O0" dnl it works now
- ZSNESEXE="zsnesd"
+ ZSNESEXE="zsnes-netplay"
else
AC_MSG_RESULT(no)
diff -ur src.orig/linux/zfilew.c src/linux/zfilew.c
--- src.orig/linux/zfilew.c 2012-10-01 20:59:22.712987576 +0100
+++ src/linux/zfilew.c 2012-10-01 20:59:42.296623751 +0100
@@ -464,7 +464,7 @@
#ifdef __LINUX__
char zcfgdir[1024];
-#define ZCFG_DIR "/.zsnes"
+#define ZCFG_DIR "/.zsnes-netplay"
#define ZCFG_DIR_LEN (1023-strlen(ZCFG_DIR))
void obtaindir()
diff -ur src.orig/Makefile.in src/Makefile.in
--- src.orig/Makefile.in 2012-10-01 20:59:22.712987576 +0100
+++ src/Makefile.in 2012-10-01 20:59:42.296623751 +0100
@@ -225,8 +225,8 @@
install:
@INSTALL@ -d -m 0755 ${DESTDIR}/@prefix@/bin
@INSTALL@ -m 0755 @ZSNESEXE@ ${DESTDIR}/@prefix@/bin
- @INSTALL@ -d -m 0755 ${DESTDIR}/@prefix@/man/man1
- @INSTALL@ -m 0644 linux/zsnes.1 ${DESTDIR}/@prefix@/man/man1
+ @INSTALL@ -d -m 0755 ${DESTDIR}/@prefix@/share/man/man1
+ @INSTALL@ -m 0644 linux/zsnes.1 ${DESTDIR}/@prefix@/share/man/man1/zsnes-netplay.1
uninstall:
rm -f @prefix@/bin/$(notdir @ZSNESEXE@) @prefix@/man/man5/zsnes.5