[22079] trunk/dports/sysutils/macutil

source_changes at macosforge.org source_changes at macosforge.org
Fri Feb 16 23:53:57 PST 2007


Revision: 22079
          http://trac.macosforge.org/projects/macports/changeset/22079
Author:   markd at macports.org
Date:     2007-02-16 23:53:56 -0800 (Fri, 16 Feb 2007)

Log Message:
-----------
Closes #11241.  Apply gcc4 patches.

Modified Paths:
--------------
    trunk/dports/sysutils/macutil/Portfile

Added Paths:
-----------
    trunk/dports/sysutils/macutil/files/
    trunk/dports/sysutils/macutil/files/patch-hexbin-buffer.c
    trunk/dports/sysutils/macutil/files/patch-macunpack-lzh.h

Modified: trunk/dports/sysutils/macutil/Portfile
===================================================================
--- trunk/dports/sysutils/macutil/Portfile	2007-02-17 07:38:54 UTC (rev 22078)
+++ trunk/dports/sysutils/macutil/Portfile	2007-02-17 07:53:56 UTC (rev 22079)
@@ -47,6 +47,7 @@
 worksrcdir			${name}
 
 checksums			md5 2994c01ce0cf86ef6e76e0d88b6c0f3f
+patchfiles		patch-hexbin-buffer.c   patch-macunpack-lzh.h
 
 extract.suffix		.Z
 extract.cmd			uncompress

Added: trunk/dports/sysutils/macutil/files/patch-hexbin-buffer.c
===================================================================
--- trunk/dports/sysutils/macutil/files/patch-hexbin-buffer.c	                        (rev 0)
+++ trunk/dports/sysutils/macutil/files/patch-hexbin-buffer.c	2007-02-17 07:53:56 UTC (rev 22079)
@@ -0,0 +1,18 @@
+--- hexbin/buffer.c.org        2005-02-01 23:57:21.489383480 -0600
++++ hexbin/buffer.c     2005-02-02 00:00:23.574583423 -0600
+@@ -1,12 +1,11 @@
++
++#include <stdlib.h>
++
+ #include "globals.h"
+ #include "../util/util.h"
+ #include "buffer.h"
+ #include "../fileio/wrfile.h"
+ 
+-extern char *malloc();
+-extern char *realloc();
+-extern void exit();
+-
+ char *data_fork, *rsrc_fork;
+ int data_size, rsrc_size;
+ static int max_data_size, max_rsrc_size;

Added: trunk/dports/sysutils/macutil/files/patch-macunpack-lzh.h
===================================================================
--- trunk/dports/sysutils/macutil/files/patch-macunpack-lzh.h	                        (rev 0)
+++ trunk/dports/sysutils/macutil/files/patch-macunpack-lzh.h	2007-02-17 07:53:56 UTC (rev 22079)
@@ -0,0 +1,13 @@
+--- macunpack/lzh.h.org	2005-11-10 00:34:04.000000000 -0500
++++ macunpack/lzh.h	2005-11-10 00:34:42.000000000 -0500
+@@ -58,10 +58,4 @@
+ #define	lz5	7
+ #define	lzs	8
+ 
+-extern char *lzh_pointer;
+-extern char *lzh_data;
+-extern char *lzh_finfo;
+-extern int lzh_fsize;
+-extern int lzh_kind;
+-extern char *lzh_file;
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070216/ce11a8bb/attachment.html


More information about the macports-changes mailing list