pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/bluefish Added two patches to make the build on So...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fc4c99a48d32
branches:  trunk
changeset: 503751:fc4c99a48d32
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Nov 28 14:45:39 2005 +0000

description:
Added two patches to make the build on Solaris 8 with SunPro work.

diffstat:

 www/bluefish/distinfo         |   4 +++-
 www/bluefish/patches/patch-aa |  15 +++++++++++++++
 www/bluefish/patches/patch-ab |  19 +++++++++++++++++++
 3 files changed, 37 insertions(+), 1 deletions(-)

diffs (54 lines):

diff -r a625cdcf8352 -r fc4c99a48d32 www/bluefish/distinfo
--- a/www/bluefish/distinfo     Mon Nov 28 14:41:42 2005 +0000
+++ b/www/bluefish/distinfo     Mon Nov 28 14:45:39 2005 +0000
@@ -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 -r a625cdcf8352 -r fc4c99a48d32 www/bluefish/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bluefish/patches/patch-aa     Mon Nov 28 14:45:39 2005 +0000
@@ -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 -r a625cdcf8352 -r fc4c99a48d32 www/bluefish/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/bluefish/patches/patch-ab     Mon Nov 28 14:45:39 2005 +0000
@@ -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



Home | Main Index | Thread Index | Old Index