[SCM] csound/master: Debian-specific hack for CMake to set an appropriate libsndfile version

fcahoon-guest at users.alioth.debian.org fcahoon-guest at users.alioth.debian.org
Tue Jun 12 01:17:17 UTC 2012


The following commit has been merged in the master branch:
commit a11eb74832f2de2102d9e104b051ac3324bb7744
Author: Forrest Cahoon <forrest.cahoon at gmail.com>
Date:   Sat Jun 9 20:31:18 2012 -0500

    Debian-specific hack for CMake to set an appropriate libsndfile version

diff --git a/debian/patches/2014-cmake-libsndfile-hack.patch b/debian/patches/2014-cmake-libsndfile-hack.patch
new file mode 100644
index 0000000..c1df729
--- /dev/null
+++ b/debian/patches/2014-cmake-libsndfile-hack.patch
@@ -0,0 +1,17 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -808,6 +808,14 @@
+     list(APPEND libcsound_CFLAGS -DWORDS_BIGENDIAN)
+ endif()
+ 
++# Debian-specific hack to to set the define for libsndfile
++# to the highest version needed for proper compilation.
++# The version is already higher in Debian stable, so this
++# should be no problem. Ideally, the CMake build will be
++# fixed to test the libsndfile version, at which point 
++# this hack can be removed. 
++list(APPEND libcsound_CFLAGS -DHAVE_LIBSNDFILE=1016)
++
+ add_compiler_flags(${libcsound_CFLAGS} TARGETS ${CSOUNDLIB})
+ 
+ target_link_libraries(${CSOUNDLIB} ${libcsound_LIBS})
diff --git a/debian/patches/series b/debian/patches/series
index 7c0c183..a471e18 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,5 @@
 2007-apidoc-dotpath.patch
 2008-apidoc-listings-pkg.patch
 2013-no-rawwave-defined.diff
+
+2014-cmake-libsndfile-hack.patch

-- 
csound packaging



More information about the pkg-multimedia-commits mailing list