pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/startup-notification Use __func__ instead of __FUN...
details: https://anonhg.NetBSD.org/pkgsrc/rev/635da9db786b
branches: trunk
changeset: 464896:635da9db786b
user: sketch <sketch%pkgsrc.org@localhost>
date: Wed Dec 17 14:59:16 2003 +0000
description:
Use __func__ instead of __FUNCTION__ to give this package a better
chance of building with non-GCC compilers.
diffstat:
x11/startup-notification/distinfo | 3 ++-
x11/startup-notification/patches/patch-aa | 22 ++++++++++++++++++++++
2 files changed, 24 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r 275367bd7589 -r 635da9db786b x11/startup-notification/distinfo
--- a/x11/startup-notification/distinfo Wed Dec 17 14:55:58 2003 +0000
+++ b/x11/startup-notification/distinfo Wed Dec 17 14:59:16 2003 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/04/11 11:25:53 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2003/12/17 14:59:16 sketch Exp $
SHA1 (startup-notification-0.5.tar.bz2) = 54ae80d94e608c0bcecd0f9f1c85fd7ab4f48740
Size (startup-notification-0.5.tar.bz2) = 156294 bytes
+SHA1 (patch-aa) = 7ac5a73bd27ca2210b7ee5160b70d9e70b7ed4a2
diff -r 275367bd7589 -r 635da9db786b x11/startup-notification/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/startup-notification/patches/patch-aa Wed Dec 17 14:59:16 2003 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-aa,v 1.1 2003/12/17 14:59:16 sketch Exp $
+
+--- libsn/sn-launcher.c.orig 2003-12-16 16:58:09.089918618 +0000
++++ libsn/sn-launcher.c 2003-12-16 16:58:36.533023772 +0000
+@@ -176,7 +176,7 @@
+ if (context->startup_id != NULL)
+ {
+ fprintf (stderr, "%s called twice for the same SnLaunchContext\n",
+- __FUNCTION__);
++ __func__);
+ return;
+ }
+
+@@ -362,7 +362,7 @@
+ /* FIXME use something pluggable, not fprintf */
+ #define WARN_ALREADY_INITIATED(context) do { if ((context)->startup_id != NULL) { \
+ fprintf (stderr, "%s called for an SnLauncherContext that has already been initiated\n", \
+- __FUNCTION__); \
++ __func__); \
+ return; \
+ } } while (0)
+
Home |
Main Index |
Thread Index |
Old Index