SOURCES: lrzip-DESTDIR.patch (NEW), lrzip-escape.patch (NEW), lrzi...
glen
glen at pld-linux.org
Mon Oct 30 22:24:39 CET 2006
Author: glen Date: Mon Oct 30 21:24:39 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- added
---- Files affected:
SOURCES:
lrzip-DESTDIR.patch (NONE -> 1.1) (NEW), lrzip-escape.patch (NONE -> 1.1) (NEW), lrzip-lzma.patch (NONE -> 1.1) (NEW), lrzip-lzolib.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/lrzip-DESTDIR.patch
diff -u /dev/null SOURCES/lrzip-DESTDIR.patch:1.1
--- /dev/null Mon Oct 30 22:24:39 2006
+++ SOURCES/lrzip-DESTDIR.patch Mon Oct 30 22:24:33 2006
@@ -0,0 +1,26 @@
+--- lrzip-0.13/Makefile.in~ 2006-10-30 22:44:08.091654462 +0200
++++ lrzip-0.13/Makefile.in 2006-10-30 22:45:28.753469087 +0200
+@@ -5,7 +5,7 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ INSTALL_BIN=$(exec_prefix)/bin
+-INSTALL_MAN=$(prefix)/man
++INSTALL_MAN=$(prefix)/share/man
+
+ LIBS=@LIBS@ -llzma
+ CC=@CC@
+@@ -34,10 +34,10 @@
+ man: rzip.1
+
+ install: all
+- -mkdir -p ${INSTALL_BIN}
+- ${INSTALLCMD} -m 755 lrzip ${INSTALL_BIN}
+- -mkdir -p ${INSTALL_MAN}/man1
+- ${INSTALLCMD} -m 644 $(srcdir)/lrzip.1 ${INSTALL_MAN}/man1/
++ -mkdir -p $(DESTDIR)${INSTALL_BIN}
++ ${INSTALLCMD} -m 755 lrzip $(DESTDIR)${INSTALL_BIN}
++ -mkdir -p $(DESTDIR)${INSTALL_MAN}/man1
++ ${INSTALLCMD} -m 644 $(srcdir)/lrzip.1 $(DESTDIR)${INSTALL_MAN}/man1/
+
+ liblzma:
+ cd lzma/7zip/Compress/LZMA_Lib/ && make && cd ../../../../
================================================================
Index: SOURCES/lrzip-escape.patch
diff -u /dev/null SOURCES/lrzip-escape.patch:1.1
--- /dev/null Mon Oct 30 22:24:39 2006
+++ SOURCES/lrzip-escape.patch Mon Oct 30 22:24:34 2006
@@ -0,0 +1,20 @@
+--- lrzip-0.13/stream.c~ 2006-10-30 14:31:37.000000000 +0200
++++ lrzip-0.13/stream.c 2006-10-30 22:30:42.303522922 +0200
+@@ -482,7 +482,7 @@
+ lzo_compress_buf(&sinfo->s[stream], &c_type, &c_len);
+ else if (control.flags & FLAG_BZIP2_COMPRESS)
+ bzip2_compress_buf(&sinfo->s[stream], &c_type, &c_len);
+- else fatal("Dunno wtf compression to use\!\n");
++ else fatal("Dunno wtf compression to use!\n");
+ }
+ //printf("ctype %d\n",c_type);
+
+@@ -560,7 +560,7 @@
+ } else if (c_type == CTYPE_BZIP2) {
+ if (bzip2_decompress_buf(&sinfo->s[stream], c_len))
+ return -1;
+- } else fatal("Dunno wtf decompression type to use\!\n");
++ } else fatal("Dunno wtf decompression type to use!\n");
+ }
+
+ return 0;
================================================================
Index: SOURCES/lrzip-lzma.patch
diff -u /dev/null SOURCES/lrzip-lzma.patch:1.1
--- /dev/null Mon Oct 30 22:24:39 2006
+++ SOURCES/lrzip-lzma.patch Mon Oct 30 22:24:34 2006
@@ -0,0 +1,20 @@
+--- lrzip-0.13/Makefile.in 2006-10-30 22:43:05.050236189 +0200
++++ lrzip-0.13/Makefile.in 2006-10-30 22:50:19.890018160 +0200
+@@ -7,7 +7,7 @@
+ INSTALL_BIN=$(exec_prefix)/bin
+ INSTALL_MAN=$(prefix)/man
+
+-LIBS=@LIBS@ lzma/7zip/Compress/LZMA_Lib/liblzma.a
++LIBS=@LIBS@ -llzma
+ CC=@CC@
+ CXX=@CXX@
+ CFLAGS=@CFLAGS@
+@@ -29,7 +29,7 @@
+ .c.o:
+ $(CC) -I. -I$(srcdir) $(CFLAGS) -c $< -o $@
+
+-all: liblzma lrzip
++all: lrzip
+
+ man: rzip.1
+
================================================================
Index: SOURCES/lrzip-lzolib.patch
diff -u /dev/null SOURCES/lrzip-lzolib.patch:1.1
--- /dev/null Mon Oct 30 22:24:39 2006
+++ SOURCES/lrzip-lzolib.patch Mon Oct 30 22:24:34 2006
@@ -0,0 +1,28 @@
+--- lrzip-0.13/configure.in~ 2006-10-30 05:58:54.000000000 +0200
++++ lrzip-0.13/configure.in 2006-10-30 22:26:45.238189341 +0200
+@@ -43,9 +43,9 @@
+
+
+ AC_CHECK_LIB(bz2, BZ2_bzBuffToBuffCompress, ,
+- AC_MSG_ERROR([Could not find bz2 library - please install libbz2-dev]))
+-AC_CHECK_LIB(lzo2, lzo1x_1_compress, ,
+- AC_MSG_ERROR([Could not find lzo2 library - please install liblzo2-dev]))
++ AC_MSG_ERROR([Could not find bz2 library - please install bzip2-devel]))
++AC_CHECK_LIB(lzo, lzo1x_1_compress, ,
++ AC_MSG_ERROR([Could not find lzo2 library - please install lzo-devel]))
+
+ echo $ac_n "checking for errno in errno.h... $ac_c"
+ AC_TRY_COMPILE([#include <errno.h>],[int i = errno],
+--- lrzip-0.13/rzip.h~ 2006-10-30 14:39:38.000000000 +0200
++++ lrzip-0.13/rzip.h 2006-10-30 22:28:47.240933191 +0200
+@@ -34,8 +34,8 @@
+ #include <stdlib.h>
+ #include <string.h>
+ #include <netinet/in.h>
+-#include <lzo/lzoconf.h>
+-#include <lzo/lzo1x.h>
++#include <lzoconf.h>
++#include <lzo1x.h>
+
+ #ifdef HAVE_STRING_H
+ #include <string.h>
================================================================
More information about the pld-cvs-commit
mailing list