aboutsummaryrefslogtreecommitdiffstats
path: root/print/libgnomeprint
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2007-07-30 00:15:02 +0800
committermezz <mezz@FreeBSD.org>2007-07-30 00:15:02 +0800
commit0c2e2693df78231c84fd2102d78bb33edc7b2bf8 (patch)
tree127ec1e88766f89a71a7b6d8ca787797d2d551eb /print/libgnomeprint
parent723e9480ec10cc503451111b53298752aca40518 (diff)
downloadfreebsd-ports-gnome-0c2e2693df78231c84fd2102d78bb33edc7b2bf8.tar.gz
freebsd-ports-gnome-0c2e2693df78231c84fd2102d78bb33edc7b2bf8.tar.zst
freebsd-ports-gnome-0c2e2693df78231c84fd2102d78bb33edc7b2bf8.zip
Fix the crash in a few apps by correct the spell, UTF8 -> UTF-8, when try to
print with cups. Bump the PORTREVISION. Submitted by: marcus
Diffstat (limited to 'print/libgnomeprint')
-rw-r--r--print/libgnomeprint/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile
index 10ea3b6f891e..9aef0f835b80 100644
--- a/print/libgnomeprint/Makefile
+++ b/print/libgnomeprint/Makefile
@@ -8,7 +8,7 @@
PORTNAME= libgnomeprint
PORTVERSION= 2.18.0
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= print gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
@@ -61,6 +61,8 @@ post-patch:
's|<malloc[.]h>|<stdlib.h>|'
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||" ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e "/^SUBDIRS =/s|doc||" ${WRKSRC}/Makefile.in
+ @${REINPLACE_CMD} -e 's|UTF8|UTF-8|g' \
+ ${WRKSRC}/libgnomeprint/modules/cups/gnome-print-cups.c
post-install:
@${MKDIR} ${PREFIX}/etc/gnome/libgnomeprint-2.0/fonts