summaryrefslogtreecommitdiffstats
path: root/multimedia/ripperX/gtk_cpp_workaround.patch
diff options
context:
space:
mode:
author David Golus2018-04-12 01:52:39 +0200
committer Willy Sudiarto Raharjo2018-04-14 02:06:29 +0200
commit9b1d3ef8bceb950fe4779f7012c71eee50f90d4b (patch)
tree8af0f22b899f2ffb4ca72e27da25c692f4567137 /multimedia/ripperX/gtk_cpp_workaround.patch
parent59453745f7d18b3cc774a670ed7c82ba9d278f8c (diff)
downloadslackbuilds-9b1d3ef8bceb950fe4779f7012c71eee50f90d4b.tar.gz
multimedia/ripperX: Updated for version 2.8.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
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