pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/libxfce4util Compilers other than GCC usually don'...
details: https://anonhg.NetBSD.org/pkgsrc/rev/96d2fac412e0
branches: trunk
changeset: 521949:96d2fac412e0
user: rillig <rillig%pkgsrc.org@localhost>
date: Tue Nov 28 19:20:34 2006 +0000
description:
Compilers other than GCC usually don't know the ({ ... }) construct.
diffstat:
x11/libxfce4util/distinfo | 3 ++-
x11/libxfce4util/patches/patch-aa | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletions(-)
diffs (39 lines):
diff -r 628563dbac30 -r 96d2fac412e0 x11/libxfce4util/distinfo
--- a/x11/libxfce4util/distinfo Tue Nov 28 18:57:25 2006 +0000
+++ b/x11/libxfce4util/distinfo Tue Nov 28 19:20:34 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.14 2005/11/17 08:16:19 martti Exp $
+$NetBSD: distinfo,v 1.15 2006/11/28 19:20:34 rillig Exp $
SHA1 (libxfce4util-4.2.3.2.tar.gz) = b214a3fe7c2f65fd95874202fee59dae942fb60f
RMD160 (libxfce4util-4.2.3.2.tar.gz) = 911f30b2bc7ea03fca324a1b3a88cf68da062acd
Size (libxfce4util-4.2.3.2.tar.gz) = 469106 bytes
+SHA1 (patch-aa) = 3d2614faf06aef7885c335a78310561c67592326
diff -r 628563dbac30 -r 96d2fac412e0 x11/libxfce4util/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libxfce4util/patches/patch-aa Tue Nov 28 19:20:34 2006 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-aa,v 1.3 2006/11/28 19:20:34 rillig Exp $
+
+No, it's not ok. Except for GNU C.
+
+--- libxfce4util/xfce-miscutils.h.orig 2005-11-15 12:59:47.000000000 +0100
++++ libxfce4util/xfce-miscutils.h 2006-11-28 20:11:55.609975108 +0100
+@@ -32,12 +32,11 @@
+
+ #include <libxfce4util/debug.h>
+
+-/* This looks a bit "hacky", but its ok */
+-#define _BUILTIN_LICENSE_TEXT(name) \
+-({ \
+- extern const char xfce_builtin_license_##name[]; \
+- xfce_builtin_license_##name; \
+-})
++extern const char xfce_builtin_license_BSD[];
++extern const char xfce_builtin_license_GPL[];
++extern const char xfce_builtin_license_LGPL[];
++
++#define _BUILTIN_LICENSE_TEXT(name) xfce_builtin_license_##name
+
+ #define XFCE_LICENSE_BSD _BUILTIN_LICENSE_TEXT(BSD)
+
Home |
Main Index |
Thread Index |
Old Index