Package: cxxtools
Version: 2.0-1
Followup-For: Bug #640827
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

In Debian sid, the attached patch can be applied to achieve the following:

  * Add arm_gcc4.6_ftbfs_fix from upstream r1136 to resolve FTBFS.
    (Closes: #640827)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric-proposed'), (500, 'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru cxxtools-2.0/debian/patches/arm_gcc4.6_ftbfs_fix cxxtools-2.0/debian/patches/arm_gcc4.6_ftbfs_fix
--- cxxtools-2.0/debian/patches/arm_gcc4.6_ftbfs_fix	1969-12-31 19:00:00.000000000 -0500
+++ cxxtools-2.0/debian/patches/arm_gcc4.6_ftbfs_fix	2011-10-27 20:35:58.000000000 -0400
@@ -0,0 +1,13 @@
+Index: src/atomicity.gcc.arm.cpp
+===================================================================
+--- a/src/atomicity.gcc.arm.cpp	(revision 1135)
++++ b/src/atomicity.gcc.arm.cpp	(revision 1136)
+@@ -125,7 +125,7 @@
+                    : "=&r" (a), "=&r" (b)
+                    : "r" (&dest), "r" (exch), "r" (comp)
+                    : "cc", "memory");
+-    return a;
++    return (void*)a;
+ }
+ 
+ 
diff -Nru cxxtools-2.0/debian/patches/series cxxtools-2.0/debian/patches/series
--- cxxtools-2.0/debian/patches/series	2011-08-08 06:30:43.000000000 -0400
+++ cxxtools-2.0/debian/patches/series	2011-10-27 20:35:46.000000000 -0400
@@ -2,3 +2,4 @@
 no_shared_flag
 iconvstream_size_t_fix
 configure.in_fix
+arm_gcc4.6_ftbfs_fix

Reply via email to