From 875e5615ff0a98005e83b41f3ed6b0af4fa98b9a Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Fri, 17 Sep 2021 13:22:56 +0700 Subject: [PATCH] mate-panel: Fix crash for mozo. Signed-off-by: Willy Sudiarto Raharjo --- base/mate-panel/1247.patch | 31 +++++++++++++++++++++++++++ base/mate-panel/mate-panel.SlackBuild | 6 ++++-- 2 files changed, 35 insertions(+), 2 deletions(-) create mode 100644 base/mate-panel/1247.patch diff --git a/base/mate-panel/1247.patch b/base/mate-panel/1247.patch new file mode 100644 index 0000000..6c15eed --- /dev/null +++ b/base/mate-panel/1247.patch @@ -0,0 +1,31 @@ +From c759f2e68a11d1483a10670937b1ecfd4565b477 Mon Sep 17 00:00:00 2001 +From: mbkma +Date: Thu, 26 Aug 2021 21:02:36 +0200 +Subject: [PATCH] fix mate-desktop-item-edit executable + +--- + mate-panel/Makefile.am | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/mate-panel/Makefile.am b/mate-panel/Makefile.am +index 1ec92a0e1..f2f04d27b 100644 +--- a/mate-panel/Makefile.am ++++ b/mate-panel/Makefile.am +@@ -170,6 +170,8 @@ mate_panel_LDFLAGS = -export-dynamic + mate_desktop_item_edit_SOURCES = \ + mate-desktop-item-edit.c \ + panel-ditem-editor.c \ ++ panel-resources.c \ ++ panel-resources.h \ + panel-marshal.c \ + panel-util.c + +@@ -188,6 +190,8 @@ mate_desktop_item_edit_LDADD += \ + -lX11 + endif + ++mate_desktop_item_edit_LDFLAGS = -export-dynamic ++ + mate_panel_test_applets_SOURCES = \ + $(panel_test_applets_BUILT_SOURCES) \ + panel-modules.c \ diff --git a/base/mate-panel/mate-panel.SlackBuild b/base/mate-panel/mate-panel.SlackBuild index 7fe2918..e7d86a4 100644 --- a/base/mate-panel/mate-panel.SlackBuild +++ b/base/mate-panel/mate-panel.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=mate-panel VERSION=${VERSION:-1.26.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_msb} if [ -z "$ARCH" ]; then @@ -78,9 +78,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +patch -p1 < $CWD/1247.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ -./configure \ +./autogen.sh \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \