mate-panel: Fix crash for mozo.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2021-09-17 13:22:56 +07:00
parent 2a65944eec
commit 875e5615ff
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 35 additions and 2 deletions

View file

@ -0,0 +1,31 @@
From c759f2e68a11d1483a10670937b1ecfd4565b477 Mon Sep 17 00:00:00 2001
From: mbkma <johannes.unruh@fau.de>
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 \

View file

@ -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 \