summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-03-29 19:41:06 +0000
committerAron Griffis <agriffis@gentoo.org>2004-03-29 19:41:06 +0000
commitb5be5469c9fc4af56f370fa77c079e4722924f78 (patch)
tree855103f1575d952509aad92910a69f40c8c16ab1 /x11-libs/rep-gtk/files
parentAdded blocker on >=gcc-3.3.2 (Manifest recommit) (diff)
downloadgentoo-2-b5be5469c9fc4af56f370fa77c079e4722924f78.tar.gz
gentoo-2-b5be5469c9fc4af56f370fa77c079e4722924f78.tar.bz2
gentoo-2-b5be5469c9fc4af56f370fa77c079e4722924f78.zip
Fix bug 45646 by syncing up rep-gtk headers with gtk+; only applies when >=gtk+-2.4 is installed. Thanks to Olivier Bulteel for the fix. Add metadata.xml naming myself as maintainer
Diffstat (limited to 'x11-libs/rep-gtk/files')
-rw-r--r--x11-libs/rep-gtk/files/rep-gtk-0.18-gtk24.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/x11-libs/rep-gtk/files/rep-gtk-0.18-gtk24.patch b/x11-libs/rep-gtk/files/rep-gtk-0.18-gtk24.patch
new file mode 100644
index 000000000000..5ae02b56ad4c
--- /dev/null
+++ b/x11-libs/rep-gtk/files/rep-gtk-0.18-gtk24.patch
@@ -0,0 +1,38 @@
+Only in rep-gtk-0.18-gtk2_patched: config.h
+diff -aur rep-gtk-0.18/gtk-compat.c rep-gtk-0.18-gtk2_patched/gtk-compat.c
+--- rep-gtk-0.18/gtk-compat.c 2002-07-12 00:19:22.000000000 -0400
++++ rep-gtk-0.18-gtk2_patched/gtk-compat.c 2004-03-27 00:59:32.109529224 -0500
+@@ -64,7 +64,7 @@
+
+ GtkWidget*
+ gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group,
+- gchar *label)
++ const gchar *label)
+ {
+ GSList *g = group? gtk_radio_menu_item_group (group) : NULL;
+ return gtk_radio_menu_item_new_with_label (g, label);
+@@ -72,7 +72,7 @@
+
+ GtkWidget*
+ gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group,
+- gchar *label)
++ const gchar *label)
+ {
+ GSList *g = group? gtk_radio_menu_item_group (group) : NULL;
+ return gtk_radio_menu_item_new_with_mnemonic (g, label);
+diff -aur rep-gtk-0.18/rep-gtk.h rep-gtk-0.18-gtk2_patched/rep-gtk.h
+--- rep-gtk-0.18/rep-gtk.h 2003-02-12 03:51:45.000000000 -0500
++++ rep-gtk-0.18-gtk2_patched/rep-gtk.h 2004-03-27 00:59:35.512011968 -0500
+@@ -291,10 +291,10 @@
+
+ GtkWidget*
+ gtk_radio_menu_item_new_with_label_from_widget (GtkRadioMenuItem *group,
+- gchar *label);
++ const gchar *label);
+ GtkWidget*
+ gtk_radio_menu_item_new_with_mnemonic_from_widget (GtkRadioMenuItem *group,
+- gchar *label);
++ const gchar *label);
+ GtkWidget* gtk_radio_menu_item_new_from_widget (GtkRadioMenuItem *group);
+ GtkWidget* gtk_pixmap_new_interp (char *file, GtkWidget *intended_parent);
+