[arch-commits] Commit in gcc-libs/trunk (PKGBUILD gcc-hash-style-both.patch)

Allan McRae allan at archlinux.org
Wed Apr 22 12:46:18 UTC 2009


    Date: Wednesday, April 22, 2009 @ 08:46:18
  Author: allan
Revision: 36438

upgpkg: gcc-libs 4.4.0-1
    upstream update, new deps - ppl and cloog-ppl, remove unneeded bison build patch, remove treelang (removed upstream)

Modified:
  gcc-libs/trunk/PKGBUILD
  gcc-libs/trunk/gcc-hash-style-both.patch

---------------------------+
 PKGBUILD                  |   33 ++++++++++++++-------------------
 gcc-hash-style-both.patch |   12 ++++++------
 2 files changed, 20 insertions(+), 25 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-04-22 12:41:22 UTC (rev 36437)
+++ PKGBUILD	2009-04-22 12:46:18 UTC (rev 36438)
@@ -1,33 +1,33 @@
 # $Id$
 # Maintainer: Jan de Groot <jgc at archlinux.org>
-# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+# Maintainer: Allan McRae <allan at archlinux.org>
 
+# toolchain build order: kernel-headers->glibc->binutils->gcc-libs->gcc->binutils->glibc
+
 pkgname=gcc-libs
-pkgver=4.3.3
+pkgver=4.4.0
 pkgrel=1
-#_snapshot=4.3-20080724
+#_snapshot=4.4.0-RC-20090414
 pkgdesc="Runtime libraries shipped by GCC for C and C++ languages"
 arch=('i686' 'x86_64')
 license=('GPL' 'LGPL')
 groups=('base')
 url="http://gcc.gnu.org"
-depends=('glibc>=2.8-3')
-makedepends=('binutils>=2.19' 'gcc>=4.3.2' 'mpfr>=2.3.1' 'texinfo' 'flex')
+depends=('glibc>=2.8-5')
+makedepends=('binutils>=2.19' 'gcc>=4.4.0' 'mpfr>=2.4.1' 'texinfo' 'flex' 'cloog-ppl>=0.15.3')
 conflicts=('gcc-fortran' 'gcc-objc')
 provides=("gcc-objc=${pkgver}")
 options=('!libtool' '!emptydirs' '!docs')
 source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-{core,g++,fortran,objc}-${pkgver}.tar.bz2
 	#ftp://gcc.gnu.org/pub/gcc/snapshots/${_snapshot}/gcc-{core,g++,fortran,objc}-${_snapshot}.tar.bz2
 	gcc_pure64.patch
-	gcc-hash-style-both.patch
-	buildfix_new_bison.patch)
-md5sums=('1739288c2c7b1472796b33d641dbdbbd'
-         '18428e313a9927d38b313e688c62219b'
-         '8771e6190dd4f3178b2a7978d2380a5d'
-         '125b75947c763ba59b7ea95d3739d431'
+	gcc-hash-style-both.patch)
+md5sums=('c7e65c47fa94541f7f6cd0cf3d9c850b'
+         '687cceaed97c4145281b6418c9b16847'
+         '68f33643cbece51f9a04844a6c6b94c3'
+         '74b40bb4ab4532b34258293daf6b63f9'
          '4030ee1c08dd1e843c0225b772360e76'
-         'bb420bc84b1104455b7230b1cd4b96c2'
-         '412fb8ebb30958eb1a93e9bd89413dd7')
+         '6fd395bacbd7b6e47c7b74854b478363')
 
 build() {
   if ! locale -a | grep ^de_DE; then
@@ -44,17 +44,14 @@
     patch -Np1 -i ../gcc_pure64.patch || return 1
   fi
   patch -Np0 -i ${srcdir}/gcc-hash-style-both.patch || return 1
-  patch -Np0 -i ${srcdir}/buildfix_new_bison.patch || return 1
 
   # Don't run fixincludes
   sed -i -e 's@\./fixinc\.sh at -c true@' gcc/Makefile.in
 
-#  echo ${pkgver} > gcc/BASE-VER
-
   mkdir build
   cd build
   ../configure --prefix=/usr --enable-shared \
-      --enable-languages=c,c++,fortran,objc,obj-c++,treelang --enable-threads=posix \
+      --enable-languages=c,c++,fortran,objc,obj-c++ --enable-threads=posix \
       --enable-__cxa_atexit  --disable-multilib --libdir=/usr/lib \
       --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch \
       --with-tune=generic
@@ -67,6 +64,4 @@
   rm -rf ${pkgdir}/usr/bin
   rm -rf ${pkgdir}/usr{,share}/man
   find ${pkgdir} -name gcc.mo -delete
-
-#  rm -f {pkgdir}/usr/share/info/dir
 }

Modified: gcc-hash-style-both.patch
===================================================================
--- gcc-hash-style-both.patch	2009-04-22 12:41:22 UTC (rev 36437)
+++ gcc-hash-style-both.patch	2009-04-22 12:46:18 UTC (rev 36438)
@@ -78,8 +78,8 @@
    { "link_arch_default", LINK_ARCH_DEFAULT_SPEC },	  \
    { "link_arch",	 LINK_ARCH_SPEC },
  
--#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,/usr/lib %{shared:-shared} \
-+#define LINK_ARCH32_SPEC "-m elf32_sparc --hash-style=both -Y P,/usr/lib %{shared:-shared} \
+-#define LINK_ARCH32_SPEC "-m elf32_sparc -Y P,%R/usr/lib %{shared:-shared} \
++#define LINK_ARCH32_SPEC "-m elf32_sparc --hash-style=both -Y P,%R/usr/lib %{shared:-shared} \
    %{!shared: \
      %{!ibcs: \
        %{!static: \
@@ -87,8 +87,8 @@
          %{static:-static}}} \
  "
  
--#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,/usr/lib64 %{shared:-shared} \
-+#define LINK_ARCH64_SPEC "-m elf64_sparc --hash-style=both -Y P,/usr/lib64 %{shared:-shared} \
+-#define LINK_ARCH64_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
++#define LINK_ARCH64_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \
    %{!shared: \
      %{!ibcs: \
        %{!static: \
@@ -96,8 +96,8 @@
  #else /* !SPARC_BI_ARCH */
  
  #undef LINK_SPEC
--#define LINK_SPEC "-m elf64_sparc -Y P,/usr/lib64 %{shared:-shared} \
-+#define LINK_SPEC "-m elf64_sparc --hash-style=both -Y P,/usr/lib64 %{shared:-shared} \
+-#define LINK_SPEC "-m elf64_sparc -Y P,%R/usr/lib64 %{shared:-shared} \
++#define LINK_SPEC "-m elf64_sparc --hash-style=both -Y P,%R/usr/lib64 %{shared:-shared} \
    %{!shared: \
      %{!ibcs: \
        %{!static: \




More information about the arch-commits mailing list