tag 532340 patch pending tag 532301 patch pending thanks Hi Paul!
As Aurélien Jarno reported on the -bsd mailing list, fftw3 is going to be a blocker for the GNU/kFreeBSD ports, that's why we'd like to get it fixed ASAP. Please find attached a debdiff for the intended NMU. Aurélien checked that it built successfully on powerpc, kfreebsd-i386 and kfreebsd-amd64 (and I did the amd64 part). If you don't have any objection, I'm probably going to upload it in the next days. Mraw, KiBi.
diff -u fftw3-3.2.1/debian/rules fftw3-3.2.1/debian/rules --- fftw3-3.2.1/debian/rules +++ fftw3-3.2.1/debian/rules @@ -37,7 +37,8 @@ # altivec detection and compilation broken archconfflags_single := --enable-altivec archconfflags := $(archconfflags) --with-gcc-arch=G5 - CFLAGS += -maltivec + # Disabled (FTBFS, #532340): + # CFLAGS += -maltivec endif endif diff -u fftw3-3.2.1/debian/changelog fftw3-3.2.1/debian/changelog --- fftw3-3.2.1/debian/changelog +++ fftw3-3.2.1/debian/changelog @@ -1,3 +1,15 @@ +fftw3 (3.2.1-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix FTBFS on powerpc: stop passing “-maltivec” through CFLAGS in + debian/rules, thanks to Aurélien Jarno (closes: #532340). + * Fix FTBFS on GNU/kFreeBSD: improve the detection of POSIX semaphores + (they can be shared or non-shared, and GNU/kFreeBSD only supports + the latter), thanks to Petr Salinger (closes: #532301): + + 04_improve_semaphore_detection.diff + + -- Cyril Brulebois <k...@debian.org> Wed, 17 Jun 2009 16:31:24 +0200 + fftw3 (3.2.1-2) unstable; urgency=low * Move texinfo from Build-Depends-Indep to Build-Depends (closes: #522502) diff -u fftw3-3.2.1/debian/patches/series fftw3-3.2.1/debian/patches/series --- fftw3-3.2.1/debian/patches/series +++ fftw3-3.2.1/debian/patches/series @@ -3,2 +3,3 @@ 03_fix_manpages.diff +04_improve_semaphore_detection.diff 10_uptodate_configure.diff only in patch2: unchanged: --- fftw3-3.2.1.orig/debian/patches/04_improve_semaphore_detection.diff +++ fftw3-3.2.1/debian/patches/04_improve_semaphore_detection.diff @@ -0,0 +1,12 @@ +--- a/threads/threads.c ++++ b/threads/threads.c +@@ -34,7 +34,8 @@ + #endif + + /* imlementation of semaphores and mutexes: */ +-#if (defined(_POSIX_SEMAPHORES) && (_POSIX_SEMAPHORES >= 200112L)) ++#if (defined(_POSIX_SEMAPHORES) && (_POSIX_SEMAPHORES >= 200112L)) \ ++ && defined(_POSIX_THREAD_PROCESS_SHARED) && (_POSIX_THREAD_PROCESS_SHARED >= 200112L) + + /* If optional POSIX semaphores are supported, use them to + implement both semaphores and mutexes. */
signature.asc
Description: Digital signature