ports/85936: [PATCH] archivers/p5-Compress-Zlib: update to 1.38
Yen-Ming Lee
leeym at FreeBSD.org
Sat Sep 10 04:10:23 UTC 2005
>Number: 85936
>Category: ports
>Synopsis: [PATCH] archivers/p5-Compress-Zlib: update to 1.38
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 10 04:10:14 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Yen-Ming Lee
>Release: FreeBSD 5.4-STABLE i386
>Organization:
FreeBSD Taiwan
>Environment:
System: FreeBSD utopia.leeym.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Wed Aug 31 08:25:05 CST 2005
>Description:
- Update to 1.38
Added file(s):
- files/patch-Zlib.xs
Note:
The new added dTHX related stuff in 1.38 will break the build on perl-5.00503,
so I removed it. It looks Okay, however, I'm not sure if it's a good solution.
If you have better solution, please ignore my patch.
Port maintainer (demon at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- p5-Compress-Zlib-1.38.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/archivers/p5-Compress-Zlib/Makefile,v
retrieving revision 1.38
diff -u -u -r1.38 Makefile
--- Makefile 5 Sep 2005 18:48:04 -0000 1.38
+++ Makefile 10 Sep 2005 04:00:50 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= Compress-Zlib
-PORTVERSION= 1.37
+PORTVERSION= 1.38
CATEGORIES= archivers perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Compress
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/archivers/p5-Compress-Zlib/distinfo,v
retrieving revision 1.19
diff -u -u -r1.19 distinfo
--- distinfo 5 Sep 2005 18:48:04 -0000 1.19
+++ distinfo 10 Sep 2005 04:00:50 -0000
@@ -1,2 +1,2 @@
-MD5 (Compress-Zlib-1.37.tar.gz) = d2333c3271378bc004a35d4ca330bfee
-SIZE (Compress-Zlib-1.37.tar.gz) = 151417
+MD5 (Compress-Zlib-1.38.tar.gz) = 5435fff9891f0795b0a10f1f2a62a193
+SIZE (Compress-Zlib-1.38.tar.gz) = 151677
Index: files/patch-Zlib.xs
===================================================================
RCS file: files/patch-Zlib.xs
diff -N files/patch-Zlib.xs
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-Zlib.xs 10 Sep 2005 04:00:50 -0000
@@ -0,0 +1,37 @@
+--- Zlib.xs.orig Sun Aug 21 07:26:37 2005
++++ Zlib.xs Sat Sep 10 11:55:58 2005
+@@ -44,10 +44,6 @@
+ # define newSVuv newSViv
+ #endif
+
+-#ifndef dTHX
+-# define dTHX
+-#endif
+-
+ typedef struct di_stream {
+ z_stream stream;
+ uLong bufsize;
+@@ -125,7 +121,6 @@
+ int error_no ;
+ #endif
+ {
+- dTHX;
+ char * errstr ;
+ SV * gzerror_sv = perl_get_sv(GZERRNO, FALSE) ;
+
+@@ -266,7 +261,6 @@
+ SV * output ;
+ #endif
+ {
+- dTHX;
+ SV * store = file->buffer ;
+ char *nl = "\n";
+ char *p;
+@@ -320,7 +314,6 @@
+ char * string;
+ #endif
+ {
+- dTHX;
+ if (SvROK(sv)) {
+ sv = SvRV(sv) ;
+ switch(SvTYPE(sv)) {
--- p5-Compress-Zlib-1.38.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list