diff options
Diffstat (limited to 'media-sound/gnusound/files/gnusound-0.6.2-gtkdep.patch')
-rw-r--r-- | media-sound/gnusound/files/gnusound-0.6.2-gtkdep.patch | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/gnusound/files/gnusound-0.6.2-gtkdep.patch b/media-sound/gnusound/files/gnusound-0.6.2-gtkdep.patch new file mode 100644 index 000000000000..2d9ccd025ca5 --- /dev/null +++ b/media-sound/gnusound/files/gnusound-0.6.2-gtkdep.patch @@ -0,0 +1,48 @@ +diff -Naur gnusound-0.6.2.orig/config.h gnusound-0.6.2/config.h +--- gnusound-0.6.2.orig/config.h 2003-04-14 15:31:47.000000000 +0200 ++++ gnusound-0.6.2/config.h 2004-09-10 23:48:52.379703328 +0200 +@@ -15,8 +15,6 @@ + #include "defines.h" + + #ifdef HAVE_GNOME2 +-#define GTK_DISABLE_DEPRECATED 1 +-#define GNOME_DISABLE_DEPRECATED 1 + #define GLADE_FILE "gnusound-2.glade" + #else + /* GNOME1 compatibility layer :) */ +diff -Naur gnusound-0.6.2.orig/configure gnusound-0.6.2/configure +--- gnusound-0.6.2.orig/configure 2004-01-15 08:11:20.000000000 +0100 ++++ gnusound-0.6.2/configure 2004-09-10 23:49:17.157936464 +0200 +@@ -4981,7 +4981,7 @@ + #define HAVE_GNOME2 + _ACEOF + +- CFLAGS="$CFLAGS -DGNOME_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -rdynamic $GNOME2_CFLAGS" ++ CFLAGS="$CFLAGS -rdynamic $GNOME2_CFLAGS" + LIBS="$LIBS -rdynamic $GNOME2_LIBS" + messages="$messages + * GNOME2 support is experimental. Be careful. +diff -Naur gnusound-0.6.2.orig/gui.c gnusound-0.6.2/gui.c +--- gnusound-0.6.2.orig/gui.c 2003-04-08 11:12:55.000000000 +0200 ++++ gnusound-0.6.2/gui.c 2004-09-10 23:51:28.917905904 +0200 +@@ -4,8 +4,6 @@ + * Absolutely no warranty. + */ + +-#define GTK_DISABLE_DEPRECATED 1 +-#define GNOME_DISABLE_DEPRECATED 1 + + #include <sys/types.h> + #include <sys/stat.h> +diff -Naur gnusound-0.6.2.orig/shell.c gnusound-0.6.2/shell.c +--- gnusound-0.6.2.orig/shell.c 2004-01-15 09:05:56.000000000 +0100 ++++ gnusound-0.6.2/shell.c 2004-09-10 23:51:46.205277824 +0200 +@@ -4,8 +4,6 @@ + * Absolutely no warranty. + */ + +-#define GTK_DISABLE_DEPRECATED 1 +-#define GNOME_DISABLE_DEPRECATED 1 + + #include <sys/time.h> + #include <sys/types.h> |