pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/clearsilver Added two patches for SunPro.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4b41d1ab4e4
branches:  trunk
changeset: 516808:e4b41d1ab4e4
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Fri Jul 28 12:26:18 2006 +0000

description:
Added two patches for SunPro.

diffstat:

 www/clearsilver/distinfo         |   4 +++-
 www/clearsilver/patches/patch-ab |  17 +++++++++++++++++
 www/clearsilver/patches/patch-ac |  21 +++++++++++++++++++++
 3 files changed, 41 insertions(+), 1 deletions(-)

diffs (59 lines):

diff -r a82d8a72e962 -r e4b41d1ab4e4 www/clearsilver/distinfo
--- a/www/clearsilver/distinfo  Fri Jul 28 10:40:46 2006 +0000
+++ b/www/clearsilver/distinfo  Fri Jul 28 12:26:18 2006 +0000
@@ -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 -r a82d8a72e962 -r e4b41d1ab4e4 www/clearsilver/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/clearsilver/patches/patch-ab  Fri Jul 28 12:26:18 2006 +0000
@@ -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 -r a82d8a72e962 -r e4b41d1ab4e4 www/clearsilver/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/clearsilver/patches/patch-ac  Fri Jul 28 12:26:18 2006 +0000
@@ -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



Home | Main Index | Thread Index | Old Index