diff options
author | kristerw <kristerw@pkgsrc.org> | 2005-11-19 16:24:57 +0000 |
---|---|---|
committer | kristerw <kristerw@pkgsrc.org> | 2005-11-19 16:24:57 +0000 |
commit | 2f31f386ce98de8ad38c69abb44b3f0b78956d0d (patch) | |
tree | 551da98c333ac9dc2644e243aa23264d960137aa /sysutils/gnome-vfs2 | |
parent | 9c6272d29c22ebe510a72241133bb2c600098e95 (diff) | |
download | pkgsrc-2f31f386ce98de8ad38c69abb44b3f0b78956d0d.tar.gz |
Fix a build problem on OS X ('uint32_t' undeclared) using a patch from
the upstrems repository.
Diffstat (limited to 'sysutils/gnome-vfs2')
-rw-r--r-- | sysutils/gnome-vfs2/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gnome-vfs2/patches/patch-ac | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/gnome-vfs2/distinfo b/sysutils/gnome-vfs2/distinfo index 813ddda4bb3..84001302252 100644 --- a/sysutils/gnome-vfs2/distinfo +++ b/sysutils/gnome-vfs2/distinfo @@ -1,10 +1,11 @@ -$NetBSD: distinfo,v 1.42 2005/10/07 16:10:44 drochner Exp $ +$NetBSD: distinfo,v 1.43 2005/11/19 16:24:57 kristerw Exp $ SHA1 (gnome-vfs-2.12.1.1.tar.bz2) = 48e484663f0d0f5e2a858d2f6e6a5a702e831734 RMD160 (gnome-vfs-2.12.1.1.tar.bz2) = b96cd620ce60131c0ff467fd277d89ac76419e09 Size (gnome-vfs-2.12.1.1.tar.bz2) = 1726588 bytes SHA1 (patch-aa) = a5a3ac6be3e2a888eaaab108807d2aff651e62db SHA1 (patch-ab) = 6320180870f234a150dfe40f8f990deec7a2a0b5 +SHA1 (patch-ac) = b34fe25b6881aeb91ac2e36db82234347a0f655b SHA1 (patch-ad) = fe233b03b0fc97f7bd34b29d79fef38f900365f4 SHA1 (patch-ae) = 572b40dfa035dab5ef374aa73d2acacfcb72d641 SHA1 (patch-af) = 6724c4a43d0d9525f5361ba7380c91adbf656e56 diff --git a/sysutils/gnome-vfs2/patches/patch-ac b/sysutils/gnome-vfs2/patches/patch-ac new file mode 100644 index 00000000000..23fb631a579 --- /dev/null +++ b/sysutils/gnome-vfs2/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.7 2005/11/19 16:24:57 kristerw Exp $ + +--- libgnomevfs/xdgmimecache.c.orig 2005-11-19 16:35:49.000000000 +0100 ++++ libgnomevfs/xdgmimecache.c 2005-11-19 16:36:26.000000000 +0100 +@@ -79,8 +79,8 @@ + char *buffer; + }; + +-#define GET_UINT16(cache,offset) (ntohs(*(uint16_t*)((cache) + (offset)))) +-#define GET_UINT32(cache,offset) (ntohl(*(uint32_t*)((cache) + (offset)))) ++#define GET_UINT16(cache,offset) (ntohs(*(xdg_uint16_t*)((cache) + (offset)))) ++#define GET_UINT32(cache,offset) (ntohl(*(xdg_uint32_t*)((cache) + (offset)))) + + XdgMimeCache * + _xdg_mime_cache_ref (XdgMimeCache *cache) |