gienah      15/07/09 14:24:51

  Added:                octave-4.0.0-llvm-3.5-gnulib-hg.patch
  Log:
  Fix Bug 554290 - sci-mathematics/octave-4.0.0 fails to build - syntax error 
near unexpected token -std=c++11, AX_CHECK_COMPILE_FLAG(-std=c++11,' - thanks 
to Nikolaos Chatzidakis for reporting, PL Hayes, Francisco Vazquez for helping. 
Correct --without-64 to --disable-64. Apply 
octave-4.0.0-llvm-3.5-gnulib-hg.patch from http://savannah.gnu.org/bugs/?41061 
to fix compile error with some configurations (gcc 4.8.3 in a mostly stable 
chroot with llvm 3.5.0, USE=jit)
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
618E971F)

Revision  Changes    Path
1.1                  
sci-mathematics/octave/files/octave-4.0.0-llvm-3.5-gnulib-hg.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/files/octave-4.0.0-llvm-3.5-gnulib-hg.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/octave/files/octave-4.0.0-llvm-3.5-gnulib-hg.patch?rev=1.1&content-type=text/plain

Index: octave-4.0.0-llvm-3.5-gnulib-hg.patch
===================================================================
diff -r 7f19e7f2afa2 lib/stddef.in.h
--- a/libgnu/stddef.in.h        Sat Feb 21 06:19:32 2015 -0800
+++ b/libgnu/stddef.in.h        Fri May 01 06:01:06 2015 +0200
@@ -82,6 +82,7 @@
 #endif
 
 /* Some platforms lack max_align_t.  */
+#ifndef _GCC_MAX_ALIGN_T
 #if !@HAVE_MAX_ALIGN_T@
 typedef union
 {
@@ -91,6 +92,7 @@
   long int __i;
 } max_align_t;
 #endif
+#endif
 
 #  endif /* _@GUARD_PREFIX@_STDDEF_H */
 # endif /* _@GUARD_PREFIX@_STDDEF_H */




Reply via email to