diff options
author | shurd <shurd@FreeBSD.org> | 2014-11-06 14:58:10 +0800 |
---|---|---|
committer | shurd <shurd@FreeBSD.org> | 2014-11-06 14:58:10 +0800 |
commit | 4f0c1adc589077bf696d31f77d69033eae07d91f (patch) | |
tree | 61a41ef5d7ebf2dfed5b6089245af42fdc50c709 | |
parent | 0d6d51661e09e7054fdd818834ee2ba79e5a4885 (diff) | |
download | freebsd-ports-gnome-4f0c1adc589077bf696d31f77d69033eae07d91f.tar.gz freebsd-ports-gnome-4f0c1adc589077bf696d31f77d69033eae07d91f.tar.zst freebsd-ports-gnome-4f0c1adc589077bf696d31f77d69033eae07d91f.zip |
Add patch to fix icon file parsing on 64-bit systems.
Submitted by: shurd
-rw-r--r-- | net-p2p/gtkhx/Makefile | 2 | ||||
-rw-r--r-- | net-p2p/gtkhx/files/patch-src__cicn.h | 23 |
2 files changed, 24 insertions, 1 deletions
diff --git a/net-p2p/gtkhx/Makefile b/net-p2p/gtkhx/Makefile index 8b2610c4845b..4fc66125bed2 100644 --- a/net-p2p/gtkhx/Makefile +++ b/net-p2p/gtkhx/Makefile @@ -3,7 +3,7 @@ PORTNAME= gtkhx PORTVERSION= 0.9.4 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= net-p2p MASTER_SITES= SF diff --git a/net-p2p/gtkhx/files/patch-src__cicn.h b/net-p2p/gtkhx/files/patch-src__cicn.h new file mode 100644 index 000000000000..9b4b6ec77043 --- /dev/null +++ b/net-p2p/gtkhx/files/patch-src__cicn.h @@ -0,0 +1,23 @@ +--- src/cicn.h.orig 2014-11-05 22:52:21.000000000 -0800 ++++ src/cicn.h 2014-11-05 22:54:42.000000000 -0800 +@@ -1,7 +1,9 @@ ++#include <inttypes.h> ++ + #define TYPE_cicn 0x6369636e + +-typedef void *Ptr; +-typedef void **Handle; ++typedef uint32_t Ptr; ++typedef uint32_t Handle; + typedef guint32 Fixed; + + struct Rect { +@@ -39,7 +41,7 @@ + }; + + typedef struct ColorTable ColorTable; +-typedef ColorTable *CTabPtr, **CTabHandle; ++typedef uint32_t CTabHandle; + + struct PixMap { + Ptr baseAddr PACKED; /* pointer to pixels */ |