head 1.2; access; symbols OPENPKG_E1_MP_HEAD:1.2 OPENPKG_E1_MP:1.2 OPENPKG_E1_MP_2_STABLE:1.2.2.2 OPENPKG_E1_FP:1.2.2.2 OPENPKG_2_STABLE_MP:1.2 OPENPKG_2_STABLE_20061018:1.2.2.2 OPENPKG_2_STABLE:1.2.0.2 OPENPKG_CW_FP:1.1; locks; strict; comment @# @; 1.2 date 2006.02.14.07.20.13; author rse; state Exp; branches 1.2.2.1; next 1.1; commitid yce47pTJXkTGmwlr; 1.1 date 2004.02.13.11.37.16; author rse; state Exp; branches; next ; 1.2.2.1 date 2006.02.14.07.20.13; author rse; state dead; branches; next 1.2.2.2; commitid iZxwRSmmWscPXUQr; 1.2.2.2 date 2006.10.16.14.55.58; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.2 log @upgrading package: rzip 2.0 -> 2.1 @ text @Index: Makefile.in --- Makefile.in.orig 2006-02-14 01:38:23 +0100 +++ Makefile.in 2006-02-14 08:12:17 +0100 @@@@ -9,6 +9,7 @@@@ LIBS=@@LIBS@@ CC=@@CC@@ CFLAGS=@@CFLAGS@@ +LDFLAGS=@@LDFLAGS@@ INSTALLCMD=@@INSTALL@@ @@@@ -37,7 +38,7 @@@@ ${INSTALLCMD} -m 644 $(srcdir)/rzip.1 ${INSTALL_MAN}/man1/ rzip: $(OBJS) - $(CC) $(CFLAGS) -o rzip $(OBJS) $(LIBS) + $(CC) $(LDFLAGS) -o rzip $(OBJS) $(LIBS) rzip.1: rzip.yo yodl2man -o rzip.1 rzip.yo @ 1.2.2.1 log @file rzip.patch was added on branch OPENPKG_2_STABLE on 2006-10-16 14:55:58 +0000 @ text @d1 20 @ 1.2.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 20 Index: Makefile.in --- Makefile.in.orig 2006-02-14 01:38:23 +0100 +++ Makefile.in 2006-02-14 08:12:17 +0100 @@@@ -9,6 +9,7 @@@@ LIBS=@@LIBS@@ CC=@@CC@@ CFLAGS=@@CFLAGS@@ +LDFLAGS=@@LDFLAGS@@ INSTALLCMD=@@INSTALL@@ @@@@ -37,7 +38,7 @@@@ ${INSTALLCMD} -m 644 $(srcdir)/rzip.1 ${INSTALL_MAN}/man1/ rzip: $(OBJS) - $(CC) $(CFLAGS) -o rzip $(OBJS) $(LIBS) + $(CC) $(LDFLAGS) -o rzip $(OBJS) $(LIBS) rzip.1: rzip.yo yodl2man -o rzip.1 rzip.yo @ 1.1 log @new package: rzip 2.0 (De-/Compression with RZIP/BZIP2 Algorithm) @ text @a0 24 Index: main.c --- main.c.orig 2004-02-12 01:01:08.000000000 +0100 +++ main.c 2004-02-13 12:32:13.000000000 +0100 @@@@ -138,9 +138,20 @@@@ fatal("%s: unknown suffix\n", control->infile); } +#if 0 control->outfile = strndup(control->infile, strlen(control->infile) - strlen(control->suffix)); +#else + { + int n; + n = (strlen(control->infile) - strlen(control->suffix)); + if ((control->outfile = malloc(n + 1)) == NULL) + fatal("failed to allocate memory\n"); + memcpy(control->outfile, control->infile, n); + control->outfile[n] = '\0'; + } +#endif } fd_in = open(control->infile,O_RDONLY); d2 2 a3 2 --- Makefile.in.orig 2003-10-06 13:53:00.000000000 +0200 +++ Makefile.in 2004-02-13 12:35:35.000000000 +0100 @