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

7 years ago
  1. diff -ur src.orig/configure.in src/configure.in
  2. --- src.orig/configure.in 2012-10-01 20:59:22.712987576 +0100
  3. +++ src/configure.in 2012-10-01 21:00:29.374018431 +0100
  4. @@ -116,7 +116,7 @@
  5. CFLAGS="$CFLAGS -DDEBUG -O0 -fno-omit-frame-pointer -ggdb3"
  6. NFLAGS="$NFLAGS -DDEBUG -g -s -O0" dnl it works now
  7. - ZSNESEXE="zsnesd"
  8. + ZSNESEXE="zsnes-netplay"
  9. else
  10. AC_MSG_RESULT(no)
  11. diff -ur src.orig/linux/zfilew.c src/linux/zfilew.c
  12. --- src.orig/linux/zfilew.c 2012-10-01 20:59:22.712987576 +0100
  13. +++ src/linux/zfilew.c 2012-10-01 20:59:42.296623751 +0100
  14. @@ -464,7 +464,7 @@
  15. #ifdef __LINUX__
  16. char zcfgdir[1024];
  17. -#define ZCFG_DIR "/.zsnes"
  18. +#define ZCFG_DIR "/.zsnes-netplay"
  19. #define ZCFG_DIR_LEN (1023-strlen(ZCFG_DIR))
  20. void obtaindir()
  21. diff -ur src.orig/Makefile.in src/Makefile.in
  22. --- src.orig/Makefile.in 2012-10-01 20:59:22.712987576 +0100
  23. +++ src/Makefile.in 2012-10-01 20:59:42.296623751 +0100
  24. @@ -225,8 +225,8 @@
  25. install:
  26. @INSTALL@ -d -m 0755 ${DESTDIR}/@prefix@/bin
  27. @INSTALL@ -m 0755 @ZSNESEXE@ ${DESTDIR}/@prefix@/bin
  28. - @INSTALL@ -d -m 0755 ${DESTDIR}/@prefix@/man/man1
  29. - @INSTALL@ -m 0644 linux/zsnes.1 ${DESTDIR}/@prefix@/man/man1
  30. + @INSTALL@ -d -m 0755 ${DESTDIR}/@prefix@/share/man/man1
  31. + @INSTALL@ -m 0644 linux/zsnes.1 ${DESTDIR}/@prefix@/share/man/man1/zsnes-netplay.1
  32. uninstall:
  33. rm -f @prefix@/bin/$(notdir @ZSNESEXE@) @prefix@/man/man5/zsnes.5