diff --git a/x11-toolkits/pangox-compat/Makefile b/x11-toolkits/pangox-compat/Makefile index 52cb317a78fb..010b13432572 100644 --- a/x11-toolkits/pangox-compat/Makefile +++ b/x11-toolkits/pangox-compat/Makefile @@ -1,27 +1,27 @@ PORTNAME= pangox-compat DISTVERSION= 0.0.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-toolkits MASTER_SITES= GNOME DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= Deprecated pangoX support WWW= https://www.pango.org/ LICENSE= LGPL20 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= pango>=1.34.0:x11-toolkits/pango USES= gmake gnome libtool localbase:ldflags pathfix pkgconfig \ tar:xz xorg USE_XORG= x11 ice USE_LDCONFIG= yes USE_GNOME= glib20 pango GNU_CONFIGURE= yes INSTALL_TARGET= install-strip .include diff --git a/x11-toolkits/pangox-compat/files/patch-basic-x.c b/x11-toolkits/pangox-compat/files/patch-basic-x.c new file mode 100644 index 000000000000..54438bc31cc2 --- /dev/null +++ b/x11-toolkits/pangox-compat/files/patch-basic-x.c @@ -0,0 +1,16 @@ +--- basic-x.c.orig 2012-08-27 23:19:32 UTC ++++ basic-x.c +@@ -556,9 +556,11 @@ basic_engine_shape (PangoEngineShape *engine G_GNUC_UN + basic_engine_shape (PangoEngineShape *engine G_GNUC_UNUSED, + PangoFont *font, + const char *text, +- gint length, ++ unsigned int length, + const PangoAnalysis *analysis, +- PangoGlyphString *glyphs) ++ PangoGlyphString *glyphs, ++ const char *paragraph_text G_GNUC_UNUSED, ++ unsigned int paragraph_length G_GNUC_UNUSED) + { + int n_chars; + int i;