diff options
author | rillig <rillig> | 2005-12-05 07:52:49 +0000 |
---|---|---|
committer | rillig <rillig> | 2005-12-05 07:52:49 +0000 |
commit | 8ee2252112e96f0cfce51efed109e4277c8c16d5 (patch) | |
tree | 85be3fc6b6d45c5ff371a01262c30753b16ea6e5 | |
parent | fa70c0f4754d9f3e6765ff278f93a7d2aad4f0ad (diff) | |
download | pkgsrc-8ee2252112e96f0cfce51efed109e4277c8c16d5.tar.gz |
Added patch-ax, which fixes PR 30948. The SunPro compiler does not know the
__FUNCTION__ macro, but knows the __func__ identifier.
-rw-r--r-- | sysutils/gnome-vfs2/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-vfs2/patches/patch-ax | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/gnome-vfs2/distinfo b/sysutils/gnome-vfs2/distinfo index 84001302252..65ac94c2b37 100644 --- a/sysutils/gnome-vfs2/distinfo +++ b/sysutils/gnome-vfs2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.43 2005/11/19 16:24:57 kristerw Exp $ +$NetBSD: distinfo,v 1.44 2005/12/05 07:52:49 rillig Exp $ SHA1 (gnome-vfs-2.12.1.1.tar.bz2) = 48e484663f0d0f5e2a858d2f6e6a5a702e831734 RMD160 (gnome-vfs-2.12.1.1.tar.bz2) = b96cd620ce60131c0ff467fd277d89ac76419e09 @@ -18,3 +18,4 @@ SHA1 (patch-aq) = 1d5ed4d6c1b3a282e68bedf6892fa8a9678ea39b SHA1 (patch-ar) = 99c99d0d90ed7a0d804b349f532d3a17c780d506 SHA1 (patch-au) = e3c681dd445d0774981a50eb22ae14ff4db5902c SHA1 (patch-aw) = 22801eb932f8f7e7256be3863fcd5273a7a5213e +SHA1 (patch-ax) = a8bea4b2f4432506e9d4407beaaa2e3655ca6235 diff --git a/sysutils/gnome-vfs2/patches/patch-ax b/sysutils/gnome-vfs2/patches/patch-ax new file mode 100644 index 00000000000..f9f7d837dee --- /dev/null +++ b/sysutils/gnome-vfs2/patches/patch-ax @@ -0,0 +1,15 @@ +$NetBSD: patch-ax,v 1.1 2005/12/05 07:52:49 rillig Exp $ + +--- libgnomevfs/gnome-vfs-mime-handlers.c.orig 2005-05-26 14:25:10.000000000 +0200 ++++ libgnomevfs/gnome-vfs-mime-handlers.c 2005-12-05 08:49:19.899254800 +0100 +@@ -40,6 +40,10 @@ + + #define GCONF_DEFAULT_VIEWER_EXEC_PATH "/desktop/gnome/applications/component_viewer/exec" + ++#ifdef __SUNPRO_C ++#define __FUNCTION__ __func__ ++#endif ++ + #define MIXED_API_WARNING "Cannot call %s with a GNOMEVFSMimeApplication structure "\ + "constructed by the deprecated application registry", \ + __FUNCTION__ |