mirror of
https://gitlab.com/mateslackbuilds/msb.git
synced 2024-12-25 21:59:36 +01:00
pangox-compat: Fix build on current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
e143f37659
commit
c349b518d0
2 changed files with 18 additions and 2 deletions
15
deps/pangox-compat/0002.patch
vendored
Normal file
15
deps/pangox-compat/0002.patch
vendored
Normal 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;
|
||||
}
|
||||
|
5
deps/pangox-compat/pangox-compat.SlackBuild
vendored
5
deps/pangox-compat/pangox-compat.SlackBuild
vendored
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue