From c349b518d0eef9a518076c32d64e2976c77335ee Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 19 Aug 2020 08:17:43 +0700 Subject: [PATCH] pangox-compat: Fix build on current. Signed-off-by: Willy Sudiarto Raharjo --- deps/pangox-compat/0002.patch | 15 +++++++++++++++ deps/pangox-compat/pangox-compat.SlackBuild | 5 +++-- 2 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 deps/pangox-compat/0002.patch diff --git a/deps/pangox-compat/0002.patch b/deps/pangox-compat/0002.patch new file mode 100644 index 0000000..87f4598 --- /dev/null +++ b/deps/pangox-compat/0002.patch @@ -0,0 +1,15 @@ +--- pangox-compat/pangox.c.orig 2020-05-04 18:31:53.421197064 -0400 ++++ pangox-compat/pangox.c 2020-05-04 18:32:41.251146923 -0400 +@@ -277,11 +277,11 @@ pango_x_font_class_init (PangoXFontClass + object_class->finalize = pango_x_font_finalize; + object_class->dispose = pango_x_font_dispose; + + font_class->describe = pango_x_font_describe; + font_class->get_coverage = pango_x_font_get_coverage; +- font_class->find_shaper = pango_x_font_find_shaper; ++ /* font_class->find_shaper = pango_x_font_find_shaper; */ + font_class->get_glyph_extents = pango_x_font_get_glyph_extents; + font_class->get_metrics = pango_x_font_get_metrics; + font_class->get_font_map = pango_x_font_get_font_map; + } + diff --git a/deps/pangox-compat/pangox-compat.SlackBuild b/deps/pangox-compat/pangox-compat.SlackBuild index 872da91..da1f461 100755 --- a/deps/pangox-compat/pangox-compat.SlackBuild +++ b/deps/pangox-compat/pangox-compat.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=pangox-compat VERSION=${VERSION:-0.0.2} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_msb} if [ -z "$ARCH" ]; then @@ -71,7 +71,6 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION - chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -79,6 +78,8 @@ 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/0002.patch + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \