mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-24 21:59:31 +01:00
murrine: Fix build against new poppler.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
4e5efd5e45
commit
acc22303db
2 changed files with 40 additions and 1 deletions
37
deps/murrine/gtk-murrine-engine-c99.patch
vendored
Normal file
37
deps/murrine/gtk-murrine-engine-c99.patch
vendored
Normal file
|
@ -0,0 +1,37 @@
|
|||
Add a few missing function prototypes, to avoid future build failures once
|
||||
compilers start to reject implicit function declarations by default.
|
||||
|
||||
diff -ur murrine-0.98.2.orig/src/murrine_rc_style.h murrine-0.98.2/src/murrine_rc_style.h
|
||||
--- murrine-0.98.2.orig/src/murrine_rc_style.h 2012-01-17 18:46:01.000000000 +0100
|
||||
+++ murrine-0.98.2/src/murrine_rc_style.h 2022-12-14 21:33:03.242067429 +0100
|
||||
@@ -154,5 +154,6 @@
|
||||
};
|
||||
|
||||
GType murrine_rc_style_get_type (void);
|
||||
+void murrine_rc_style_register_types (GTypeModule *module);
|
||||
|
||||
#endif /* MURRINE_RC_STYLE_H */
|
||||
diff -ur murrine-0.98.2.orig/src/murrine_style.h murrine-0.98.2/src/murrine_style.h
|
||||
--- murrine-0.98.2.orig/src/murrine_style.h 2012-01-17 18:46:01.000000000 +0100
|
||||
+++ murrine-0.98.2/src/murrine_style.h 2022-12-14 21:33:41.604671684 +0100
|
||||
@@ -102,5 +102,6 @@
|
||||
};
|
||||
|
||||
GType murrine_style_get_type (void);
|
||||
+void murrine_style_register_types (GTypeModule *module);
|
||||
|
||||
#endif /* MURRINE_STYLE_H */
|
||||
diff -ur murrine-0.98.2.orig/src/support.h murrine-0.98.2/src/support.h
|
||||
--- murrine-0.98.2.orig/src/support.h 2012-01-17 18:46:01.000000000 +0100
|
||||
+++ murrine-0.98.2/src/support.h 2022-12-14 21:27:27.288533100 +0100
|
||||
@@ -118,6 +118,10 @@
|
||||
|
||||
#define MRN_WIDGET_HAS_DEFAULT(object) ((object) && MRN_IS_WIDGET(object) && GTK_WIDGET_HAS_DEFAULT(object))
|
||||
|
||||
+gboolean murrine_object_is_a (const GObject * object, const gchar * type_name);
|
||||
+gboolean murrine_widget_is_ltr (GtkWidget *widget);
|
||||
+
|
||||
+
|
||||
G_GNUC_INTERNAL GtkTextDirection murrine_get_direction (GtkWidget *widget);
|
||||
G_GNUC_INTERNAL GtkWidget *murrine_special_get_ancestor (GtkWidget *widget, GType widget_type);
|
||||
G_GNUC_INTERNAL GdkColor* murrine_get_parent_bgcolor (GtkWidget *widget);
|
4
deps/murrine/murrine.SlackBuild
vendored
4
deps/murrine/murrine.SlackBuild
vendored
|
@ -25,7 +25,7 @@
|
|||
|
||||
PRGNAM=murrine
|
||||
VERSION=${VERSION:-0.98.2}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_msb}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -83,6 +83,8 @@ if [ "$ARCH" = "aarch64" ]; then
|
|||
patch -p1 < $CWD/config.sub-add-aarch64-support.patch
|
||||
fi
|
||||
|
||||
patch -p1 < $CWD/gtk-murrine-engine-c99.patch
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
Loading…
Reference in a new issue