diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-25 00:15:14 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-11-25 00:15:14 +0800 |
commit | e160f02151150a99709fd2cf40e3d270782eafaf (patch) | |
tree | c926539810ab438723d0879e1a160c484d40b7ab /games | |
parent | c8d3ff52a9341a63c3be84544a520d020d628dfe (diff) | |
download | freebsd-ports-gnome-e160f02151150a99709fd2cf40e3d270782eafaf.tar.gz freebsd-ports-gnome-e160f02151150a99709fd2cf40e3d270782eafaf.tar.zst freebsd-ports-gnome-e160f02151150a99709fd2cf40e3d270782eafaf.zip |
- Fix build with libc++ 3.9
- Regenerate patches
PR: 214648
Diffstat (limited to 'games')
-rw-r--r-- | games/amoebax/files/patch-src_Music.cxx (renamed from games/amoebax/files/patch-src-Music.cxx) | 4 | ||||
-rw-r--r-- | games/amoebax/files/patch-src_binreloc.cxx | 12 |
2 files changed, 14 insertions, 2 deletions
diff --git a/games/amoebax/files/patch-src-Music.cxx b/games/amoebax/files/patch-src_Music.cxx index 02c62e6d7229..b379d549511c 100644 --- a/games/amoebax/files/patch-src-Music.cxx +++ b/games/amoebax/files/patch-src_Music.cxx @@ -1,5 +1,5 @@ ---- src/Music.cxx.orig 2007-05-27 19:04:33.000000000 +0400 -+++ src/Music.cxx 2013-09-13 22:00:04.632230761 +0400 +--- src/Music.cxx.orig 2007-05-27 15:04:33 UTC ++++ src/Music.cxx @@ -22,6 +22,7 @@ #include <assert.h> #include <SDL_mixer.h> diff --git a/games/amoebax/files/patch-src_binreloc.cxx b/games/amoebax/files/patch-src_binreloc.cxx new file mode 100644 index 000000000000..1e25133fb391 --- /dev/null +++ b/games/amoebax/files/patch-src_binreloc.cxx @@ -0,0 +1,12 @@ +--- src/binreloc.cxx.orig 2007-05-27 15:04:33 UTC ++++ src/binreloc.cxx +@@ -739,7 +739,8 @@ br_strndup (const char *str, size_t size + char * + br_dirname (const char *path) + { +- char *end, *result; ++ const char *end; ++ char *result; + + if (path == (const char *) NULL) + return (char *) NULL; |