summaryrefslogtreecommitdiff
path: root/print/gv
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2015-12-03 17:34:56 +0000
committerleot <leot@pkgsrc.org>2015-12-03 17:34:56 +0000
commit7c4dcd499de036dcb862d5b925d62281a31266a4 (patch)
treecb03c0b46304561bf1e4deab88df79ec02be5863 /print/gv
parent24deb44c3fa6ff15549c6a0c74b5e4afe6601edf (diff)
downloadpkgsrc-7c4dcd499de036dcb862d5b925d62281a31266a4.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/gv')
-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)
+ }