diff options
Diffstat (limited to 'emulators/zsnes/files')
-rw-r--r-- | emulators/zsnes/files/patch-configure | 41 | ||||
-rw-r--r-- | emulators/zsnes/files/patch-linux-zfilew.c | 21 |
2 files changed, 41 insertions, 21 deletions
diff --git a/emulators/zsnes/files/patch-configure b/emulators/zsnes/files/patch-configure new file mode 100644 index 000000000000..1da6da61b77b --- /dev/null +++ b/emulators/zsnes/files/patch-configure @@ -0,0 +1,41 @@ +--- configure.orig Tue Dec 26 18:52:47 2006 ++++ configure Tue Dec 26 18:53:22 2006 +@@ -5075,38 +5075,6 @@ + + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi +- if test x$force_arch = x; then +- if test x$ARCH_INFO = x; then +- case x$target in +- i686-*-*) +- { echo "$as_me:$LINENO: result: guessing i686" >&5 +-echo "${ECHO_T}guessing i686" >&6; } +- CFLAGS="$CFLAGS -march=i686" +- ;; +- i586-*-*) +- { echo "$as_me:$LINENO: result: guessing i586" >&5 +-echo "${ECHO_T}guessing i586" >&6; } +- CFLAGS="$CFLAGS -march=i586" +- ;; +- i486-*-*) +- { echo "$as_me:$LINENO: result: guessing i486" >&5 +-echo "${ECHO_T}guessing i486" >&6; } +- CFLAGS="$CFLAGS -march=i486" +- ;; +- *) +- { echo "$as_me:$LINENO: result: guessing i386" >&5 +-echo "${ECHO_T}guessing i386" >&6; } +- CFLAGS="$CFLAGS -march=i386" +- { echo "$as_me:$LINENO: WARNING: This is not what you want, use --target or force-arch" >&5 +-echo "$as_me: WARNING: This is not what you want, use --target or force-arch" >&2;} +- ;; +- esac +- else +- { echo "$as_me:$LINENO: result: $ARCH_INFO" >&5 +-echo "${ECHO_T}$ARCH_INFO" >&6; } +- CFLAGS="$CFLAGS -march=$ARCH_INFO" +- fi +- fi + + # Check whether --enable-release was given. + if test "${enable_release+set}" = set; then diff --git a/emulators/zsnes/files/patch-linux-zfilew.c b/emulators/zsnes/files/patch-linux-zfilew.c deleted file mode 100644 index f4ad601d7248..000000000000 --- a/emulators/zsnes/files/patch-linux-zfilew.c +++ /dev/null @@ -1,21 +0,0 @@ -$FreeBSD$ - ---- linux/zfilew.c Fri Jan 14 06:11:19 2005 -+++ linux/zfilew.c.new Thu Jun 2 19:29:43 2005 -@@ -474,11 +474,12 @@ - - if ((homedir = (char *)getenv("HOME")) == 0) - { -- homedir = (char *)malloc(ZCFG_DIR_LEN); -- getcwd(homedir, ZCFG_DIR_LEN); -+ getcwd(zcfgdir, ZCFG_DIR_LEN); -+ } -+ else -+ { -+ strcpy(zcfgdir, homedir); - } -- strcpy(zcfgdir, homedir); -- free(homedir); - strcat(zcfgdir, ZCFG_DIR); - tmp = opendir(zcfgdir); - if (tmp == NULL) |