summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2006-07-28 12:26:18 +0000
committerrillig <rillig@pkgsrc.org>2006-07-28 12:26:18 +0000
commit2eff39b815e199ddf6ef20171e2e29ef1720ce1f (patch)
tree25705d670f82c1377ddc9e5477919e17ce2f3a9d /www
parent00b11d4ce4dc2ba7391e5c2b8cefb35507834bd6 (diff)
downloadpkgsrc-2eff39b815e199ddf6ef20171e2e29ef1720ce1f.tar.gz
Added two patches for SunPro.
Diffstat (limited to 'www')
-rw-r--r--www/clearsilver/distinfo4
-rw-r--r--www/clearsilver/patches/patch-ab17
-rw-r--r--www/clearsilver/patches/patch-ac21
3 files changed, 41 insertions, 1 deletions
diff --git a/www/clearsilver/distinfo b/www/clearsilver/distinfo
index c06ce33fb6e..5b4cf772fe5 100644
--- a/www/clearsilver/distinfo
+++ b/www/clearsilver/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.9 2005/10/29 19:29:52 epg Exp $
+$NetBSD: distinfo,v 1.10 2006/07/28 12:26:18 rillig Exp $
SHA1 (clearsilver-0.10.1.tar.gz) = d18d2b65b8a8f0e7077feb8b6c358519c4113e97
RMD160 (clearsilver-0.10.1.tar.gz) = de13a6a58d80b896fe245b5d2d0a0f391390dfd3
Size (clearsilver-0.10.1.tar.gz) = 563655 bytes
SHA1 (patch-aa) = a336841bb190e179842b88694791303bcde211de
+SHA1 (patch-ab) = ee7c06f394551237ae542f8ae284c248cd1cc67f
+SHA1 (patch-ac) = fde24cd5f749180da01217d793e7f7feec86df35
diff --git a/www/clearsilver/patches/patch-ab b/www/clearsilver/patches/patch-ab
new file mode 100644
index 00000000000..d8e09b3db1d
--- /dev/null
+++ b/www/clearsilver/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.3 2006/07/28 12:26:18 rillig Exp $
+
+We don't need the dependencies for building the package once.
+Additionally, not every compiler understands the -MG option.
+
+--- rules.mk.in.orig 2005-07-03 02:13:51.000000000 +0200
++++ rules.mk.in 2006-07-28 13:19:38.529610934 +0200
+@@ -141,9 +141,6 @@ Makefile.depends: $(NEOTONIC_ROOT)/rules
+ @echo "** OSNAME: $(OSTYPE)"
+ @rm -f Makefile.depends
+ @touch Makefile.depends
+- @for II in `find . -maxdepth 1 -name "*.c" -print`; do \
+- gcc -M -MG ${CFLAGS} $$II >> Makefile.depends; \
+- done;
+ @echo "** (done) "
+
+ DEPEND_FILE := $(shell find . -name Makefile.depends -print)
diff --git a/www/clearsilver/patches/patch-ac b/www/clearsilver/patches/patch-ac
new file mode 100644
index 00000000000..f979319f33f
--- /dev/null
+++ b/www/clearsilver/patches/patch-ac
@@ -0,0 +1,21 @@
+$NetBSD: patch-ac,v 1.1 2006/07/28 12:26:18 rillig Exp $
+
+__PRETTY_FUNCTION__ is a GNUism.
+
+--- util/neo_err.h.orig 2005-06-30 20:59:37.000000000 +0200
++++ util/neo_err.h 2006-07-28 13:22:03.890389580 +0200
+@@ -54,6 +54,14 @@ typedef struct _neo_err
+ } NEOERR;
+
+
++#if defined(__GNUC__)
++/* GNU C provides __PRETTY_FUNCTION__ */
++#elif defined(__SUNPRO_C)
++# define __PRETTY_FUNCTION__ __func__
++#else
++# define __PRETTY_FUNCTION__ "(function name)"
++#endif
++
+ /*
+ * function: nerr_raise
+ * description: Use this method to create an error "exception" for