pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cross/avr-gcc Recognize DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/262aa4228845
branches:  trunk
changeset: 510448:262aa4228845
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 30 17:37:03 2006 +0000

description:
Recognize DragonFly.

diffstat:

 cross/avr-gcc/distinfo         |   3 ++-
 cross/avr-gcc/patches/patch-ac |  30 ++++++++++++++++++++++++++++++
 2 files changed, 32 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r b37936bc0063 -r 262aa4228845 cross/avr-gcc/distinfo
--- a/cross/avr-gcc/distinfo    Thu Mar 30 16:58:16 2006 +0000
+++ b/cross/avr-gcc/distinfo    Thu Mar 30 17:37:03 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2005/02/24 10:16:52 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/03/30 17:37:03 joerg Exp $
 
 SHA1 (gcc-core+g++-3.3.2003.05.11.tar.bz2) = d9224f5b5a76317563fa7d02c31c2ba9cdfae029
 RMD160 (gcc-core+g++-3.3.2003.05.11.tar.bz2) = f6c3a7ef96ec5488a492406bb2d76e251acd9ba1
@@ -9,3 +9,4 @@
 SHA1 (patch-16bitassign) = 9b076aeb426cc932fd2cb9acb9c14f82996a7ae7
 SHA1 (patch-aa) = 3f8641a42a31a7f5d6839e95fc6bfbce5218f9f3
 SHA1 (patch-ab) = 8938a1987422f7d99bc51ebf906a46b66c0debac
+SHA1 (patch-ac) = 32e5c83620e7777f26b5752d7e3b8a899cf3fe2a
diff -r b37936bc0063 -r 262aa4228845 cross/avr-gcc/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/cross/avr-gcc/patches/patch-ac    Thu Mar 30 17:37:03 2006 +0000
@@ -0,0 +1,30 @@
+$NetBSD: patch-ac,v 1.1 2006/03/30 17:37:03 joerg Exp $
+
+--- gcc/config.gcc.orig        2006-03-30 17:18:37.000000000 +0000
++++ gcc/config.gcc
+@@ -451,7 +451,7 @@ case $machine in
+       # the generic ELF configuration of FreeBSD (i.e. it must be
+       # ordered before that section).
+       ;;
+-*-*-freebsd*)
++*-*-freebsd* | *-*-dragonfly*)
+       # This is the generic ELF configuration of FreeBSD.  Later
+       # machine-specific sections may refine and add to this
+       # configuration.
+@@ -473,6 +473,7 @@ case $machine in
+       case $machine in
+       *-*-freebsd3 | *-*-freebsd[3].*) fbsd_tm_file="freebsd3.h";;
+       *-*-freebsd4 | *-*-freebsd[4].*) fbsd_tm_file="freebsd4.h";;
++      *-*-dragonfly*) fbsd_tm_file="freebsd4.h";;
+       *-*-freebsd5 | *-*-freebsd[5].*) fbsd_tm_file="freebsd5.h";;
+       *-*-freebsd6 | *-*-freebsd[6].*) fbsd_tm_file="freebsd6.h";;
+       *) echo 'Please update *-*-freebsd* in gcc/config.gcc'; exit 1;;
+@@ -1130,7 +1131,7 @@ i[34567]86-*-freebsd2 | i[34567]86-*-fre
+       tm_file="${tm_file} i386/unix.h i386/bsd.h i386/gas.h i386/gstabs.h i386/freebsd-aout.h"
+       tmake_file=t-freebsd
+       ;;
+-i[34567]86-*-freebsd*)
++i[34567]86-*-freebsd* | i[34567]86-*-dragonfly*)
+       tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h"
+       ;;
+ x86_64-*-freebsd*)



Home | Main Index | Thread Index | Old Index