diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-02 17:58:25 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2003-01-02 17:58:25 +0000 |
commit | 28949927440ef44cd4a5a15cdb8939d5daa0c625 (patch) | |
tree | 3f737bb8ce2fb216d3e4c8009ec9cea73c5c967f /archivers/star/files | |
parent | 670ac374cf0f69ae2e4dc4f8c940915d1486d72e (diff) | |
download | ports-28949927440ef44cd4a5a15cdb8939d5daa0c625.tar.gz ports-28949927440ef44cd4a5a15cdb8939d5daa0c625.zip |
Notes
Diffstat (limited to 'archivers/star/files')
-rw-r--r-- | archivers/star/files/patch-aa | 10 | ||||
-rw-r--r-- | archivers/star/files/patch-ab | 30 |
2 files changed, 24 insertions, 16 deletions
diff --git a/archivers/star/files/patch-aa b/archivers/star/files/patch-aa index 4d8f6edd9207..60c9db7b2ff1 100644 --- a/archivers/star/files/patch-aa +++ b/archivers/star/files/patch-aa @@ -1,10 +1,10 @@ ---- RULES/i386-freebsd-cc.rul.orig Thu May 6 02:48:51 1999 -+++ RULES/i386-freebsd-cc.rul Thu May 6 02:50:11 1999 +--- RULES/i386-freebsd-cc.rul.orig Wed Oct 16 05:43:39 2002 ++++ RULES/i386-freebsd-cc.rul Tue Nov 26 03:09:44 2002 @@ -24,7 +24,7 @@ ########################################################################### CPPFLAGS= $(CPPOPTS) $(CPPOPTX) --CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(COPTX) +-CFLAGS= $(COPTS) $(CWARNOPTS) $(COPTOPT) $(GCCOPTOPT) $(COPTX) +CFLAGS+= -static $(COPTS) $(CWARNOPTS) $(COPTX) CPPOPTS= -I. -I$(ARCHDIR) -I$(OINCSDIR) $(INCDIRS:%=-I%) $(OSDEFS) @@ -34,6 +34,6 @@ TSORT= tsort RMDEP= : --MKDEP= @echo " ==> MAKE DEPENDENCIES \"$@\""; $(RMDEP); gcc -M -+MKDEP= @echo " ==> MAKE DEPENDENCIES \"$@\""; $(RMDEP); ${CCOM} -M +-MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); gcc -M ++MKDEP= @echo " ==> MAKING DEPENDENCIES \"$@\""; $(RMDEP); ${CCOM} -M MKDEP_OUT= diff --git a/archivers/star/files/patch-ab b/archivers/star/files/patch-ab index b586f6a68ced..3ad36c8e4311 100644 --- a/archivers/star/files/patch-ab +++ b/archivers/star/files/patch-ab @@ -1,6 +1,6 @@ ---- star/star.c.orig Fri May 17 19:26:31 2002 -+++ star/star.c Tue Jun 11 22:27:46 2002 -@@ -485,14 +485,16 @@ +--- star/star.c.orig Fri Nov 15 19:39:13 2002 ++++ star/star.c Tue Nov 26 03:03:34 2002 +@@ -500,14 +500,16 @@ susage(ret) int ret; { @@ -25,11 +25,11 @@ exit(ret); /* NOTREACHED */ } -@@ -501,48 +503,50 @@ +@@ -516,48 +518,50 @@ usage(ret) int ret; { -- error("Usage:\tstar cmd [options] file1 ... filen\n"); +- error("Usage:\t%s cmd [options] file1 ... filen\n", get_progname()); - error("Cmd:\n"); - error("\t-c/-u/-r\tcreate/update/replace named files to tape\n"); - error("\t-x/-t/-n\textract/list/trace named files from tape\n"); @@ -43,7 +43,7 @@ - error("\t-T\t\tuse $TAPE as tape instead of stdin/stdout\n"); + FILE *fp = ret ? stderr : stdout; + -+ fprintf(fp, "Usage:\tstar cmd [options] file1 ... filen\n"); ++ fprintf(fp, "Usage:\t%s cmd [options] file1 ... filen\n", get_progname()); + fprintf(fp, "Cmd:\n"); + fprintf(fp, "\t-c/-u/-r\tcreate/update/replace named files to tape\n"); + fprintf(fp, "\t-x/-t/-n\textract/list/trace named files from tape\n"); @@ -114,11 +114,11 @@ exit(ret); /* NOTREACHED */ } -@@ -551,69 +555,71 @@ +@@ -566,69 +570,71 @@ xusage(ret) int ret; { -- error("Usage:\tstar cmd [options] file1 ... filen\n"); +- error("Usage:\t%s cmd [options] file1 ... filen\n", get_progname()); - error("Extended options:\n"); - error("\tdiffopts=optlst\tcomma separated list of diffopts (see diffopts=help)\n"); - error("\t-debug\t\tprint additional debug messages\n"); @@ -147,7 +147,7 @@ - error("\tbs=#\t\tset (output) block size to #\n"); + FILE *fp = ret ? stderr : stdout; + -+ fprintf(fp, "Usage:\tstar cmd [options] file1 ... filen\n"); ++ fprintf(fp, "Usage:\t%s cmd [options] file1 ... filen\n", get_progname()); + fprintf(fp, "Extended options:\n"); + fprintf(fp, "\tdiffopts=optlst\tcomma separated list of diffopts (see diffopts=help)\n"); + fprintf(fp, "\t-debug\t\tprint additional debug messages\n"); @@ -241,12 +241,14 @@ exit(ret); /* NOTREACHED */ } -@@ -622,27 +628,29 @@ +@@ -637,31 +643,33 @@ dusage(ret) int ret; { - error("Diff options:\n"); - error("\tnot\t\tif this option is present, exclude listed options\n"); +- error("\t!\t\tif this option is present, exclude listed options\n"); +- error("\tall\t\tcompare everything\n"); - error("\tperm\t\tcompare file permissions\n"); - error("\tmode\t\tcompare file permissions\n"); - error("\ttype\t\tcompare file type\n"); @@ -266,10 +268,14 @@ - error("\tmtime\t\tcompare modification time of file\n"); - error("\tctime\t\tcompare creation time of file (only star)\n"); - error("\ttimes\t\tcompare all times of file\n"); +- error("\n"); +- error("Default is to compare everything except atime.\n"); + FILE *fp = ret ? stderr : stdout; + + fprintf(fp, "Diff options:\n"); + fprintf(fp, "\tnot\t\tif this option is present, exclude listed options\n"); ++ fprintf(fp, "\t!\t\tif this option is present, exclude listed options\n"); ++ fprintf(fp, "\tall\t\tcompare everything\n"); + fprintf(fp, "\tperm\t\tcompare file permissions\n"); + fprintf(fp, "\tmode\t\tcompare file permissions\n"); + fprintf(fp, "\ttype\t\tcompare file type\n"); @@ -289,10 +295,12 @@ + fprintf(fp, "\tmtime\t\tcompare modification time of file\n"); + fprintf(fp, "\tctime\t\tcompare creation time of file (only star)\n"); + fprintf(fp, "\ttimes\t\tcompare all times of file\n"); ++ fprintf(fp, "\n"); ++ fprintf(fp, "Default is to compare everything except atime.\n"); exit(ret); /* NOTREACHED */ } -@@ -651,16 +659,18 @@ +@@ -670,16 +678,18 @@ husage(ret) int ret; { |