diff options
author | tron <tron@pkgsrc.org> | 2000-08-25 21:49:28 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-08-25 21:49:28 +0000 |
commit | 4873d8e544ac74924eeef828d2f21b41a8572643 (patch) | |
tree | 594fd44913e545a052ba5df5f7fe00f9c2bbdbb0 /devel/sdcc/patches | |
parent | b267ad78748285fe593e32e17af7f25c3b8d3a8c (diff) | |
download | pkgsrc-4873d8e544ac74924eeef828d2f21b41a8572643.tar.gz |
Adapt this package to NetBSD and use a better master site with a
distribution file with correct compression.
Diffstat (limited to 'devel/sdcc/patches')
-rw-r--r-- | devel/sdcc/patches/asxxxx.diff | 46 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-aa | 33 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ab | 133 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ac | 29 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ad | 82 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ae | 49 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-af | 51 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ag | 41 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ah | 16 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ai | 13 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-aj | 13 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ak | 42 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-al | 13 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-am | 13 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-an | 13 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ao | 13 |
16 files changed, 269 insertions, 331 deletions
diff --git a/devel/sdcc/patches/asxxxx.diff b/devel/sdcc/patches/asxxxx.diff deleted file mode 100644 index 8b5348a98b9..00000000000 --- a/devel/sdcc/patches/asxxxx.diff +++ /dev/null @@ -1,46 +0,0 @@ ---- asxxxx/i51mch.c.orig Mon Jun 28 23:27:59 1999 -+++ asxxxx/i51mch.c Mon Jun 28 23:47:41 1999 -@@ -389,8 +389,8 @@ - v1 = -3; - else - v1 = e1.e_addr - dot.s_addr - 1; -- /* if ((v1 < -128) || (v1 > 127)) -- aerr(); */ -+ if (((v1 < -128) || (v1 > 127)) && pass > 0) -+ aerr(); - outab(v1); - } else { - outrb(&e1, R_PCR); -@@ -408,8 +408,8 @@ - v1 = -2; - else - v1 = e1.e_addr - dot.s_addr - 1; -- /* if ((v1 < -128) || (v1 > 127)) -- aerr();*/ -+ if (((v1 < -128) || (v1 > 127)) && pass > 0) -+ aerr(); - outab(v1); - } else { - outrb(&e1, R_PCR); -@@ -463,8 +463,8 @@ - v1 = -3; - else - v1 = e1.e_addr - dot.s_addr - 1; -- /* if ((v1 < -128) || (v1 > 127)) -- aerr(); */ -+ if (((v1 < -128) || (v1 > 127)) && pass > 0) -+ aerr(); - outab(v1); - } else { - outrb(&e1, R_PCR); -@@ -500,8 +500,8 @@ - v1 = -3; - else - v1 = e1.e_addr - dot.s_addr - 1; -- /* if ((v1 < -128) || (v1 > 127)) -- aerr(); */ -+ if (((v1 < -128) || (v1 > 127)) && pass > 0) -+ aerr(); - outab(v1); - } else { - outrb(&e1, R_PCR); diff --git a/devel/sdcc/patches/patch-aa b/devel/sdcc/patches/patch-aa index 509e0815a76..fb60d319c19 100644 --- a/devel/sdcc/patches/patch-aa +++ b/devel/sdcc/patches/patch-aa @@ -1,20 +1,13 @@ -diff -c -r ../sdcc218Ma.orig/cpp/cpplib.c cpp/cpplib.c -*** ../sdcc218Ma.orig/cpp/cpplib.c Wed May 26 15:06:08 1999 ---- cpp/cpplib.c Wed Aug 25 12:51:57 1999 -*************** -*** 7452,7458 **** - #if defined(bsd4_4) - extern const char *const sys_errlist[]; - #else -! #if !defined(linux) - extern char *sys_errlist[]; - #endif - #endif ---- 7452,7458 ---- - #if defined(bsd4_4) - extern const char *const sys_errlist[]; - #else -! #if !defined(linux) && !defined(__FreeBSD__) - extern char *sys_errlist[]; - #endif - #endif +$NetBSD: patch-aa,v 1.2 2000/08/25 21:49:29 tron Exp $ + +--- asxxxx/Makefile.in.orig Thu May 27 00:31:32 1999 ++++ asxxxx/Makefile.in Fri Aug 25 23:17:26 2000 +@@ -26,7 +26,7 @@ + man2dir = $(mandir)/man2 + infodir = ${prefix}/info + +-CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) ++CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) -Dunix + CFLAGS = @CFLAGS@ -Wall + M_OR_MM = @M_OR_MM@ + LDFLAGS = @LDFLAGS@ diff --git a/devel/sdcc/patches/patch-ab b/devel/sdcc/patches/patch-ab index f2e8f2b7ec2..987b83e2a8d 100644 --- a/devel/sdcc/patches/patch-ab +++ b/devel/sdcc/patches/patch-ab @@ -1,85 +1,48 @@ -*** sdcc.src/SDCCval.h.orig Thu Jul 1 09:28:12 1999 ---- sdcc.src/SDCCval.h Mon Nov 29 19:06:01 1999 -*************** -*** 67,73 **** - value *charVal (char * ); - value *symbolVal (symbol * ); - void printVal (value * ); -! double floatFromVal (value * ); - value *array2Ptr (value * ); - value *valUnaryPM (value * ); - value *valComplement (value * ); ---- 67,73 ---- - value *charVal (char * ); - value *symbolVal (symbol * ); - void printVal (value * ); -! long floatFromVal (value * ); - value *array2Ptr (value * ); - value *valUnaryPM (value * ); - value *valComplement (value * ); -*** sdcc.src/SDCCval.c.orig Mon Nov 29 19:08:57 1999 ---- sdcc.src/SDCCval.c Mon Nov 29 19:07:48 1999 -*************** -*** 578,584 **** - /*------------------------------------------------------------------*/ - /* floatFromVal - value to unsinged integer conversion */ - /*------------------------------------------------------------------*/ -! double floatFromVal ( value *val ) - { - if (!val) - return 0; ---- 578,584 ---- - /*------------------------------------------------------------------*/ - /* floatFromVal - value to unsinged integer conversion */ - /*------------------------------------------------------------------*/ -! long floatFromVal ( value *val ) - { - if (!val) - return 0; -*************** -*** 591,612 **** - /* if it is not a specifier then we can assume that */ - /* it will be an unsigned long */ - if (!IS_SPEC(val->type)) -! return (double) SPEC_CVAL(val->etype).v_ulong; - - if (SPEC_NOUN(val->etype) == V_FLOAT ) -! return (double) SPEC_CVAL(val->etype).v_float ; - else { - if (SPEC_LONG(val->etype)) { - if (SPEC_USIGN(val->etype)) -! return (double) SPEC_CVAL(val->etype).v_ulong ; - else -! return (double) SPEC_CVAL(val->etype).v_long ; - } - else { - if (SPEC_USIGN(val->etype)) -! return (double) SPEC_CVAL(val->etype).v_uint ; - else -! return (double) SPEC_CVAL(val->etype).v_int ; - } - } - } ---- 591,612 ---- - /* if it is not a specifier then we can assume that */ - /* it will be an unsigned long */ - if (!IS_SPEC(val->type)) -! return (long) SPEC_CVAL(val->etype).v_ulong; - - if (SPEC_NOUN(val->etype) == V_FLOAT ) -! return (long) SPEC_CVAL(val->etype).v_float ; - else { - if (SPEC_LONG(val->etype)) { - if (SPEC_USIGN(val->etype)) -! return (long) SPEC_CVAL(val->etype).v_ulong ; - else -! return (long) SPEC_CVAL(val->etype).v_long ; - } - else { - if (SPEC_USIGN(val->etype)) -! return (long) SPEC_CVAL(val->etype).v_uint ; - else -! return (long) SPEC_CVAL(val->etype).v_int ; - } - } - } +$NetBSD: patch-ab,v 1.2 2000/08/25 21:49:29 tron Exp $ + +--- asxxxx/i51mch.c.orig Mon Sep 13 14:48:29 1999 ++++ asxxxx/i51mch.c Fri Aug 25 23:17:56 2000 +@@ -390,8 +390,8 @@ + v1 = -3; + else + v1 = e1.e_addr - dot.s_addr - 1; +- /* if ((v1 < -128) || (v1 > 127)) +- aerr(); */ ++ if (((v1 < -128) || (v1 > 127)) && pass > 0) ++ aerr(); + outab(v1); + } else { + outrb(&e1, R_PCR); +@@ -409,8 +409,8 @@ + v1 = -2; + else + v1 = e1.e_addr - dot.s_addr - 1; +- /* if ((v1 < -128) || (v1 > 127)) +- aerr();*/ ++ if (((v1 < -128) || (v1 > 127)) && pass > 0) ++ aerr(); + outab(v1); + } else { + outrb(&e1, R_PCR); +@@ -464,8 +464,8 @@ + v1 = -3; + else + v1 = e1.e_addr - dot.s_addr - 1; +- /* if ((v1 < -128) || (v1 > 127)) +- aerr(); */ ++ if (((v1 < -128) || (v1 > 127)) && pass > 0) ++ aerr(); + outab(v1); + } else { + outrb(&e1, R_PCR); +@@ -501,8 +501,8 @@ + v1 = -2; + else + v1 = e1.e_addr - dot.s_addr - 1; +- /* if ((v1 < -128) || (v1 > 127)) +- aerr(); */ ++ if (((v1 < -128) || (v1 > 127)) && pass > 0) ++ aerr(); + outab(v1); + } else { + outrb(&e1, R_PCR); diff --git a/devel/sdcc/patches/patch-ac b/devel/sdcc/patches/patch-ac index 23c309d11f1..26b27f0a08f 100644 --- a/devel/sdcc/patches/patch-ac +++ b/devel/sdcc/patches/patch-ac @@ -1,16 +1,13 @@ -*** s51.src/cmd.src/newcmd.cc.orig Mon Nov 29 19:14:29 1999 ---- s51.src/cmd.src/newcmd.cc Mon Nov 29 19:15:37 1999 -*************** -*** 704,710 **** ---- 704,714 ---- - cl_listen_console::proc_input(void) - { - int newsock; -+ #ifdef __FreeBSD__ -+ socklen_t size; -+ #else - uint size; -+ #endif - struct sockaddr_in sock_addr; - - size= sizeof(struct sockaddr); +$NetBSD: patch-ac,v 1.2 2000/08/25 21:49:29 tron Exp $ + +--- configure.orig Fri Oct 8 16:50:42 1999 ++++ configure Fri Aug 25 23:17:26 2000 +@@ -1075,7 +1075,7 @@ + # ./install, which can be erroneously created by make from ./install.sh. + echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 + echo "configure:1078: checking for a BSD compatible install" >&5 +-if test -z "$INSTALL"; then ++if true; then + if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else diff --git a/devel/sdcc/patches/patch-ad b/devel/sdcc/patches/patch-ad index ca6e695d44d..d9ced6b7957 100644 --- a/devel/sdcc/patches/patch-ad +++ b/devel/sdcc/patches/patch-ad @@ -1,69 +1,13 @@ -*** sdcc51lib/Makefile.in.orig Mon Nov 22 15:49:50 1999 ---- sdcc51lib/Makefile.in Mon Nov 29 19:28:44 1999 -*************** -*** 63,69 **** - - models: - for model in $(MODELS); do \ -! mkdir $$model; \ - $(MAKE) CFLAGS="$(CFLAGS) --model-$$model" objects; \ - mv *.rel $$model; \ - mv *.asm $$model; \ ---- 63,69 ---- - - models: - for model in $(MODELS); do \ -! $(INSTALL) -d -m 755 $$model; \ - $(MAKE) CFLAGS="$(CFLAGS) --model-$$model" objects; \ - mv *.rel $$model; \ - mv *.asm $$model; \ -*************** -*** 73,84 **** - # Compiling and installing everything and runing test - # --------------------------------------------------- - install: installdirs -! $(CP) *.c $(datadir)/sdcc51lib/ - for model in $(MODELS); do \ - [ -d $$model ] || $(MAKE) all; \ -! $(CP) $$model/*.rel *.lib $(datadir)/sdcc51lib/$$model/; \ -! $(CP) $$model/*.asm $(datadir)/sdcc51lib/$$model/; \ -! $(CP) $$model/*.cdb $(datadir)/sdcc51lib/$$model/; \ - done - - ---- 73,84 ---- - # Compiling and installing everything and runing test - # --------------------------------------------------- - install: installdirs -! $(INSTALL) *.c $(datadir)/sdcc51lib/ - for model in $(MODELS); do \ - [ -d $$model ] || $(MAKE) all; \ -! $(INSTALL) $$model/*.rel *.lib $(datadir)/sdcc51lib/$$model/; \ -! $(INSTALL) $$model/*.asm $(datadir)/sdcc51lib/$$model/; \ -! $(INSTALL) $$model/*.cdb $(datadir)/sdcc51lib/$$model/; \ - done - - -*************** -*** 104,113 **** - # Creating installation directories - # --------------------------------- - installdirs: -! [ -d $(datadir)/sdcc51lib ] || mkdir -p $(datadir)/sdcc51lib - for model in $(MODELS); do \ - [ -d $(datadir)/sdcc51lib/$$model ] || \ -! mkdir -p $(datadir)/sdcc51lib/$$model; \ - done - - ---- 104,113 ---- - # Creating installation directories - # --------------------------------- - installdirs: -! [ -d $(datadir)/sdcc51lib ] || $(INSTALL) -d -m 755 $(datadir)/sdcc51lib - for model in $(MODELS); do \ - [ -d $(datadir)/sdcc51lib/$$model ] || \ -! $(INSTALL) -d -m 755 $(datadir)/sdcc51lib/$$model; \ - done - - +$NetBSD: patch-ad,v 1.2 2000/08/25 21:49:29 tron Exp $ + +--- cpp/cpplib.c.orig Thu May 27 00:06:08 1999 ++++ cpp/cpplib.c Fri Aug 25 23:17:26 2000 +@@ -7452,7 +7452,7 @@ + #if defined(bsd4_4) + extern const char *const sys_errlist[]; + #else +-#if !defined(linux) ++#if !defined(linux) && !defined(__FreeBSD__) && !defined(__NetBSD__) + extern char *sys_errlist[]; + #endif + #endif diff --git a/devel/sdcc/patches/patch-ae b/devel/sdcc/patches/patch-ae index dfc87db1328..8af5085ce1d 100644 --- a/devel/sdcc/patches/patch-ae +++ b/devel/sdcc/patches/patch-ae @@ -1,36 +1,13 @@ -*** sdcc51inc/Makefile.in.orig Mon Oct 18 09:39:07 1999 ---- sdcc51inc/Makefile.in Fri Nov 12 17:21:47 1999 -*************** -*** 37,43 **** - # Compiling and installing everything and runing test - # --------------------------------------------------- - install: all installdirs -! $(CP) *.h $(datadir)/sdcc51inc/ - - - # Deleting all the installed files ---- 37,43 ---- - # Compiling and installing everything and runing test - # --------------------------------------------------- - install: all installdirs -! $(INSTALL) -m 644 *.h $(datadir)/sdcc51inc/ - - - # Deleting all the installed files -*************** -*** 59,65 **** - # Creating installation directories - # --------------------------------- - installdirs: -! [ -d $(datadir)/sdcc51inc ] || mkdir -p $(datadir)/sdcc51inc - - - # Creating dependencies ---- 59,65 ---- - # Creating installation directories - # --------------------------------- - installdirs: -! [ -d $(datadir)/sdcc51inc ] || $(INSTALL) -d -m 755 $(datadir)/sdcc51inc - - - # Creating dependencies +$NetBSD: patch-ae,v 1.2 2000/08/25 21:49:29 tron Exp $ + +--- cpp/Makefile.in.orig Thu May 6 20:29:32 1999 ++++ cpp/Makefile.in Fri Aug 25 23:17:26 2000 +@@ -27,7 +27,7 @@ + infodir = ${prefix}/info + + STD_INC = @sdcc_include_dir@ +-CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) -D_FORASXXXX_ ++CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) -D_FORASXXXX_ -Dunix + CFLAGS = @CFLAGS@ + M_OR_MM = @M_OR_MM@ + LDFLAGS = @LDFLAGS@ diff --git a/devel/sdcc/patches/patch-af b/devel/sdcc/patches/patch-af index bd1aa572a8b..0678f89a8bf 100644 --- a/devel/sdcc/patches/patch-af +++ b/devel/sdcc/patches/patch-af @@ -1,38 +1,13 @@ -*** configure.orig Thu May 27 14:51:34 1999 ---- configure Thu Aug 26 18:15:36 1999 -*************** -*** 1075,1081 **** - # ./install, which can be erroneously created by make from ./install.sh. - echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 - echo "configure:1078: checking for a BSD compatible install" >&5 -! if test -z "$INSTALL"; then - if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else ---- 1075,1081 ---- - # ./install, which can be erroneously created by make from ./install.sh. - echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 - echo "configure:1078: checking for a BSD compatible install" >&5 -! if true; then - if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else -*** s51.src/configure.orig Thu Aug 26 18:13:19 1999 ---- s51.src/configure Thu Aug 26 18:13:49 1999 -*************** -*** 812,818 **** - # ./install, which can be erroneously created by make from ./install.sh. - echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 - echo "configure:815: checking for a BSD compatible install" >&5 -! if test -z "$INSTALL"; then - if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else ---- 812,818 ---- - # ./install, which can be erroneously created by make from ./install.sh. - echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 - echo "configure:815: checking for a BSD compatible install" >&5 -! if true ; then - if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else +$NetBSD: patch-af,v 1.2 2000/08/25 21:49:29 tron Exp $ + +--- gc/Makefile.in.orig Tue May 11 17:14:06 1999 ++++ gc/Makefile.in Fri Aug 25 23:17:26 2000 +@@ -18,7 +18,7 @@ + # Under Irix 6, you will have to specify the ABI for as if you specify + # it for the C compiler. + +-CFLAGS= -O2 -DATOMIC_UNCOLLECTABLE -DNO_SIGNALS -DALL_INTERIOR_POINTERS -DNO_EXECUTE_PERMISSION -DSILENT -I /usr/local/include ++CFLAGS= -O2 -DATOMIC_UNCOLLECTABLE -DNO_SIGNALS -DALL_INTERIOR_POINTERS -DNO_EXECUTE_PERMISSION -DSILENT -I /usr/local/include -Dunix + + # For dynamic library builds, it may be necessary to add flags to generate + # PIC code, e.g. -fPIC on Linux. diff --git a/devel/sdcc/patches/patch-ag b/devel/sdcc/patches/patch-ag index 152e79fb614..1c1127b073f 100644 --- a/devel/sdcc/patches/patch-ag +++ b/devel/sdcc/patches/patch-ag @@ -1,21 +1,20 @@ -*** sdcdb/Makefile.in.orig Mon Nov 29 19:38:51 1999 ---- sdcdb/Makefile.in Mon Nov 29 19:39:26 1999 -*************** -*** 53,60 **** - # --------------------------------------------------- - install: all installdirs - $(INSTALL) -s $(TARGET) $(bindir)/sdcdb -! cp $(PRJDIR)/sdcdb/sdcdb.el $(bindir)/sdcdb.el -! cp $(PRJDIR)/sdcdb/sdcdbsrc.el $(bindir)/sdcdbsrc.el - - - # Deleting all the installed files ---- 53,60 ---- - # --------------------------------------------------- - install: all installdirs - $(INSTALL) -s $(TARGET) $(bindir)/sdcdb -! $(INSTALL) -c $(PRJDIR)/sdcdb/sdcdb.el $(bindir)/sdcdb.el -! $(INSTALL) -c $(PRJDIR)/sdcdb/sdcdbsrc.el $(bindir)/sdcdbsrc.el - - - # Deleting all the installed files +$NetBSD: patch-ag,v 1.2 2000/08/25 21:49:29 tron Exp $ + +--- gc/mach_dep.c.orig Mon Oct 11 17:04:00 1999 ++++ gc/mach_dep.c Fri Aug 25 23:17:26 2000 +@@ -197,6 +197,7 @@ + && !defined(SCO) && !defined(SCO_ELF) \ + && !(defined(LINUX) && defined(__ELF__)) \ + && !(defined(__FreeBSD__) && defined(__ELF__)) \ ++ && !(defined(__NetBSD__) && defined(__ELF__)) \ + && !defined(DOS4GW) + /* I386 code, generic code does not appear to work */ + /* It does appear to work under OS2, and asms dont */ +@@ -212,6 +213,7 @@ + + # if ( defined(I386) && defined(LINUX) && defined(__ELF__) ) \ + || ( defined(I386) && defined(__FreeBSD__) && defined(__ELF__) ) ++ || ( defined(I386) && defined(__NetBSD__) && defined(__ELF__) ) + + /* This is modified for Linux with ELF (Note: _ELF_ only) */ + /* This section handles FreeBSD with ELF. */ diff --git a/devel/sdcc/patches/patch-ah b/devel/sdcc/patches/patch-ah new file mode 100644 index 00000000000..75e872cfade --- /dev/null +++ b/devel/sdcc/patches/patch-ah @@ -0,0 +1,16 @@ +$NetBSD: patch-ah,v 1.1 2000/08/25 21:49:29 tron Exp $ + +--- s51.src/cmd.src/newcmd.cc.orig Mon Oct 4 18:05:49 1999 ++++ s51.src/cmd.src/newcmd.cc Fri Aug 25 23:17:26 2000 +@@ -704,7 +704,11 @@ + cl_listen_console::proc_input(void) + { + int newsock; ++#if defined(__FreeBSD__) || defined(__NetBSD__) ++ socklen_t size; ++#else + uint size; ++#endif + struct sockaddr_in sock_addr; + + size= sizeof(struct sockaddr); diff --git a/devel/sdcc/patches/patch-ai b/devel/sdcc/patches/patch-ai new file mode 100644 index 00000000000..2c8be56f368 --- /dev/null +++ b/devel/sdcc/patches/patch-ai @@ -0,0 +1,13 @@ +$NetBSD: patch-ai,v 1.1 2000/08/25 21:49:29 tron Exp $ + +--- s51.src/configure.orig Thu Jul 29 20:17:03 1999 ++++ s51.src/configure Fri Aug 25 23:17:26 2000 +@@ -812,7 +812,7 @@ + # ./install, which can be erroneously created by make from ./install.sh. + echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 + echo "configure:815: checking for a BSD compatible install" >&5 +-if test -z "$INSTALL"; then ++if true ; then + if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then + echo $ac_n "(cached) $ac_c" 1>&6 + else diff --git a/devel/sdcc/patches/patch-aj b/devel/sdcc/patches/patch-aj new file mode 100644 index 00000000000..2e3ce28b541 --- /dev/null +++ b/devel/sdcc/patches/patch-aj @@ -0,0 +1,13 @@ +$NetBSD: patch-aj,v 1.1 2000/08/25 21:49:29 tron Exp $ + +--- sdcc.src/SDCCval.h.orig Thu Jul 1 18:28:12 1999 ++++ sdcc.src/SDCCval.h Fri Aug 25 23:17:26 2000 +@@ -67,7 +67,7 @@ + value *charVal (char * ); + value *symbolVal (symbol * ); + void printVal (value * ); +-double floatFromVal (value * ); ++long floatFromVal (value * ); + value *array2Ptr (value * ); + value *valUnaryPM (value * ); + value *valComplement (value * ); diff --git a/devel/sdcc/patches/patch-ak b/devel/sdcc/patches/patch-ak new file mode 100644 index 00000000000..4e80e258976 --- /dev/null +++ b/devel/sdcc/patches/patch-ak @@ -0,0 +1,42 @@ +$NetBSD: patch-ak,v 1.1 2000/08/25 21:49:29 tron Exp $ + +--- sdcc.src/SDCCval.c.orig Fri Sep 10 15:35:45 1999 ++++ sdcc.src/SDCCval.c Fri Aug 25 23:17:26 2000 +@@ -578,7 +578,7 @@ + /*------------------------------------------------------------------*/ + /* floatFromVal - value to unsinged integer conversion */ + /*------------------------------------------------------------------*/ +-double floatFromVal ( value *val ) ++long floatFromVal ( value *val ) + { + if (!val) + return 0; +@@ -591,22 +591,22 @@ + /* if it is not a specifier then we can assume that */ + /* it will be an unsigned long */ + if (!IS_SPEC(val->type)) +- return (double) SPEC_CVAL(val->etype).v_ulong; ++ return (long) SPEC_CVAL(val->etype).v_ulong; + + if (SPEC_NOUN(val->etype) == V_FLOAT ) +- return (double) SPEC_CVAL(val->etype).v_float ; ++ return (long) SPEC_CVAL(val->etype).v_float ; + else { + if (SPEC_LONG(val->etype)) { + if (SPEC_USIGN(val->etype)) +- return (double) SPEC_CVAL(val->etype).v_ulong ; ++ return (long) SPEC_CVAL(val->etype).v_ulong ; + else +- return (double) SPEC_CVAL(val->etype).v_long ; ++ return (long) SPEC_CVAL(val->etype).v_long ; + } + else { + if (SPEC_USIGN(val->etype)) +- return (double) SPEC_CVAL(val->etype).v_uint ; ++ return (long) SPEC_CVAL(val->etype).v_uint ; + else +- return (double) SPEC_CVAL(val->etype).v_int ; ++ return (long) SPEC_CVAL(val->etype).v_int ; + } + } + } diff --git a/devel/sdcc/patches/patch-al b/devel/sdcc/patches/patch-al new file mode 100644 index 00000000000..620b8578fc2 --- /dev/null +++ b/devel/sdcc/patches/patch-al @@ -0,0 +1,13 @@ +$NetBSD: patch-al,v 1.1 2000/08/25 21:49:29 tron Exp $ + +--- sdcc.src/Makefile.in.orig Mon May 24 18:40:50 1999 ++++ sdcc.src/Makefile.in Fri Aug 25 23:17:26 2000 +@@ -34,7 +34,7 @@ + + # Flags + DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@) +-CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR) ++CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR) -Dunix + CFLAGS = @CFLAGS@ -Wall + M_OR_MM = @M_OR_MM@ + LIBS = -lgc @LIBS@ diff --git a/devel/sdcc/patches/patch-am b/devel/sdcc/patches/patch-am new file mode 100644 index 00000000000..da285f0e07f --- /dev/null +++ b/devel/sdcc/patches/patch-am @@ -0,0 +1,13 @@ +$NetBSD: patch-am,v 1.1 2000/08/25 21:49:29 tron Exp $ + +--- sdcc51inc/Makefile.in.orig Fri Aug 25 23:17:26 2000 ++++ sdcc51inc/Makefile.in Fri Aug 25 23:17:26 2000 +@@ -26,7 +26,7 @@ + infodir = @infodir@ + srcdir = @srcdir@ + +-CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR) ++CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR) -Dunix + + + # Compiling entire program or any subproject diff --git a/devel/sdcc/patches/patch-an b/devel/sdcc/patches/patch-an new file mode 100644 index 00000000000..c5c312756cc --- /dev/null +++ b/devel/sdcc/patches/patch-an @@ -0,0 +1,13 @@ +$NetBSD: patch-an,v 1.1 2000/08/25 21:49:29 tron Exp $ + +--- sdcc51lib/Makefile.in.orig Fri Aug 25 23:17:26 2000 ++++ sdcc51lib/Makefile.in Fri Aug 25 23:17:26 2000 +@@ -30,7 +30,7 @@ + infodir = @infodir@ + srcdir = @srcdir@ + +-CPPFLAGS = -I$(INCDIR) ++CPPFLAGS = -I$(INCDIR) -Dunix + CFLAGS = + + OBJECTS = _atoi.rel _atol.rel _autobaud.rel _bp.rel _char2fs.rel \ diff --git a/devel/sdcc/patches/patch-ao b/devel/sdcc/patches/patch-ao new file mode 100644 index 00000000000..d48951e4f4f --- /dev/null +++ b/devel/sdcc/patches/patch-ao @@ -0,0 +1,13 @@ +$NetBSD: patch-ao,v 1.1 2000/08/25 21:49:29 tron Exp $ + +--- sdcdb/Makefile.in.orig Fri Aug 25 23:17:26 2000 ++++ sdcdb/Makefile.in Fri Aug 25 23:17:26 2000 +@@ -27,7 +27,7 @@ + infodir = ${prefix}/info + + STD_INC = @sdcc_include_dir@ +-CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) ++CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) -Dunix + CFLAGS = @CFLAGS@ + M_OR_MM = @M_OR_MM@ + LDFLAGS = @LDFLAGS@ |