summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorleot <leot>2015-12-03 17:34:56 +0000
committerleot <leot>2015-12-03 17:34:56 +0000
commitf4125d0357a780a749da64e82783285c6293136f (patch)
treecb03c0b46304561bf1e4deab88df79ec02be5863 /print
parentc1224c7aad4124261a766971b9249298d33870f0 (diff)
downloadpkgsrc-f4125d0357a780a749da64e82783285c6293136f.tar.gz
Fix build for XAW_TYPE xpm and bump PKGREVISION.
Despite the upstream commit message in patch-src_Scrollbar.c the change not only fix the build for older libXaw3d versions but also for Xaw-Xpm.
Diffstat (limited to 'print')
-rw-r--r--print/gv/Makefile4
-rw-r--r--print/gv/distinfo3
-rw-r--r--print/gv/patches/patch-src_Scrollbar.c20
3 files changed, 24 insertions, 3 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index 18fac22ac71..f20d952f267 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.82 2015/10/14 20:17:27 wiz Exp $
+# $NetBSD: Makefile,v 1.83 2015/12/03 17:34:56 leot Exp $
DISTNAME= gv-3.7.4
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_GNU:=gv/}
diff --git a/print/gv/distinfo b/print/gv/distinfo
index 0f1fda15e30..03ff11d86b5 100644
--- a/print/gv/distinfo
+++ b/print/gv/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.21 2015/11/04 01:01:33 agc Exp $
+$NetBSD: distinfo,v 1.22 2015/12/03 17:34:56 leot Exp $
SHA1 (gv-3.7.4.tar.gz) = d5bc11a37136dff69248f943a632544a4036b63f
RMD160 (gv-3.7.4.tar.gz) = 2347f27d6caaf4a6791f0f3d8fddf208f10efd66
SHA512 (gv-3.7.4.tar.gz) = f6dc072b6b72b6c543733501c719aa38c81a2e2fc63fbf1459b8a3a50a1a70eca9fc9def2fbeb51cb7bb81cfc3b20f136732d935740693bf541d7135975df648
Size (gv-3.7.4.tar.gz) = 759287 bytes
SHA1 (patch-aa) = de9dff87b4a064dda2ac2cd949cf78c8c2349e2e
+SHA1 (patch-src_Scrollbar.c) = 575b4691d0497a719e9e934fe2914eb337ffb87e
diff --git a/print/gv/patches/patch-src_Scrollbar.c b/print/gv/patches/patch-src_Scrollbar.c
new file mode 100644
index 00000000000..a69cbcd184d
--- /dev/null
+++ b/print/gv/patches/patch-src_Scrollbar.c
@@ -0,0 +1,20 @@
+$NetBSD: patch-src_Scrollbar.c,v 1.1 2015/12/03 17:34:56 leot Exp $
+
+Fix compilation error with Xaw-Xpm:
+
+ http://git.savannah.gnu.org/cgit/gv.git/commit/gv/src?id=0155aaac7a2e87e253f9203944808388ecffe9a3
+
+--- src/Scrollbar.c.orig 2012-04-01 14:43:24.000000000 +0000
++++ src/Scrollbar.c
+@@ -1006,7 +1006,11 @@ static void Redisplay(Widget w, XEvent *
+ TOPLOC = newtop;
+ SHOWNLENGTH = newbot-newtop+1;
+
++#if defined(XtRRelief)
+ (*swclass->threeD_class.shadowdraw) (w, event, region, sbw->threeD.relief, FALSE);
++#else
++ (*swclass->threeD_class.shadowdraw) (w, event, region, FALSE);
++#endif
+
+ ENDMESSAGE(Redisplay)
+ }