mirror of
https://gitlab.com/CinnamonSlackBuilds/csb.git
synced 2024-12-26 21:59:28 +01:00
pangox-compat: Fix build on -current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
This commit is contained in:
parent
9548e84ea5
commit
94b3634ec5
2 changed files with 18 additions and 1 deletions
15
pangox-compat/0002.patch
Normal file
15
pangox-compat/0002.patch
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;
|
||||||
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
|
|
||||||
PRGNAM=pangox-compat
|
PRGNAM=pangox-compat
|
||||||
VERSION=${VERSION:-0.0.2}
|
VERSION=${VERSION:-0.0.2}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_csb}
|
TAG=${TAG:-_csb}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -75,6 +75,8 @@ find -L . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
patch -p1 < $CWD/0002.patch
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
|
Loading…
Reference in a new issue