summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/gnomemm/files/gnomemm-1.2.3-gentoo.patch')
-rw-r--r--dev-cpp/gnomemm/files/gnomemm-1.2.3-gentoo.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-cpp/gnomemm/files/gnomemm-1.2.3-gentoo.patch b/dev-cpp/gnomemm/files/gnomemm-1.2.3-gentoo.patch
new file mode 100644
index 000000000000..cec6185e890c
--- /dev/null
+++ b/dev-cpp/gnomemm/files/gnomemm-1.2.3-gentoo.patch
@@ -0,0 +1,16 @@
+--- procbar.gen_h~ 2002-10-07 21:57:23.000000000 +0200
++++ procbar.gen_h 2002-10-07 21:57:53.000000000 +0200
+@@ -82,12 +82,11 @@
+
+ //The callback signature is wrong but we shouldn't change it in a stable API,
+ //though I think that gnome-libs did.
+- typedef gint (* type_correctcallback)(gpointer);
+ gnome_proc_bar_construct(gtkobj(),
+ GTK_WIDGET(const_cast<GtkLabel*>(label.gtkobj())),
+ colors.size(),
+ colors_,
+- (type_correctcallback) cb);
++ cb);
+ }
+
+ ProcBar::~ProcBar()