svn commit: r372216 - in head/net-p2p/gtkhx: . files

Stephen Hurd shurd at FreeBSD.org
Thu Nov 6 06:58:11 UTC 2014


Author: shurd
Date: Thu Nov  6 06:58:10 2014
New Revision: 372216
URL: https://svnweb.freebsd.org/changeset/ports/372216
QAT: https://qat.redports.org/buildarchive/r372216/

Log:
  Add patch to fix icon file parsing on 64-bit systems.
  
  Submitted by:	shurd

Added:
  head/net-p2p/gtkhx/files/patch-src__cicn.h   (contents, props changed)
Modified:
  head/net-p2p/gtkhx/Makefile

Modified: head/net-p2p/gtkhx/Makefile
==============================================================================
--- head/net-p2p/gtkhx/Makefile	Thu Nov  6 04:54:48 2014	(r372215)
+++ head/net-p2p/gtkhx/Makefile	Thu Nov  6 06:58:10 2014	(r372216)
@@ -3,7 +3,7 @@
 
 PORTNAME=	gtkhx
 PORTVERSION=	0.9.4
-PORTREVISION=	7
+PORTREVISION=	8
 CATEGORIES=	net-p2p
 MASTER_SITES=	SF
 

Added: head/net-p2p/gtkhx/files/patch-src__cicn.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/gtkhx/files/patch-src__cicn.h	Thu Nov  6 06:58:10 2014	(r372216)
@@ -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 */


More information about the svn-ports-head mailing list