diff options
author | jlam <jlam> | 2001-07-15 11:49:41 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-07-15 11:49:41 +0000 |
commit | 010a30cbf703fab793b733b35022912b69797027 (patch) | |
tree | 37a1b9e97af60d281e9838256a6e8cb2c39aa817 /archivers/ha/patches | |
parent | 31340adcdff3b6f5536617ad59af58a9004591a0 (diff) | |
download | pkgsrc-010a30cbf703fab793b733b35022912b69797027.tar.gz |
Explode one big patch into several unidiff patches, honor CFLAGS passed
in from enviroment during build, and mark as USE_BUILDLINK_ONLY.
Diffstat (limited to 'archivers/ha/patches')
-rw-r--r-- | archivers/ha/patches/patch-aa | 25 | ||||
-rw-r--r-- | archivers/ha/patches/patch-ab | 14 | ||||
-rw-r--r-- | archivers/ha/patches/patch-ac | 13 |
3 files changed, 30 insertions, 22 deletions
diff --git a/archivers/ha/patches/patch-aa b/archivers/ha/patches/patch-aa index 063cff1d780..f1be61e133e 100644 --- a/archivers/ha/patches/patch-aa +++ b/archivers/ha/patches/patch-aa @@ -1,26 +1,7 @@ -$NetBSD: patch-aa,v 1.3 1998/08/07 10:35:49 agc Exp $ +$NetBSD: patch-aa,v 1.4 2001/07/15 11:49:42 jlam Exp $ -*** nix/machine.c.bak Thu Jan 12 09:53:00 1995 ---- nix/machine.c Tue Jan 24 19:38:07 1995 -*************** -*** 417,423 **** - if (plainname!=NULL) free(plainname),plainname=NULL; - if ((plainname=malloc(strlen(mdfullpath)+1))==NULL) - error(1,ERR_MEM,"md_stripname()"); -! for (i=strlen(mdfullpath)-1;i>0;i--) { - if (mdfullpath[i]=='/') { - i++; - break; ---- 417,423 ---- - if (plainname!=NULL) free(plainname),plainname=NULL; - if ((plainname=malloc(strlen(mdfullpath)+1))==NULL) - error(1,ERR_MEM,"md_stripname()"); -! for (i=strlen(mdfullpath)-1;i>=0;i--) { - if (mdfullpath[i]=='/') { - i++; - break; ---- c/hsc.c 1997/11/18 12:32:02 1.1 -+++ c/hsc.c 1997/11/18 12:33:06 +--- c/hsc.c.orig Thu Jan 12 01:51:16 1995 ++++ c/hsc.c @@ -491,6 +491,7 @@ esc=adj_escape_prob(fe[cp],cp); diff --git a/archivers/ha/patches/patch-ab b/archivers/ha/patches/patch-ab new file mode 100644 index 00000000000..5b59907a2f9 --- /dev/null +++ b/archivers/ha/patches/patch-ab @@ -0,0 +1,14 @@ +$NetBSD: patch-ab,v 1.1 2001/07/15 11:49:42 jlam Exp $ + +--- makefile.nix.orig Thu Jan 12 02:26:26 1995 ++++ makefile.nix +@@ -23,8 +23,7 @@ + + CC = gcc + CPP = $(CC) -E +-CFLAGS = -Wall -O2 -c -I../$(MCH) -I../include +-LDFLAGS = -O2 ++CFLAGS += -Wall -c -I../$(MCH) -I../include + + MDEFINES = "CC=$(CC)" "CPP=$(CPP)" "CFLAGS=$(CFLAGS)" "DEFS=$(DEFS)" + SUBDIRS = c $(MCH) include diff --git a/archivers/ha/patches/patch-ac b/archivers/ha/patches/patch-ac new file mode 100644 index 00000000000..882c1d0fff2 --- /dev/null +++ b/archivers/ha/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2001/07/15 11:49:42 jlam Exp $ + +--- nix/machine.c.orig Thu Jan 12 01:53:00 1995 ++++ nix/machine.c +@@ -417,7 +417,7 @@ + if (plainname!=NULL) free(plainname),plainname=NULL; + if ((plainname=malloc(strlen(mdfullpath)+1))==NULL) + error(1,ERR_MEM,"md_stripname()"); +- for (i=strlen(mdfullpath)-1;i>0;i--) { ++ for (i=strlen(mdfullpath)-1;i>=0;i--) { + if (mdfullpath[i]=='/') { + i++; + break; |