FreeBSD Bugzilla – Attachment 135153 Details for
Bug 179937
[PATCH] Update archivers/pigz to 2.3
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch1.txt
patch1.txt (text/plain; charset=us-ascii), 2.83 KB, created by
Alex Kozlov
on 2013-06-26 13:47:54 UTC
(
hide
)
Description:
patch1.txt
Filename:
MIME Type:
Creator:
Alex Kozlov
Created:
2013-06-26 13:47:54 UTC
Size:
2.83 KB
patch
obsolete
>- Update to 2.3 >- Remove hardcoded GFLAGS >- Convert Makefile headers to new style >- Use single space after WWW in pkg-descr >Index: archivers/pigz/Makefile >@@ -1,12 +1,8 @@ >-# New ports collection makefile for: pigz >-# Date created: 2008-06-06 >-# Whom: Gea-Suan Lin <gslin@gslin.org> >-# >+# Created by: Gea-Suan Lin <gslin@gslin.org> > # $FreeBSD: ports/archivers/pigz/Makefile,v 1.8 2012/11/17 05:54:23 svnexp Exp $ >-# > > PORTNAME= pigz >-PORTVERSION= 2.2.5 >+PORTVERSION= 2.3 > CATEGORIES= archivers > MASTER_SITES= http://www.zlib.net/pigz/ \ > http://freebsd.unixfreunde.de/sources/ >@@ -14,10 +10,15 @@ > MAINTAINER= gslin@gslin.org > COMMENT= Parallel GZIP > >+USE_GMAKE= yes >+ > .if !defined(NO_INSTALL_MANPAGES) > MAN1= pigz.1 > .endif > >+post-patch: >+ ${REINPLACE_CMD} -e 's/ -lz/ -lm -lz/g' ${WRKSRC}/Makefile >+ > do-install: > .for FILE in pigz pigzn pigzt unpigz > ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin >Index: archivers/pigz/distinfo >@@ -1,2 +1,2 @@ >-SHA256 (pigz-2.2.5.tar.gz) = e37498cbf3a475d7ebe2519751188c29564bf8dd27ba68bd3c7fe1ac08792759 >-SIZE (pigz-2.2.5.tar.gz) = 49717 >+SHA256 (pigz-2.3.tar.gz) = 74bbd5962f9420549fc987ddd1ccda692ec2b29d2d612fbbe26edf3fa348ff21 >+SIZE (pigz-2.3.tar.gz) = 83636 >Index: archivers/pigz/files/patch-Makefile >@@ -1,8 +1,35 @@ >---- Makefile.orig 2008-10-29 14:27:57.000000000 +0800 >-+++ Makefile 2009-02-08 04:35:10.000000000 +0800 >-@@ -1,4 +1,4 @@ >--CFLAGS=-O2 >+--- ./Makefile.orig 2013-03-03 22:06:35.000000000 -0800 >++++ ./Makefile 2013-06-24 12:59:58.000000000 -0700 >+@@ -1,5 +1,4 @@ >+-CC=cc >+-CFLAGS=-O3 -Wall -Wextra > +all: dev > >- pigz: pigz.o yarn.o >- cc -o pigz pigz.o yarn.o -lpthread -lz >+ >+ pigz: pigz.o yarn.o zopfli/deflate.o zopfli/blocksplitter.o zopfli/tree.o zopfli/lz77.o zopfli/cache.o zopfli/hash.o zopfli/util.o zopfli/squeeze.o zopfli/katajainen.o >+@@ -30,20 +29,20 @@ >+ >+ dev: pigz pigzt pigzn >+ >+-pigzt: pigzt.o yarnt.o >+- $(CC) -o pigzt pigzt.o yarnt.o -lpthread -lz >++pigzt: pigzt.o yarnt.o zopfli/deflate.o zopfli/blocksplitter.o zopfli/tree.o zopfli/lz77.o zopfli/cache.o zopfli/hash.o zopfli/util.o zopfli/squeeze.o zopfli/katajainen.o >++ $(CC) -o pigzt $^ -lpthread -lz >+ >+ pigzt.o: pigz.c yarn.h >+- $(CC) -Wall -O3 -DDEBUG -g -c -o pigzt.o pigz.c >++ $(CC) $(CFLAGS) -DDEBUG -g -c -o pigzt.o pigz.c >+ >+ yarnt.o: yarn.c yarn.h >+- $(CC) -Wall -O3 -DDEBUG -g -c -o yarnt.o yarn.c >++ $(CC) $(CFLAGS) -DDEBUG -g -c -o yarnt.o yarn.c >+ >+ pigzn: pigzn.o >+ $(CC) -o pigzn pigzn.o -lz >+ >+ pigzn.o: pigz.c >+- $(CC) -Wall -O3 -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c >++ $(CC) $(CFLAGS) -DDEBUG -DNOTHREAD -g -c -o pigzn.o pigz.c >+ >+ test: pigz >+ ./pigz -kf pigz.c ; ./pigz -t pigz.c.gz >Index: archivers/pigz/pkg-descr >@@ -3,4 +3,4 @@ > implements nearly all of gzip's functionality, including decompression > of .gz and .Z (Unix compress) files. > >-WWW: http://www.zlib.net/pigz/ >+WWW: http://www.zlib.net/pigz/
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 179937
:
135152
| 135153