summaryrefslogtreecommitdiff
path: root/graphics/xpaint
diff options
context:
space:
mode:
authorgsutre <gsutre>2013-08-15 00:05:44 +0000
committergsutre <gsutre>2013-08-15 00:05:44 +0000
commitc4fd04f2c349f29cf4fff5659b796aaaa40bad4e (patch)
treeb734720899af8a4efb8873b2f95930f1e695cba2 /graphics/xpaint
parent3f89cbe527e854808a98e57a30b0bebd4b98d83a (diff)
downloadpkgsrc-c4fd04f2c349f29cf4fff5659b796aaaa40bad4e.tar.gz
Protect /* in bitmaps/Imakefile so that imake does not mistake it for
the start of a comment.
Diffstat (limited to 'graphics/xpaint')
-rw-r--r--graphics/xpaint/distinfo3
-rw-r--r--graphics/xpaint/patches/patch-bitmaps_Imakefile19
2 files changed, 21 insertions, 1 deletions
diff --git a/graphics/xpaint/distinfo b/graphics/xpaint/distinfo
index 2493e0dcaf5..105d677e81e 100644
--- a/graphics/xpaint/distinfo
+++ b/graphics/xpaint/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.23 2012/10/24 15:38:43 joerg Exp $
+$NetBSD: distinfo,v 1.24 2013/08/15 00:05:44 gsutre Exp $
SHA1 (xpaint-2.7.8.1.tar.bz2) = d225254cc15cbc166c392b112b57104657a33aaa
RMD160 (xpaint-2.7.8.1.tar.bz2) = 8efca6ff71df8635b8ed50e0c6db2b81f2e068cf
@@ -11,5 +11,6 @@ SHA1 (patch-ae) = 5ecb812e962701a6d5f068bb7744c5115b2eb263
SHA1 (patch-af) = 73f1289ca104f4c53e8d184251d5a84c5c1ec7ab
SHA1 (patch-ag) = a8eba89d7389a3e0b0973bf3a3c25a76ae7e0d84
SHA1 (patch-ai) = 38f3532befe2c58cc11d0e055765b6098bbdd9f5
+SHA1 (patch-bitmaps_Imakefile) = c9d566999b13b10e3f7d7d7a60c34ef520597117
SHA1 (patch-image_h) = 5e8afa76bdd58cd747c13662e0a37fcf5a62256e
SHA1 (patch-rw_readWritePS.c) = f56b512e888821134d2f7548741a33f0f8b886fd
diff --git a/graphics/xpaint/patches/patch-bitmaps_Imakefile b/graphics/xpaint/patches/patch-bitmaps_Imakefile
new file mode 100644
index 00000000000..5a2ef522880
--- /dev/null
+++ b/graphics/xpaint/patches/patch-bitmaps_Imakefile
@@ -0,0 +1,19 @@
+$NetBSD: patch-bitmaps_Imakefile,v 1.1 2013/08/15 00:05:44 gsutre Exp $
+
+Really protect /* in the assignment of SRCS. Fixes the following error:
+
+making Makefiles in bitmaps...
+ mv -f Makefile Makefile.bak
+In file included from /usr/pkg/lib/X11/config/Imake.tmpl:2170:0,
+ from Imakefile.c:16:
+./Imakefile:2:0: error: unterminated comment
+
+--- bitmaps/Imakefile.orig 2002-11-14 10:09:21.000000000 +0000
++++ bitmaps/Imakefile
+@@ -1,5 +1,5 @@
+ MISC = Imakefile
+-SRCS = *\/*
++SRCS = *'/'*
+
+ makelist:
+ sh -c 'for i in '"$(TEXT) $(SRCS) $(MISC) $(HDRS)"' ; do \