diff options
author | gson <gson> | 2008-10-17 07:20:22 +0000 |
---|---|---|
committer | gson <gson> | 2008-10-17 07:20:22 +0000 |
commit | b0f85a054435960f1e15f7aada00c21fd641b473 (patch) | |
tree | d3e4927c1fd1aba374830fc3de54922bd40d6517 /devel/sdcc/patches | |
parent | 1fc955031a320be94bc16acc4915c79d743612bf (diff) | |
download | pkgsrc-b0f85a054435960f1e15f7aada00c21fd641b473.tar.gz |
Update devel/sdcc to 2.8.0.
The changes since 2.4.0 are far too numerous to list here; please
refer to the ChangeLog file.
Diffstat (limited to 'devel/sdcc/patches')
-rw-r--r-- | devel/sdcc/patches/patch-aa | 102 | ||||
-rw-r--r-- | devel/sdcc/patches/patch-ab | 13 |
2 files changed, 27 insertions, 88 deletions
diff --git a/devel/sdcc/patches/patch-aa b/devel/sdcc/patches/patch-aa index bada1a6d836..92b5d831bb7 100644 --- a/devel/sdcc/patches/patch-aa +++ b/devel/sdcc/patches/patch-aa @@ -1,76 +1,28 @@ -$NetBSD: patch-aa,v 1.7 2005/12/01 19:43:23 joerg Exp $ +$NetBSD: patch-aa,v 1.8 2008/10/17 07:20:23 gson Exp $ ---- sim/ucsim/avr.src/arith_inst.cc.orig 2005-12-01 19:22:22.000000000 +0000 -+++ sim/ucsim/avr.src/arith_inst.cc -@@ -51,7 +51,7 @@ cl_avr::cpi_Rd_K(t_mem code) - if (D & 0x80) - D|= ~0xff; - t_mem sreg= ram->get(SREG); -- (signed)result= (signed)D-(signed)K; -+ result= (signed)D-(signed)K; - res= result & 0xff; - - sreg= sreg & ~(BIT_H|BIT_S|BIT_V|BIT_N|BIT_C|BIT_Z); -@@ -101,7 +101,7 @@ cl_avr::sbci_Rd_K(t_mem code) - if (D & 0x80) - D|= ~0xff; - t_mem sreg= ram->get(SREG); -- (signed)result= (signed)D-(signed)K-(sreg&BIT_C)?1:0; -+ result= (signed)D-(signed)K-(sreg&BIT_C)?1:0; - res= result & 0xff; - ram->write(d, res); - -@@ -151,7 +151,7 @@ cl_avr::subi_Rd_K(t_mem code) - K|= ~0xff; - if (D & 0x80) - D|= ~0xff; -- (signed)result= (signed)D-(signed)K; -+ result= (signed)D-(signed)K; - res= result & 0xff; - ram->write(d, res); - -@@ -237,7 +237,7 @@ cl_avr::cpc_Rd_Rr(t_mem code) - if (D & 0x80) - D|= ~0xff; - t_mem sreg= ram->get(SREG); -- (signed)result= (signed)D-(signed)R-(sreg&BIT_C)?1:0; -+ result= (signed)D-(signed)R-(sreg&BIT_C)?1:0; - res= result & 0xff; - - sreg= sreg & ~(BIT_H|BIT_S|BIT_V|BIT_N|BIT_C); -@@ -287,7 +287,7 @@ cl_avr::sbc_Rd_Rr(t_mem code) - if (D & 0x80) - D|= ~0xff; - t_mem sreg= ram->get(SREG); -- (signed)result= (signed)D-(signed)R-(sreg&BIT_C)?1:0; -+ result= (signed)D-(signed)R-(sreg&BIT_C)?1:0; - res= result & 0xff; - ram->write(d, res); - -@@ -389,7 +389,7 @@ cl_avr::cp_Rd_Rr(t_mem code) - R|= ~0xff; - if (D & 0x80) - D|= ~0xff; -- (signed)result= (signed)D-(signed)R; -+ result= (signed)D-(signed)R; - res= result & 0xff; - - t_mem sreg= ram->get(SREG) & ~(BIT_H|BIT_S|BIT_V|BIT_N|BIT_Z|BIT_C); -@@ -438,7 +438,7 @@ cl_avr::sub_Rd_Rr(t_mem code) - R|= ~0xff; - if (D & 0x80) - D|= ~0xff; -- (signed)result= (signed)D-(signed)R; -+ result= (signed)D-(signed)R; - res= result & 0xff; - ram->write(d, res); - -@@ -922,7 +922,7 @@ cl_avr::sbiw_Rdl_K(t_mem code) - K|= ~0x3f; - if (D & 0x8000) - D|= ~0xffff; -- (signed)result= (signed)D-(signed)K; -+ result= (signed)D-(signed)K; - res= result & 0xffff; - t_mem resl= res&0xff, resh= (res>>8)&0xff; - ram->write(dl+1, resh); +--- device/lib/Makefile.in.orig 2007-06-03 23:38:18.000000000 +0300 ++++ device/lib/Makefile.in +@@ -352,16 +352,18 @@ install: all installdirs + + for src in $(MODELS) ds390 ds400 gbz80 z80 hc08 pic pic16; do \ + find $(sdcc_libdir)/src/$$src -depth \ +- \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \ +- -name '*.lst' -o -name '*.asm' -o -name '.svn' -o -name 'build' -o -name 'bin' -o \ +- -name 'Makefile*' \) \ +- -exec rm -rf {}+ \; ; \ ++ \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \ ++ -name '*.lst' -o -name '*.asm' -o -name '.svn' -o -name 'autom4te.cache' -o \ ++ -name 'build' -o -name 'bin' -o -name 'Makefile*' -o -name 'config*' -o \ ++ -name 'depcomp' -o -name 'missing' -o -name 'install-sh' -o \ ++ -name 'bootstrap.sh' \) \ ++ -exec rm -rf {} + ; \ + done + find $(sdcc_libdir)/src/mcs51 -depth \ + \( -name '*.rel' -o -name '*.dump*' -o -name '*.sym' -o -name '*.o' -o -name '*.lib' -o \ + -name '*.lst' -o -name '.svn' -o -name 'build' -o -name 'bin' -o \ + -name 'Makefile*' \) \ +- -exec rm -rf {}+ \; ++ -exec rm -rf {} + + + # Deleting all the installed files + # -------------------------------- diff --git a/devel/sdcc/patches/patch-ab b/devel/sdcc/patches/patch-ab deleted file mode 100644 index fa90a2d6256..00000000000 --- a/devel/sdcc/patches/patch-ab +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-ab,v 1.5 2006/07/05 20:29:29 wiz Exp $ - ---- sim/ucsim/cmd.src/newcmdcl.h.orig 2003-01-03 08:51:57.000000000 +0000 -+++ sim/ucsim/cmd.src/newcmdcl.h -@@ -121,7 +121,7 @@ public: - cl_console(int portnumber, class cl_app *the_app); - #endif - virtual ~cl_console(void); -- virtual class cl_console *cl_console::clone_for_exec(char *fin); -+ virtual class cl_console *clone_for_exec(char *fin); - virtual int init(void); - - virtual void welcome(void); |