From 184dd99cbe7c0ede86df49c2e461597d4c9a3351 Mon Sep 17 00:00:00 2001 From: adamw Date: Tue, 29 Jul 2014 01:16:45 +0000 Subject: Rename misc/ patch-xy patches to reflect the files they modify. --- misc/deco/Makefile | 2 +- misc/deco/files/patch-aa | 17 ----------------- misc/deco/files/patch-ab | 11 ----------- misc/deco/files/patch-ad | 12 ------------ misc/deco/files/patch-ae | 36 ------------------------------------ misc/deco/files/patch-af | 20 -------------------- misc/deco/files/patch-dir.c | 12 ++++++++++++ misc/deco/files/patch-ex.c | 17 +++++++++++++++++ misc/deco/files/patch-help.c | 11 +++++++++++ misc/deco/files/patch-rec.h | 20 ++++++++++++++++++++ misc/deco/files/patch-scr.c | 36 ++++++++++++++++++++++++++++++++++++ 11 files changed, 97 insertions(+), 97 deletions(-) delete mode 100644 misc/deco/files/patch-aa delete mode 100644 misc/deco/files/patch-ab delete mode 100644 misc/deco/files/patch-ad delete mode 100644 misc/deco/files/patch-ae delete mode 100644 misc/deco/files/patch-af create mode 100644 misc/deco/files/patch-dir.c create mode 100644 misc/deco/files/patch-ex.c create mode 100644 misc/deco/files/patch-help.c create mode 100644 misc/deco/files/patch-rec.h create mode 100644 misc/deco/files/patch-scr.c (limited to 'misc/deco') diff --git a/misc/deco/Makefile b/misc/deco/Makefile index f34269643790..d453eab12874 100644 --- a/misc/deco/Makefile +++ b/misc/deco/Makefile @@ -8,11 +8,11 @@ CATEGORIES= misc MASTER_SITES= SF/${PORTNAME}/Deco%20Sources/${PORTVERSION} PKGNAMESUFFIX= -misc DISTNAME= deco39 -EXTRACT_SUFX= .tgz MAINTAINER= ports@FreeBSD.org COMMENT= Demos Commander, a free Norton Commander clone +USES= tar:tgz GNU_CONFIGURE= yes CONFIGURE_ARGS= --libdir=${PREFIX}/share CONFIGURE_ENV= ac_cv_lib_ncurses_tgetent=no diff --git a/misc/deco/files/patch-aa b/misc/deco/files/patch-aa deleted file mode 100644 index e6bb4ad57cdd..000000000000 --- a/misc/deco/files/patch-aa +++ /dev/null @@ -1,17 +0,0 @@ ---- ex.c Sat Jul 12 18:54:34 1997 -+++ /home/andy/tmp/wrk/ex.c Tue Dec 16 12:14:53 1997 -@@ -59,11 +59,11 @@ - #define UMFILE ".menu" - #define INITFILE ".decoini" - #define ULDINITFILE "/usr/lib/deco/initfile" --#define ULLDINITFILE "/usr/local/lib/deco/initfile" -+#define ULLDINITFILE "/usr/local/share/deco/initfile" - #define ULDUMFILE "/usr/lib/deco/menu" --#define ULLDUMFILE "/usr/local/lib/deco/menu" -+#define ULLDUMFILE "/usr/local/share/deco/menu" - #define ULDEXFILE "/usr/lib/deco/profile" --#define ULLDEXFILE "/usr/local/lib/deco/profile" -+#define ULLDEXFILE "/usr/local/share/deco/profile" - - struct ex { - char *pat; diff --git a/misc/deco/files/patch-ab b/misc/deco/files/patch-ab deleted file mode 100644 index 11882f702beb..000000000000 --- a/misc/deco/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- help.c Sat Jul 12 18:54:34 1997 -+++ /home/andy/tmp/wrk/help.c Tue Dec 16 12:15:00 1997 -@@ -10,7 +10,7 @@ - - #define CS 34 - #define HELPDIR "/usr/lib/deco/help/" --#define LCLHELPDIR "/usr/local/lib/deco/help/" -+#define LCLHELPDIR "/usr/local/share/deco/help/" - - struct helptab { - char row; diff --git a/misc/deco/files/patch-ad b/misc/deco/files/patch-ad deleted file mode 100644 index 7d31bcbbe06f..000000000000 --- a/misc/deco/files/patch-ad +++ /dev/null @@ -1,12 +0,0 @@ -Index: dir.c -@@ -358,8 +358,10 @@ - - d->topfile = d->curfile = 0; - -+ if (d->sort != SORTSKIP) { - compdir = d; - qsort ((char*)d->cat, (unsigned) d->num, sizeof (d->cat[0]), compfile); -+ } - - if (! dirname) { - /* retag files, restore curfile */ diff --git a/misc/deco/files/patch-ae b/misc/deco/files/patch-ae deleted file mode 100644 index d6efc7afa293..000000000000 --- a/misc/deco/files/patch-ae +++ /dev/null @@ -1,36 +0,0 @@ -Index: scr.c -@@ -167,7 +167,7 @@ - - static char *CL, *CM, *SE, *SO, *TE, *TI, *VE, *VS, - *AL, *DL, *IS, *IF, *FS, *MD, *MH, *ME, *MR, -- *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB; -+ *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB, *OP; - static NF, NB; - static char MS, C2; - -@@ -231,6 +231,7 @@ - { "Cs", CAPSTR, 0, 0, 0, &Cs, }, - { "Ce", CAPSTR, 0, 0, 0, &Ce, }, - { "Ct", CAPSTR, 0, 0, 0, &Ct, }, -+ { "op", CAPSTR, 0, 0, 0, &OP, }, - { { 0, 0, }, 0, 0, 0, 0, 0, }, - }; - -@@ -413,6 +414,8 @@ - tputs (TE); - if (KE) - tputs (KE); -+ if (OP) -+ tputs (OP); - VFlush (); - TtyReset (); - } -@@ -425,6 +428,8 @@ - tputs (VE); - if (KE) - tputs (KE); -+ if (OP) -+ tputs (OP); - VFlush (); - TtyReset (); - } diff --git a/misc/deco/files/patch-af b/misc/deco/files/patch-af deleted file mode 100644 index 68e1550662c2..000000000000 --- a/misc/deco/files/patch-af +++ /dev/null @@ -1,20 +0,0 @@ ---- rec.h.orig Fri Jul 11 22:01:27 1997 -+++ rec.h Tue Nov 18 16:58:49 2003 -@@ -15,7 +15,7 @@ - - struct map { /* pool cell descriptor */ - short busy; /* cell busy */ -- short index; /* index in lindex */ -+ int index; /* index in lindex */ - long time; /* time of last access */ - }; - -@@ -37,7 +37,7 @@ - short fd; /* file descriptor */ - short bakfd; /* bak file descriptor */ - short tfd; /* temp file descriptor */ -- short len; /* length of file in lines */ -+ int len; /* length of file in lines */ - short broken; /* there are broken lines */ - } REC; - diff --git a/misc/deco/files/patch-dir.c b/misc/deco/files/patch-dir.c new file mode 100644 index 000000000000..7d31bcbbe06f --- /dev/null +++ b/misc/deco/files/patch-dir.c @@ -0,0 +1,12 @@ +Index: dir.c +@@ -358,8 +358,10 @@ + + d->topfile = d->curfile = 0; + ++ if (d->sort != SORTSKIP) { + compdir = d; + qsort ((char*)d->cat, (unsigned) d->num, sizeof (d->cat[0]), compfile); ++ } + + if (! dirname) { + /* retag files, restore curfile */ diff --git a/misc/deco/files/patch-ex.c b/misc/deco/files/patch-ex.c new file mode 100644 index 000000000000..e6bb4ad57cdd --- /dev/null +++ b/misc/deco/files/patch-ex.c @@ -0,0 +1,17 @@ +--- ex.c Sat Jul 12 18:54:34 1997 ++++ /home/andy/tmp/wrk/ex.c Tue Dec 16 12:14:53 1997 +@@ -59,11 +59,11 @@ + #define UMFILE ".menu" + #define INITFILE ".decoini" + #define ULDINITFILE "/usr/lib/deco/initfile" +-#define ULLDINITFILE "/usr/local/lib/deco/initfile" ++#define ULLDINITFILE "/usr/local/share/deco/initfile" + #define ULDUMFILE "/usr/lib/deco/menu" +-#define ULLDUMFILE "/usr/local/lib/deco/menu" ++#define ULLDUMFILE "/usr/local/share/deco/menu" + #define ULDEXFILE "/usr/lib/deco/profile" +-#define ULLDEXFILE "/usr/local/lib/deco/profile" ++#define ULLDEXFILE "/usr/local/share/deco/profile" + + struct ex { + char *pat; diff --git a/misc/deco/files/patch-help.c b/misc/deco/files/patch-help.c new file mode 100644 index 000000000000..11882f702beb --- /dev/null +++ b/misc/deco/files/patch-help.c @@ -0,0 +1,11 @@ +--- help.c Sat Jul 12 18:54:34 1997 ++++ /home/andy/tmp/wrk/help.c Tue Dec 16 12:15:00 1997 +@@ -10,7 +10,7 @@ + + #define CS 34 + #define HELPDIR "/usr/lib/deco/help/" +-#define LCLHELPDIR "/usr/local/lib/deco/help/" ++#define LCLHELPDIR "/usr/local/share/deco/help/" + + struct helptab { + char row; diff --git a/misc/deco/files/patch-rec.h b/misc/deco/files/patch-rec.h new file mode 100644 index 000000000000..68e1550662c2 --- /dev/null +++ b/misc/deco/files/patch-rec.h @@ -0,0 +1,20 @@ +--- rec.h.orig Fri Jul 11 22:01:27 1997 ++++ rec.h Tue Nov 18 16:58:49 2003 +@@ -15,7 +15,7 @@ + + struct map { /* pool cell descriptor */ + short busy; /* cell busy */ +- short index; /* index in lindex */ ++ int index; /* index in lindex */ + long time; /* time of last access */ + }; + +@@ -37,7 +37,7 @@ + short fd; /* file descriptor */ + short bakfd; /* bak file descriptor */ + short tfd; /* temp file descriptor */ +- short len; /* length of file in lines */ ++ int len; /* length of file in lines */ + short broken; /* there are broken lines */ + } REC; + diff --git a/misc/deco/files/patch-scr.c b/misc/deco/files/patch-scr.c new file mode 100644 index 000000000000..d6efc7afa293 --- /dev/null +++ b/misc/deco/files/patch-scr.c @@ -0,0 +1,36 @@ +Index: scr.c +@@ -167,7 +167,7 @@ + + static char *CL, *CM, *SE, *SO, *TE, *TI, *VE, *VS, + *AL, *DL, *IS, *IF, *FS, *MD, *MH, *ME, *MR, +- *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB; ++ *CF, *CB, *AF, *AB, *Sf, *Sb, *MF, *MB, *OP; + static NF, NB; + static char MS, C2; + +@@ -231,6 +231,7 @@ + { "Cs", CAPSTR, 0, 0, 0, &Cs, }, + { "Ce", CAPSTR, 0, 0, 0, &Ce, }, + { "Ct", CAPSTR, 0, 0, 0, &Ct, }, ++ { "op", CAPSTR, 0, 0, 0, &OP, }, + { { 0, 0, }, 0, 0, 0, 0, 0, }, + }; + +@@ -413,6 +414,8 @@ + tputs (TE); + if (KE) + tputs (KE); ++ if (OP) ++ tputs (OP); + VFlush (); + TtyReset (); + } +@@ -425,6 +428,8 @@ + tputs (VE); + if (KE) + tputs (KE); ++ if (OP) ++ tputs (OP); + VFlush (); + TtyReset (); + } -- cgit