summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-misc/gtkdialog/files/gtkdialog-0.8.3-do_variables_count_widgets.patch11
-rw-r--r--x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild1
-rw-r--r--x11-misc/gtkdialog/gtkdialog-99999.ebuild1
3 files changed, 13 insertions, 0 deletions
diff --git a/x11-misc/gtkdialog/files/gtkdialog-0.8.3-do_variables_count_widgets.patch b/x11-misc/gtkdialog/files/gtkdialog-0.8.3-do_variables_count_widgets.patch
new file mode 100644
index 000000000000..21697cfc78f7
--- /dev/null
+++ b/x11-misc/gtkdialog/files/gtkdialog-0.8.3-do_variables_count_widgets.patch
@@ -0,0 +1,11 @@
+--- a/src/variables.c
++++ b/src/variables.c
+@@ -1113,7 +1113,7 @@
+ actual = root;
+
+ if (actual == NULL)
+- return;
++ return 0;
+
+ if (actual->left != NULL)
+ n = do_variables_count_widgets(actual->left, n);
diff --git a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
index 5c51b9d790bf..aaa806d08243 100644
--- a/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-0.8.3_p20200202.ebuild
@@ -32,6 +32,7 @@ DEPEND="
"
PATCHES=(
"${FILESDIR}"/${PN}-0.8.3-fno-common.patch
+ "${FILESDIR}"/${PN}-0.8.3-do_variables_count_widgets.patch
)
src_prepare() {
diff --git a/x11-misc/gtkdialog/gtkdialog-99999.ebuild b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
index 131519d09a46..bea5590a20b3 100644
--- a/x11-misc/gtkdialog/gtkdialog-99999.ebuild
+++ b/x11-misc/gtkdialog/gtkdialog-99999.ebuild
@@ -32,6 +32,7 @@ DEPEND="
"
PATCHES=(
"${FILESDIR}"/${PN}-0.8.3-fno-common.patch
+ "${FILESDIR}"/${PN}-0.8.3-do_variables_count_widgets.patch
)
src_prepare() {