diff options
author | sketch <sketch@pkgsrc.org> | 2003-12-17 14:59:16 +0000 |
---|---|---|
committer | sketch <sketch@pkgsrc.org> | 2003-12-17 14:59:16 +0000 |
commit | a364dd621e393e69fd9467a4336c99223d16784c (patch) | |
tree | b5a5c179f967d9f9d219e626fc299fe04182a1ef /x11 | |
parent | 576bc192fee6046fe20f9164aa94fbaf904f9406 (diff) | |
download | pkgsrc-a364dd621e393e69fd9467a4336c99223d16784c.tar.gz |
Use __func__ instead of __FUNCTION__ to give this package a better
chance of building with non-GCC compilers.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/startup-notification/distinfo | 3 | ||||
-rw-r--r-- | x11/startup-notification/patches/patch-aa | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/x11/startup-notification/distinfo b/x11/startup-notification/distinfo index 02bb7c922c6..35fe0e369c5 100644 --- a/x11/startup-notification/distinfo +++ b/x11/startup-notification/distinfo @@ -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 --git a/x11/startup-notification/patches/patch-aa b/x11/startup-notification/patches/patch-aa new file mode 100644 index 00000000000..1bd989a7a42 --- /dev/null +++ b/x11/startup-notification/patches/patch-aa @@ -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) + |