diff options
Diffstat (limited to 'media-sound/synaesthesia/files')
-rw-r--r-- | media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch | 14 | ||||
-rw-r--r-- | media-sound/synaesthesia/files/synaesthesia-2.4-respect-flags.patch | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch b/media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch new file mode 100644 index 000000000000..ef93f24029bb --- /dev/null +++ b/media-sound/synaesthesia/files/synaesthesia-2.4-inline-keyword.patch @@ -0,0 +1,14 @@ +--- a/syna.h ++++ b/syna.h +@@ -73,9 +73,9 @@ + #endif + + void error(char *str,bool syscall=false); +-void inline attempt(int x,char *y,bool syscall=false) { if (x == -1) error(y,syscall); } ++inline void attempt(int x,char *y,bool syscall=false) { if (x == -1) error(y,syscall); } + void warning(char *str,bool syscall=false); +-void inline attemptNoDie(int x,char *y,bool syscall=false) { if (x == -1) warning(y,syscall); } ++inline void attemptNoDie(int x,char *y,bool syscall=false) { if (x == -1) warning(y,syscall); } + + /* *wrap */ + struct BaseScreen { diff --git a/media-sound/synaesthesia/files/synaesthesia-2.4-respect-flags.patch b/media-sound/synaesthesia/files/synaesthesia-2.4-respect-flags.patch new file mode 100644 index 000000000000..7a9523ee8b9a --- /dev/null +++ b/media-sound/synaesthesia/files/synaesthesia-2.4-respect-flags.patch @@ -0,0 +1,11 @@ +--- a/configure ++++ b/configure +@@ -1664,8 +1664,6 @@ + ac_config_commands="$ac_config_commands default-1" + + +-CXXFLAGS="-O4" +-CFLAGS="-O4" + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' |