Package: src:gccxml
Tags: patch

It helps if the patch is actually attached. :)


--
Mauricio Faria de Oliveira
IBM Linux Technology Center
diff -Nru gccxml-0.9.0+git20140716/debian/changelog 
gccxml-0.9.0+git20140716/debian/changelog
--- gccxml-0.9.0+git20140716/debian/changelog   2014-07-16 05:51:59.000000000 
-0300
+++ gccxml-0.9.0+git20140716/debian/changelog   2014-09-22 14:56:21.000000000 
-0300
@@ -1,3 +1,9 @@
+gccxml (0.9.0+git20140716-1ppc64el1) UNRELEASED; urgency=medium
+
+  * Add 'powerpc64le-unknown-linux-gnu' to 'GCC/gcc/config.gcc' (fix FTBFS). 
+
+ -- Mauricio Faria de Oliveira <mauri...@linux.vnet.ibm.com>  Mon, 22 Sep 2014 
14:55:55 -0300
+
 gccxml (0.9.0+git20140716-1) unstable; urgency=medium
 
   * Team upload.
diff -Nru gccxml-0.9.0+git20140716/debian/patches/ppc64el-config-gcc.patch 
gccxml-0.9.0+git20140716/debian/patches/ppc64el-config-gcc.patch
--- gccxml-0.9.0+git20140716/debian/patches/ppc64el-config-gcc.patch    
1969-12-31 21:00:00.000000000 -0300
+++ gccxml-0.9.0+git20140716/debian/patches/ppc64el-config-gcc.patch    
2014-09-22 14:56:59.000000000 -0300
@@ -0,0 +1,31 @@
+Index: gccxml-0.9.0+git20140716/GCC/gcc/config.gcc
+===================================================================
+--- gccxml-0.9.0+git20140716.orig/GCC/gcc/config.gcc
++++ gccxml-0.9.0+git20140716/GCC/gcc/config.gcc
+@@ -301,7 +301,7 @@ powerpc*-*-*)
+       extra_headers="ppc-asm.h altivec.h spe.h"
+       need_64bit_hwint=yes
+       case x$with_cpu in
+-          xpowerpc64|xdefault64|x6[23]0|x970|xG5|xpower[3456]|xrs64a)
++          
xpowerpc64|xpowerpc64le|xdefault64|x6[23]0|x970|xG5|xpower[3456]|xrs64a)
+               cpu_is_64bit=yes
+               ;;
+       esac
+@@ -1692,7 +1692,7 @@ pdp11-*-*)
+ #     tmake_file="${tmake_file} rs6000/t-fprules rs6000/t-fprules-fpbit "
+ #     extra_headers=
+ #     ;;
+-powerpc64-*-linux*)
++powerpc64-*-linux* | powerpc64le-*-linux*)
+       tm_file="${tm_file} dbxelf.h elfos.h svr4.h freebsd-spec.h 
rs6000/sysv4.h"
+       test x$with_cpu != x || cpu_is_64bit=yes
+       test x$cpu_is_64bit != xyes || tm_file="${tm_file} rs6000/default64.h"
+@@ -2870,7 +2870,7 @@ case "${target}" in
+                               eval "with_$which=405"
+                               ;;
+                       "" | common \
+-                      | power | power[23456] | powerpc | powerpc64 \
++                      | power | power[23456] | powerpc | powerpc64 | 
powerpc64le \
+                       | rios | rios1 | rios2 | rsc | rsc1 | rs64a \
+                       | 401 | 403 | 405 | 405fp | 440 | 440fp | 505 \
+                       | 601 | 602 | 603 | 603e | ec603e | 604 \
diff -Nru gccxml-0.9.0+git20140716/debian/patches/series 
gccxml-0.9.0+git20140716/debian/patches/series
--- gccxml-0.9.0+git20140716/debian/patches/series      2014-07-16 
05:16:21.000000000 -0300
+++ gccxml-0.9.0+git20140716/debian/patches/series      2014-09-22 
14:56:34.000000000 -0300
@@ -1,2 +1,3 @@
 01_remove-xatexit.diff
 debian-tests
+ppc64el-config-gcc.patch

Reply via email to