summaryrefslogtreecommitdiffstats
path: root/multimedia/ripperX/gtk_cpp_workaround.patch
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/ripperX/gtk_cpp_workaround.patch')
-rw-r--r--multimedia/ripperX/gtk_cpp_workaround.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/multimedia/ripperX/gtk_cpp_workaround.patch b/multimedia/ripperX/gtk_cpp_workaround.patch
new file mode 100644
index 0000000000..fc6eef0443
--- /dev/null
+++ b/multimedia/ripperX/gtk_cpp_workaround.patch
@@ -0,0 +1,43 @@
+diff -urN ripperx-2.8.0/src/gtk_cpp_workaround.h ripperx-2.8.0/src/gtk_cpp_workaround.h
+--- ripperx-2.8.0/src/gtk_cpp_workaround.h 1969-12-31 16:00:00.000000000 -0800
++++ ripperx-2.8.0/src/gtk_cpp_workaround.h 2016-10-06 12:47:06.512778792 -0700
+@@ -0,0 +1,39 @@
++#ifndef gtk_cpp_workaround_h
++#define gtk_cpp_workaround_h
++#ifdef __cplusplus
++//proto is wrong, override here for C++
++namespace
++{
++
++inline void gtk_table_attach (GtkTable *table,
++ GtkWidget *child,
++ guint left_attach,
++ guint right_attach,
++ guint top_attach,
++ guint bottom_attach,
++ //GtkAttachOptions xoptions,
++ //GtkAttachOptions yoptions,
++ guint xoptions, guint yoptions,
++ guint xpadding,
++ guint ypadding
++ )
++{
++ gtk_table_attach(table,
++ child,
++ left_attach,
++ right_attach,
++ top_attach,
++ bottom_attach,
++ (GtkAttachOptions)xoptions,
++ (GtkAttachOptions)yoptions,
++ xpadding,
++ ypadding
++ );
++
++ };
++
++
++}
++
++#endif
++#endif