[36035] distfiles/pguyot
pguyot at kallisys.net
pguyot at kallisys.net
Mon Apr 14 23:54:12 PDT 2008
Revision: 36035
http://trac.macosforge.org/projects/macports/changeset/36035
Author: pguyot at kallisys.net
Date: 2008-04-14 23:54:10 -0700 (Mon, 14 Apr 2008)
Log Message:
-----------
rtems patches only available via ftp
Added Paths:
-----------
distfiles/pguyot/binutils-2.18-rtems4.9-20080211.diff
distfiles/pguyot/gcc-core-3.4.6-rtems4.9-20071111.diff
Added: distfiles/pguyot/binutils-2.18-rtems4.9-20080211.diff
===================================================================
--- distfiles/pguyot/binutils-2.18-rtems4.9-20080211.diff (rev 0)
+++ distfiles/pguyot/binutils-2.18-rtems4.9-20080211.diff 2008-04-15 06:54:10 UTC (rev 36035)
@@ -0,0 +1,68 @@
+diff -uNr binutils-2.18.orig/configure binutils-2.18/configure
+--- binutils-2.18.orig/configure 2007-08-06 22:29:40.000000000 +0200
++++ binutils-2.18/configure 2008-02-11 17:43:28.000000000 +0100
+@@ -6128,7 +6128,7 @@
+ # For an installed makeinfo, we require it to be from texinfo 4.4 or
+ # higher, else we use the "missing" dummy.
+ if ${MAKEINFO} --version \
+- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
++ | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+ :
+ else
+ MAKEINFO="$MISSING makeinfo"
+diff -uNr binutils-2.18.orig/configure.ac binutils-2.18/configure.ac
+--- binutils-2.18.orig/configure.ac 2007-08-28 22:24:26.000000000 +0200
++++ binutils-2.18/configure.ac 2008-02-11 17:43:28.000000000 +0100
+@@ -2403,7 +2403,7 @@
+ # For an installed makeinfo, we require it to be from texinfo 4.4 or
+ # higher, else we use the "missing" dummy.
+ if ${MAKEINFO} --version \
+- | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[4-9]|[5-9])' >/dev/null 2>&1; then
++ | egrep 'texinfo[^0-9]*(4\.([4-9]|[1-9][0-9])|[5-9]|[1-9][0-9])' >/dev/null 2>&1; then
+ :
+ else
+ MAKEINFO="$MISSING makeinfo"
+diff -uNr binutils-2.18.orig/gas/config/tc-avr.c binutils-2.18/gas/config/tc-avr.c
+--- binutils-2.18.orig/gas/config/tc-avr.c 2007-08-06 21:59:55.000000000 +0200
++++ binutils-2.18/gas/config/tc-avr.c 2008-02-11 17:43:13.000000000 +0100
+@@ -63,7 +63,7 @@
+ {
+ {"avr1", AVR_ISA_TINY1, bfd_mach_avr1},
+ {"avr2", AVR_ISA_TINY2, bfd_mach_avr2},
+- {"avr3", AVR_ISA_M103, bfd_mach_avr3},
++ {"avr3", AVR_ISA_AVR3, bfd_mach_avr3},
+ {"avr4", AVR_ISA_M8, bfd_mach_avr4},
+ {"avr5", AVR_ISA_ALL, bfd_mach_avr5},
+ {"avr6", AVR_ISA_ALL, bfd_mach_avr6},
+@@ -102,6 +102,8 @@
+ {"at43usb320", AVR_ISA_M103, bfd_mach_avr3},
+ {"at43usb355", AVR_ISA_M603, bfd_mach_avr3},
+ {"at76c711", AVR_ISA_M603, bfd_mach_avr3},
++ {"at90usb82", AVR_ISA_USB162, bfd_mach_avr3},
++ {"at90usb162", AVR_ISA_USB162, bfd_mach_avr3},
+ {"atmega48", AVR_ISA_PWMx, bfd_mach_avr4},
+ {"atmega8", AVR_ISA_M8, bfd_mach_avr4},
+ {"atmega83", AVR_ISA_M8, bfd_mach_avr4}, /* XXX -> m8535 */
+@@ -150,8 +152,6 @@
+ {"at90can32" , AVR_ISA_M323, bfd_mach_avr5},
+ {"at90can64" , AVR_ISA_M323, bfd_mach_avr5},
+ {"at90can128", AVR_ISA_M128, bfd_mach_avr5},
+- {"at90usb82", AVR_ISA_M323, bfd_mach_avr5},
+- {"at90usb162", AVR_ISA_M323, bfd_mach_avr5},
+ {"at90usb646", AVR_ISA_M323, bfd_mach_avr5},
+ {"at90usb647", AVR_ISA_M323, bfd_mach_avr5},
+ {"at90usb1286",AVR_ISA_M128, bfd_mach_avr5},
+diff -uNr binutils-2.18.orig/include/opcode/avr.h binutils-2.18/include/opcode/avr.h
+--- binutils-2.18.orig/include/opcode/avr.h 2006-04-07 17:18:08.000000000 +0200
++++ binutils-2.18/include/opcode/avr.h 2008-02-11 17:43:13.000000000 +0100
+@@ -40,6 +40,10 @@
+ AVR_ISA_LPMX | AVR_ISA_SPM)
+ #define AVR_ISA_M603 (AVR_ISA_2xxx | AVR_ISA_MEGA)
+ #define AVR_ISA_M103 (AVR_ISA_M603 | AVR_ISA_ELPM)
++#define AVR_ISA_USB162 (AVR_ISA_M603 | AVR_ISA_MOVW | \
++ AVR_ISA_LPMX | AVR_ISA_SPM)
++#define AVR_ISA_AVR3 (AVR_ISA_M603 | AVR_ISA_MOVW | \
++ AVR_ISA_LPMX | AVR_ISA_SPM | AVR_ISA_ELPM)
+ #define AVR_ISA_M161 (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_MOVW | \
+ AVR_ISA_LPMX | AVR_ISA_SPM)
+ #define AVR_ISA_94K (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_MOVW | AVR_ISA_LPMX)
Added: distfiles/pguyot/gcc-core-3.4.6-rtems4.9-20071111.diff
===================================================================
--- distfiles/pguyot/gcc-core-3.4.6-rtems4.9-20071111.diff (rev 0)
+++ distfiles/pguyot/gcc-core-3.4.6-rtems4.9-20071111.diff 2008-04-15 06:54:10 UTC (rev 36035)
@@ -0,0 +1,27 @@
+diff -uNr gcc-3.4.6.orig/gcc/collect2.c gcc-3.4.6/gcc/collect2.c
+--- gcc-3.4.6.orig/gcc/collect2.c 2005-01-10 16:25:23.000000000 +0100
++++ gcc-3.4.6/gcc/collect2.c 2007-11-13 08:48:13.000000000 +0100
+@@ -1534,7 +1534,7 @@
+ if (redir)
+ {
+ /* Open response file. */
+- redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT);
++ redir_handle = open (redir, O_WRONLY | O_TRUNC | O_CREAT, S_IWUSR | S_IRUSR);
+
+ /* Duplicate the stdout and stderr file handles
+ so they can be restored later. */
+diff -uNr gcc-3.4.6.orig/gcc/Makefile.in gcc-3.4.6/gcc/Makefile.in
+--- gcc-3.4.6.orig/gcc/Makefile.in 2005-02-24 10:26:59.000000000 +0100
++++ gcc-3.4.6/gcc/Makefile.in 2007-11-13 08:48:20.000000000 +0100
+@@ -2945,9 +2945,9 @@
+ install-driver: installdirs xgcc$(exeext)
+ -rm -f $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
+ -$(INSTALL_PROGRAM) xgcc$(exeext) $(DESTDIR)$(bindir)/$(GCC_INSTALL_NAME)$(exeext)
+- -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)
++ -rm -f $(DESTDIR)$(bindir)/$(target_noncanonical)-gcc-$(version)$(exeext)
+ -( cd $(DESTDIR)$(bindir) && \
+- $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version) )
++ $(LN) $(GCC_INSTALL_NAME)$(exeext) $(target_noncanonical)-gcc-$(version)$(exeext) )
+ -if [ -f gcc-cross$(exeext) ] ; then \
+ if [ -d $(DESTDIR)$(gcc_tooldir)/bin/. ] ; then \
+ rm -f $(DESTDIR)$(gcc_tooldir)/bin/gcc$(exeext); \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080414/4675f32c/attachment.html
More information about the macports-changes
mailing list