[SCM] petri-foo/master: Fix headers lookup to prevent FTBFS.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Mon Jun 18 16:15:02 UTC 2012


The following commit has been merged in the master branch:
commit f2c33b619f836ba0879507092a8af37c739b5c9a
Author: Alessio Treglia <alessio at debian.org>
Date:   Mon Jun 18 18:10:19 2012 +0200

    Fix headers lookup to prevent FTBFS.

diff --git a/debian/patches/0001-include_dirs.patch b/debian/patches/0001-include_dirs.patch
new file mode 100644
index 0000000..de2e237
--- /dev/null
+++ b/debian/patches/0001-include_dirs.patch
@@ -0,0 +1,29 @@
+Description: Fix headers lookup to prevent FTBFS.
+ Look for headers in the parent directory.
+ Put the generate config.h into the sources root.
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: no
+---
+ CMakeLists.txt             |    2 +-
+ libpetrifoo/CMakeLists.txt |    2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+--- petri-foo.orig/libpetrifoo/CMakeLists.txt
++++ petri-foo/libpetrifoo/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-include_directories ( . )
++include_directories ( . .. )
+ 
+ ADD_SUBDIRECTORY( patch_private )
+ 
+--- petri-foo.orig/CMakeLists.txt
++++ petri-foo/CMakeLists.txt
+@@ -129,7 +129,7 @@ INCLUDE (CheckIncludeFiles)
+ CHECK_INCLUDE_FILES (malloc.h HAVE_MALLOC_H)
+ CHECK_INCLUDE_FILES (jack/session.h HAVE_JACK_SESSION_H)
+ CONFIGURE_FILE( ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
+-                ${CMAKE_CURRENT_BINARY_DIR}/config.h )
++                ${CMAKE_CURRENT_SOURCE_DIR}/config.h )
+ 
+ link_libraries(m)
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7b23ea3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-include_dirs.patch

-- 
petri-foo packaging



More information about the pkg-multimedia-commits mailing list