aboutsummaryrefslogtreecommitdiffstats
path: root/print/gv
diff options
context:
space:
mode:
authorbf <bf@FreeBSD.org>2010-08-07 02:07:27 +0800
committerbf <bf@FreeBSD.org>2010-08-07 02:07:27 +0800
commit5307ed9243561b3e51cb4996605a1f1ffac5fd31 (patch)
tree41f70776b983b7ace778d9c16f2648e7b11d903e /print/gv
parent7a3073fcb031a2f2c767cde2cb74c6c3991ab934 (diff)
downloadfreebsd-ports-gnome-5307ed9243561b3e51cb4996605a1f1ffac5fd31.tar.gz
freebsd-ports-gnome-5307ed9243561b3e51cb4996605a1f1ffac5fd31.tar.zst
freebsd-ports-gnome-5307ed9243561b3e51cb4996605a1f1ffac5fd31.zip
-update to 3.7.1
-fix a segfault that may occur when printing [1] PR: 149066 Submitted by: Thomas Mueller <tmueller@sysgo.com> [1] Approved by: makc
Diffstat (limited to 'print/gv')
-rw-r--r--print/gv/Makefile23
-rw-r--r--print/gv/distinfo6
-rw-r--r--print/gv/files/patch-src_dialog.c13
3 files changed, 30 insertions, 12 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index 209fca812843..b54e913e3e0f 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gv
-PORTVERSION= 3.6.9
+PORTVERSION= 3.7.1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -35,14 +35,19 @@ MAN1= gv.1 gv-update-userconfig.1
INFO= gv
PLIST_FILES= bin/gv \
bin/gv-update-userconfig \
- ${DATADIR_REL}/gv_class.ad \
- ${DATADIR_REL}/gv_copyright.dat \
- ${DATADIR_REL}/gv_spartan.dat \
- ${DATADIR_REL}/gv_system.ad \
- ${DATADIR_REL}/gv_user.ad \
- ${DATADIR_REL}/gv_user_res.dat \
- ${DATADIR_REL}/gv_widgetless.dat \
+ %%DATADIR%%/gv_class.ad \
+ %%DATADIR%%/gv_copyright.dat \
+ %%DATADIR%%/gv_spartan.dat \
+ %%DATADIR%%/gv_system.ad \
+ %%DATADIR%%/gv_user.ad \
+ %%DATADIR%%/gv_user_res.dat \
+ %%DATADIR%%/gv_widgetless.dat \
+ %%DATADIR%%/safe-gs-workdir/.keep_me \
lib/X11/app-defaults/GV
-PLIST_DIRS= ${DATADIR_REL}
+PLIST_DIRS= %%DATADIR%%/safe-gs-workdir \
+ %%DATADIR%%
+
+post-install:
+ @${TOUCH} ${DATADIR}/safe-gs-workdir/.keep_me
.include <bsd.port.mk>
diff --git a/print/gv/distinfo b/print/gv/distinfo
index 42b2d97844d2..5b469888c8cd 100644
--- a/print/gv/distinfo
+++ b/print/gv/distinfo
@@ -1,3 +1,3 @@
-MD5 (gv-3.6.9.tar.gz) = c7aeb1b695db139b2b4f32084f75d8a9
-SHA256 (gv-3.6.9.tar.gz) = 6b7e7cf2a9c02c4f26ba6868b60621ec73b7459895a93a135e5bbef55627f6ac
-SIZE (gv-3.6.9.tar.gz) = 573485
+MD5 (gv-3.7.1.tar.gz) = bf4823d00d8e431f97dbcb7dd87c46ac
+SHA256 (gv-3.7.1.tar.gz) = da87e10a4f3c4e9209077eab019ec71ad1bcfc8f19146146207cef4ee5b88114
+SIZE (gv-3.7.1.tar.gz) = 747166
diff --git a/print/gv/files/patch-src_dialog.c b/print/gv/files/patch-src_dialog.c
new file mode 100644
index 000000000000..a7fb24c058bc
--- /dev/null
+++ b/print/gv/files/patch-src_dialog.c
@@ -0,0 +1,13 @@
+--- src/dialog.c.orig 2010-08-05 22:59:56.000000000 -0400
++++ src/dialog.c 2010-08-05 23:02:34.000000000 -0400
+@@ -292,9 +292,9 @@
+ if (!s) {INFMESSAGE(no text) ENDMESSAGE(DialogPopupSetText) return;}
+ if (!dialogPopupCreated) makeDialogPopup();
+ response = XtNameToWidget(DIALOG_POPUP, "*dialog_text");
++ n=0;
+ #ifdef HAVE_XAW3D_INTERNATIONAL
+ vw = (VlistWidget)response;
+- n=0;
+ if( vw->simple.international == True ) {
+ XtSetArg(args[n], XtNfontSet, &fontset); n++;
+ } else {