From 1f5aafceb1de3a36ba60465f46c1ced40e7cb38b Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 28 Jul 2014 16:28:02 +0000 Subject: Rename devel/ patch-xy patches to reflect the files they modify. --- devel/bcc/files/patch-aa | 66 ------------------------------------ devel/bcc/files/patch-ab | 75 ----------------------------------------- devel/bcc/files/patch-ac | 86 ----------------------------------------------- devel/bcc/files/patch-as | 75 +++++++++++++++++++++++++++++++++++++++++ devel/bcc/files/patch-bcc | 86 +++++++++++++++++++++++++++++++++++++++++++++++ devel/bcc/files/patch-ld | 66 ++++++++++++++++++++++++++++++++++++ 6 files changed, 227 insertions(+), 227 deletions(-) delete mode 100644 devel/bcc/files/patch-aa delete mode 100644 devel/bcc/files/patch-ab delete mode 100644 devel/bcc/files/patch-ac create mode 100644 devel/bcc/files/patch-as create mode 100644 devel/bcc/files/patch-bcc create mode 100644 devel/bcc/files/patch-ld (limited to 'devel/bcc') diff --git a/devel/bcc/files/patch-aa b/devel/bcc/files/patch-aa deleted file mode 100644 index af63cb038c09..000000000000 --- a/devel/bcc/files/patch-aa +++ /dev/null @@ -1,66 +0,0 @@ -*** ld/Makefile.orig Sat Feb 19 23:32:12 1994 ---- ld/Makefile Sun Mar 26 12:31:37 1995 -*************** -*** 1,18 **** -! CFLAGS =-O -DBSD_A_OUT -DSTANDARD_GNU_A_OUT -! LDFLAGS =-N -s - -! OBJS =dumps.o io.o ld.o readobj.o table.o typeconv.o writebin.o - -! ld: $(OBJS) -! $(CC) $(LDFLAGS) $(OBJS) -o $@ - -! clean: -! rm -f $(OBJS) ld -! -! dumps.o: dumps.c const.h config.h obj.h type.h globvar.h -! io.o: io.c const.h config.h obj.h type.h globvar.h -! ld.o: ld.c const.h config.h byteord.h type.h globvar.h -! readobj.o: readobj.c const.h config.h byteord.h obj.h type.h globvar.h -! table.o: table.c const.h config.h align.h obj.h type.h globvar.h -! typeconv.o: typeconv.c const.h config.h type.h globvar.h -! writebin.o: writebin.c const.h config.h obj.h type.h globvar.h ---- 1,18 ---- -! .include "../Makefile.inc" - -! CFLAGS +=-DBSD_A_OUT -DSTANDARD_GNU_A_OUT -! CFLAGS +=-Wall -! LDFLAGS = - -! SRCS =dumps.c io.c ld.c readobj.c table.c typeconv.c writebin.c - -! PROG =ld86 -! -! BINDIR =${LOCALPREFIX}/bin -! MANDIR =${LOCALPREFIX}/man/man -! -! beforeinstall: -! -mkdir -p ${BINDIR} -! -mkdir -p ${MANDIR}1 -! -! .include -*** ld/ld.c.orig Sat Feb 19 23:36:05 1994 ---- ld/ld.c Sun Mar 26 11:59:47 1995 -*************** -*** 3,9 **** - /* Copyright (C) 1994 Bruce Evans */ - - #include "const.h" -- #include "byteord.h" - #include "type.h" - #include "globvar.h" - ---- 3,8 ---- -*************** -*** 25,30 **** ---- 24,33 ---- - #undef NULL - #include - #endif -+ -+ /* BSD #defines this in , but with another sense */ -+ #undef BIG_ENDIAN -+ #include "byteord.h" - - #define MAX_LIBS (NR_STDLIBS + 5) - #define NR_STDLIBS 1 diff --git a/devel/bcc/files/patch-ab b/devel/bcc/files/patch-ab deleted file mode 100644 index e2e766db0dc5..000000000000 --- a/devel/bcc/files/patch-ab +++ /dev/null @@ -1,75 +0,0 @@ -*** as/Makefile.orig Thu Apr 23 06:04:42 1992 ---- as/Makefile Sun Mar 26 12:31:17 1995 -*************** -*** 1,27 **** -! CFLAGS =-O - LDFLAGS = - -! OBJS =as.o assemble.o error.o express.o \ -! genbin.o genlist.o genobj.o gensym.o \ -! macro.o mops.o pops.o readsrc.o \ -! scan.o table.o typeconv.o -! -! as: $(OBJS) -! $(CC) $(LDFLAGS) $(OBJS) -o as -! chmem =182000 as -! -! as.o: const.h type.h byteord.h macro.h file.h flag.h globvar.h -! assemble.o: const.h type.h address.h globvar.h opcode.h scan.h -! error.o: const.h type.h -! express.o: const.h type.h address.h globvar.h scan.h source.h -! genbin.o: const.h type.h address.h file.h globvar.h -! genlist.o: const.h type.h address.h flag.h file.h globvar.h macro.h scan.h \ -! source.h -! genobj.o: const.h type.h address.h file.h globvar.h -! gensym.o: const.h type.h flag.h file.h globvar.h -! macro.o: const.h type.h globvar.h scan.h macro.h -! mops.o: const.h type.h globvar.h opcode.h scan.h address.h -! pops.o: const.h type.h address.h flag.h globvar.h opcode.h scan.h -! readsrc.o: const.h type.h flag.h file.h globvar.h macro.h scan.h source.h -! scan.o: const.h type.h globvar.h scan.h -! table.o: const.h type.h globvar.h opcode.h scan.h ---- 1,18 ---- -! .include "../Makefile.inc" -! .PATH: ../ld -! -! CFLAGS +=-Wall - LDFLAGS = - -! SRCS =as.c assemble.c error.c express.c \ -! genbin.c genlist.c genobj.c gensym.c \ -! macro.c mops.c pops.c readsrc.c \ -! scan.c table.c typeconv.c -! -! PROG =as86 -! -! BINDIR = ${LOCALPREFIX}/bin -! MANDIR = ${LOCALPREFIX}/man/man -! -! -! .include -*** as/as.c.orig Sat Jul 10 21:03:52 1993 ---- as/as.c Sun Mar 26 12:11:09 1995 -*************** -*** 7,13 **** - - #include "const.h" - #include "type.h" -- #include "byteord.h" - #include "macro.h" - #undef EXTERN - #define EXTERN ---- 7,12 ---- -*************** -*** 36,41 **** ---- 35,44 ---- - #include - #include - #endif -+ -+ /* BSD #defines this in , but with another sense */ -+ #undef BIG_ENDIAN -+ #include "byteord.h" - - PUBLIC char hexdigit[] = "0123456789ABCDEF"; /* XXX - ld uses lower case */ - diff --git a/devel/bcc/files/patch-ac b/devel/bcc/files/patch-ac deleted file mode 100644 index 7edb98ea93de..000000000000 --- a/devel/bcc/files/patch-ac +++ /dev/null @@ -1,86 +0,0 @@ -*** bcc/Makefile.orig Thu Mar 9 11:43:29 1995 ---- bcc/Makefile Sun Mar 26 12:23:06 1995 -*************** -*** 1,14 **** -! CFLAGS =-O -DNSIG=32 - LDFLAGS = - -! bcc: bcc.c -! $(CC) $(CFLAGS) $(LDFLAGS) $@.c -o $@ - -! bcc09: bcc.c -! $(CC) -DMC6809 $(CFLAGS) $(LDFLAGS) bcc.c -o $@ - -! ccc: bcc.c -! $(CC) -DCCC $(CFLAGS) $(LDFLAGS) bcc.c -o $@ - -! clean: -! rm -f bcc bcc09 ccc ---- 1,22 ---- -! .include "../Makefile.inc" -! -! CFLAGS +=-DNSIG=32 -! #CFLAGS +=-Wall # too many warnings - LDFLAGS = - -! PROG =bcc-cc1 -! -! SRCS =assign.c declare.c gencode.c label.c preserve.c type.c \ -! bcc-cc1.c express.c genloads.c loadexp.c scan.c \ -! exptree.c glogcode.c longop.c softop.c codefrag.c \ -! floatop.c hardop.c output.c state.c debug.c function.c \ -! input.c preproc.c table.c -! - -! BINDIR = ${LOCALPREFIX}/lib/bcc -! MANDIR = ${LOCALPREFIX}/man/man - -! beforeinstall: -! -mkdir -p ${LOCALPREFIX}/lib/bcc - -! .include -*** bcc/bcc.c.orig Sat Jul 17 14:49:49 1993 ---- bcc/bcc.c Sun Mar 26 12:27:58 1995 -*************** -*** 27,46 **** - #define P(x) () - #endif - -! #define AS "as" - #define BAS86 - #define BCC86 -! #define CC1 "cc1" - #define CC1_MINUS_O_BROKEN FALSE -! #define CPP "cpp" /* normally a link to /usr/bin/bcc-cc1 */ - #define CPPFLAGS "-E" - #define CRT0 "crt0.o" - #define GCC "gcc" -! #define LD "ld" -! #define STANDARD_CRT0_0_PREFIX "/usr/local/lib/i86/" -! #define STANDARD_CRT0_3_PREFIX "/usr/local/lib/i386/" -! #define STANDARD_EXEC_PREFIX "/usr/local/libexec/i386/bcc/" -! #define STANDARD_EXEC_PREFIX_2 "/usr/bin/" - - #ifdef CCC - #undef BCC86 ---- 27,46 ---- - #define P(x) () - #endif - -! #define AS "as86" - #define BAS86 - #define BCC86 -! #define CC1 "bcc-cc1" - #define CC1_MINUS_O_BROKEN FALSE -! #define CPP "bcc-cc1" /* normally a link to /usr/bin/bcc-cc1 */ - #define CPPFLAGS "-E" - #define CRT0 "crt0.o" - #define GCC "gcc" -! #define LD "ld86" -! #define STANDARD_CRT0_0_PREFIX LOCALPREFIX "/lib/bcc/i86/" -! #define STANDARD_CRT0_3_PREFIX LOCALPREFIX "/lib/bcc/i386/" -! #define STANDARD_EXEC_PREFIX LOCALPREFIX "/lib/bcc/" -! #define STANDARD_EXEC_PREFIX_2 LOCALPREFIX "/bin/" - - #ifdef CCC - #undef BCC86 diff --git a/devel/bcc/files/patch-as b/devel/bcc/files/patch-as new file mode 100644 index 000000000000..e2e766db0dc5 --- /dev/null +++ b/devel/bcc/files/patch-as @@ -0,0 +1,75 @@ +*** as/Makefile.orig Thu Apr 23 06:04:42 1992 +--- as/Makefile Sun Mar 26 12:31:17 1995 +*************** +*** 1,27 **** +! CFLAGS =-O + LDFLAGS = + +! OBJS =as.o assemble.o error.o express.o \ +! genbin.o genlist.o genobj.o gensym.o \ +! macro.o mops.o pops.o readsrc.o \ +! scan.o table.o typeconv.o +! +! as: $(OBJS) +! $(CC) $(LDFLAGS) $(OBJS) -o as +! chmem =182000 as +! +! as.o: const.h type.h byteord.h macro.h file.h flag.h globvar.h +! assemble.o: const.h type.h address.h globvar.h opcode.h scan.h +! error.o: const.h type.h +! express.o: const.h type.h address.h globvar.h scan.h source.h +! genbin.o: const.h type.h address.h file.h globvar.h +! genlist.o: const.h type.h address.h flag.h file.h globvar.h macro.h scan.h \ +! source.h +! genobj.o: const.h type.h address.h file.h globvar.h +! gensym.o: const.h type.h flag.h file.h globvar.h +! macro.o: const.h type.h globvar.h scan.h macro.h +! mops.o: const.h type.h globvar.h opcode.h scan.h address.h +! pops.o: const.h type.h address.h flag.h globvar.h opcode.h scan.h +! readsrc.o: const.h type.h flag.h file.h globvar.h macro.h scan.h source.h +! scan.o: const.h type.h globvar.h scan.h +! table.o: const.h type.h globvar.h opcode.h scan.h +--- 1,18 ---- +! .include "../Makefile.inc" +! .PATH: ../ld +! +! CFLAGS +=-Wall + LDFLAGS = + +! SRCS =as.c assemble.c error.c express.c \ +! genbin.c genlist.c genobj.c gensym.c \ +! macro.c mops.c pops.c readsrc.c \ +! scan.c table.c typeconv.c +! +! PROG =as86 +! +! BINDIR = ${LOCALPREFIX}/bin +! MANDIR = ${LOCALPREFIX}/man/man +! +! +! .include +*** as/as.c.orig Sat Jul 10 21:03:52 1993 +--- as/as.c Sun Mar 26 12:11:09 1995 +*************** +*** 7,13 **** + + #include "const.h" + #include "type.h" +- #include "byteord.h" + #include "macro.h" + #undef EXTERN + #define EXTERN +--- 7,12 ---- +*************** +*** 36,41 **** +--- 35,44 ---- + #include + #include + #endif ++ ++ /* BSD #defines this in , but with another sense */ ++ #undef BIG_ENDIAN ++ #include "byteord.h" + + PUBLIC char hexdigit[] = "0123456789ABCDEF"; /* XXX - ld uses lower case */ + diff --git a/devel/bcc/files/patch-bcc b/devel/bcc/files/patch-bcc new file mode 100644 index 000000000000..7edb98ea93de --- /dev/null +++ b/devel/bcc/files/patch-bcc @@ -0,0 +1,86 @@ +*** bcc/Makefile.orig Thu Mar 9 11:43:29 1995 +--- bcc/Makefile Sun Mar 26 12:23:06 1995 +*************** +*** 1,14 **** +! CFLAGS =-O -DNSIG=32 + LDFLAGS = + +! bcc: bcc.c +! $(CC) $(CFLAGS) $(LDFLAGS) $@.c -o $@ + +! bcc09: bcc.c +! $(CC) -DMC6809 $(CFLAGS) $(LDFLAGS) bcc.c -o $@ + +! ccc: bcc.c +! $(CC) -DCCC $(CFLAGS) $(LDFLAGS) bcc.c -o $@ + +! clean: +! rm -f bcc bcc09 ccc +--- 1,22 ---- +! .include "../Makefile.inc" +! +! CFLAGS +=-DNSIG=32 +! #CFLAGS +=-Wall # too many warnings + LDFLAGS = + +! PROG =bcc-cc1 +! +! SRCS =assign.c declare.c gencode.c label.c preserve.c type.c \ +! bcc-cc1.c express.c genloads.c loadexp.c scan.c \ +! exptree.c glogcode.c longop.c softop.c codefrag.c \ +! floatop.c hardop.c output.c state.c debug.c function.c \ +! input.c preproc.c table.c +! + +! BINDIR = ${LOCALPREFIX}/lib/bcc +! MANDIR = ${LOCALPREFIX}/man/man + +! beforeinstall: +! -mkdir -p ${LOCALPREFIX}/lib/bcc + +! .include +*** bcc/bcc.c.orig Sat Jul 17 14:49:49 1993 +--- bcc/bcc.c Sun Mar 26 12:27:58 1995 +*************** +*** 27,46 **** + #define P(x) () + #endif + +! #define AS "as" + #define BAS86 + #define BCC86 +! #define CC1 "cc1" + #define CC1_MINUS_O_BROKEN FALSE +! #define CPP "cpp" /* normally a link to /usr/bin/bcc-cc1 */ + #define CPPFLAGS "-E" + #define CRT0 "crt0.o" + #define GCC "gcc" +! #define LD "ld" +! #define STANDARD_CRT0_0_PREFIX "/usr/local/lib/i86/" +! #define STANDARD_CRT0_3_PREFIX "/usr/local/lib/i386/" +! #define STANDARD_EXEC_PREFIX "/usr/local/libexec/i386/bcc/" +! #define STANDARD_EXEC_PREFIX_2 "/usr/bin/" + + #ifdef CCC + #undef BCC86 +--- 27,46 ---- + #define P(x) () + #endif + +! #define AS "as86" + #define BAS86 + #define BCC86 +! #define CC1 "bcc-cc1" + #define CC1_MINUS_O_BROKEN FALSE +! #define CPP "bcc-cc1" /* normally a link to /usr/bin/bcc-cc1 */ + #define CPPFLAGS "-E" + #define CRT0 "crt0.o" + #define GCC "gcc" +! #define LD "ld86" +! #define STANDARD_CRT0_0_PREFIX LOCALPREFIX "/lib/bcc/i86/" +! #define STANDARD_CRT0_3_PREFIX LOCALPREFIX "/lib/bcc/i386/" +! #define STANDARD_EXEC_PREFIX LOCALPREFIX "/lib/bcc/" +! #define STANDARD_EXEC_PREFIX_2 LOCALPREFIX "/bin/" + + #ifdef CCC + #undef BCC86 diff --git a/devel/bcc/files/patch-ld b/devel/bcc/files/patch-ld new file mode 100644 index 000000000000..af63cb038c09 --- /dev/null +++ b/devel/bcc/files/patch-ld @@ -0,0 +1,66 @@ +*** ld/Makefile.orig Sat Feb 19 23:32:12 1994 +--- ld/Makefile Sun Mar 26 12:31:37 1995 +*************** +*** 1,18 **** +! CFLAGS =-O -DBSD_A_OUT -DSTANDARD_GNU_A_OUT +! LDFLAGS =-N -s + +! OBJS =dumps.o io.o ld.o readobj.o table.o typeconv.o writebin.o + +! ld: $(OBJS) +! $(CC) $(LDFLAGS) $(OBJS) -o $@ + +! clean: +! rm -f $(OBJS) ld +! +! dumps.o: dumps.c const.h config.h obj.h type.h globvar.h +! io.o: io.c const.h config.h obj.h type.h globvar.h +! ld.o: ld.c const.h config.h byteord.h type.h globvar.h +! readobj.o: readobj.c const.h config.h byteord.h obj.h type.h globvar.h +! table.o: table.c const.h config.h align.h obj.h type.h globvar.h +! typeconv.o: typeconv.c const.h config.h type.h globvar.h +! writebin.o: writebin.c const.h config.h obj.h type.h globvar.h +--- 1,18 ---- +! .include "../Makefile.inc" + +! CFLAGS +=-DBSD_A_OUT -DSTANDARD_GNU_A_OUT +! CFLAGS +=-Wall +! LDFLAGS = + +! SRCS =dumps.c io.c ld.c readobj.c table.c typeconv.c writebin.c + +! PROG =ld86 +! +! BINDIR =${LOCALPREFIX}/bin +! MANDIR =${LOCALPREFIX}/man/man +! +! beforeinstall: +! -mkdir -p ${BINDIR} +! -mkdir -p ${MANDIR}1 +! +! .include +*** ld/ld.c.orig Sat Feb 19 23:36:05 1994 +--- ld/ld.c Sun Mar 26 11:59:47 1995 +*************** +*** 3,9 **** + /* Copyright (C) 1994 Bruce Evans */ + + #include "const.h" +- #include "byteord.h" + #include "type.h" + #include "globvar.h" + +--- 3,8 ---- +*************** +*** 25,30 **** +--- 24,33 ---- + #undef NULL + #include + #endif ++ ++ /* BSD #defines this in , but with another sense */ ++ #undef BIG_ENDIAN ++ #include "byteord.h" + + #define MAX_LIBS (NR_STDLIBS + 5) + #define NR_STDLIBS 1 -- cgit v1.2.3