summaryrefslogtreecommitdiff
path: root/www/bluefish
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-11-28 14:45:39 +0000
committerrillig <rillig@pkgsrc.org>2005-11-28 14:45:39 +0000
commitf6a384af1ce9c8535629c100a1d7f7a00952690a (patch)
tree22d03414291a3e7a14ccce7319ff4dc8edacd7ad /www/bluefish
parentf2fb370f0b201b584ce82167a1ea18d483d6386b (diff)
downloadpkgsrc-f6a384af1ce9c8535629c100a1d7f7a00952690a.tar.gz
Added two patches to make the build on Solaris 8 with SunPro work.
Diffstat (limited to 'www/bluefish')
-rw-r--r--www/bluefish/distinfo4
-rw-r--r--www/bluefish/patches/patch-aa15
-rw-r--r--www/bluefish/patches/patch-ab19
3 files changed, 37 insertions, 1 deletions
diff --git a/www/bluefish/distinfo b/www/bluefish/distinfo
index 6a1c50305b5..69ccdb8868d 100644
--- a/www/bluefish/distinfo
+++ b/www/bluefish/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.12 2005/10/14 09:57:54 adam Exp $
+$NetBSD: distinfo,v 1.13 2005/11/28 14:45:39 rillig Exp $
SHA1 (bluefish-1.0.4.tar.bz2) = 502ca1c7995c13e1b5ef51dd7809ed5a6114357a
RMD160 (bluefish-1.0.4.tar.bz2) = b4a26bde66746ededc2be424a24793f235d3433a
Size (bluefish-1.0.4.tar.bz2) = 1469951 bytes
+SHA1 (patch-aa) = 0fcabd1cb8e9bd70a3a510d7ebda3ca7e18db4ee
+SHA1 (patch-ab) = 9e5e1e0f925d6c2520ebf4b7092758038880a688
diff --git a/www/bluefish/patches/patch-aa b/www/bluefish/patches/patch-aa
new file mode 100644
index 00000000000..a5a4a5d3c25
--- /dev/null
+++ b/www/bluefish/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.10 2005/11/28 14:45:39 rillig Exp $
+
+Solaris needs __EXTENSIONS__ too, otherwise struct timeval is not
+defined.
+
+--- src/document.c.orig 2005-08-11 04:19:49.000000000 +0200
++++ src/document.c 2005-11-28 15:10:38.589617800 +0100
+@@ -24,6 +24,7 @@
+ * regarding the ctime_r() function
+ * the problem is that it generates a compiler warning on Linux, lstat() undefined.. */
+ #define _POSIX_C_SOURCE 200312L
++#define __EXTENSIONS__ 1
+
+ #include <gtk/gtk.h>
+ #include <gdk/gdkkeysyms.h> /* for the keyboard event codes */
diff --git a/www/bluefish/patches/patch-ab b/www/bluefish/patches/patch-ab
new file mode 100644
index 00000000000..7846e9f7e67
--- /dev/null
+++ b/www/bluefish/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.8 2005/11/28 14:45:39 rillig Exp $
+
+The function get_metaname_from_tag() is only used in calls to DEBUG_MSG.
+With gcc, having varargs macros, the call is suppressed completely. With
+other compilers, this function is called, but never defined. The result
+is then passed to g_none(), which does not even evaluate its arguments.
+
+--- src/highlight.c.orig 2005-08-27 23:59:31.000000000 +0200
++++ src/highlight.c 2005-11-28 15:21:40.245921700 +0100
+@@ -214,6 +214,9 @@ static gboolean my_own_iter_forward_to_t
+ }
+ return FALSE;
+ }
++#else
++/* The result of this macro will not be used at all. */
++# define get_metaname_from_tag() "(get_metaname_from_tag)"
+ #endif /* DEBUG */
+
+ #ifdef HL_PROFILING