pangox-compat: Fix build on -current.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
Willy Sudiarto Raharjo 2020-08-19 18:29:19 +07:00
parent 9548e84ea5
commit 94b3634ec5
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 18 additions and 1 deletions

15
pangox-compat/0002.patch Normal file
View file

@ -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;
}

View file

@ -27,7 +27,7 @@
PRGNAM=pangox-compat
VERSION=${VERSION:-0.0.2}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_csb}
if [ -z "$ARCH" ]; then
@ -75,6 +75,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 \