summaryrefslogtreecommitdiff
path: root/libre/hydrogen-libre/lrdf_raptor2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libre/hydrogen-libre/lrdf_raptor2.patch')
-rw-r--r--libre/hydrogen-libre/lrdf_raptor2.patch24
1 files changed, 13 insertions, 11 deletions
diff --git a/libre/hydrogen-libre/lrdf_raptor2.patch b/libre/hydrogen-libre/lrdf_raptor2.patch
index ec176b716..efec16700 100644
--- a/libre/hydrogen-libre/lrdf_raptor2.patch
+++ b/libre/hydrogen-libre/lrdf_raptor2.patch
@@ -1,11 +1,13 @@
-diff -baur hydrogen-0.9.5.old/Sconstruct hydrogen-0.9.5/Sconstruct
---- hydrogen-0.9.5.old/Sconstruct 2011-08-11 18:00:07.889112348 +0800
-+++ hydrogen-0.9.5/Sconstruct 2011-08-11 18:00:34.945632437 +0800
-@@ -83,6 +83,7 @@
- includes.append( './' )
- includes.append( 'gui/src/' )
- includes.append( '3rdparty/install/include' )
-+ includes.append( '/usr/include/raptor2' )
-
- if sys.platform == "darwin":
- ldflags.append( '-L/opt/local/lib' )
+diff -baur hydrogen-0.9.6.orig/CMakeLists.txt hydrogen-0.9.6/CMakeLists.txt
+--- hydrogen-0.9.6.orig/CMakeLists.txt 2014-08-11 15:10:25.960752930 +0600
++++ hydrogen-0.9.6/CMakeLists.txt 2014-08-11 17:01:48.001219876 +0600
+@@ -193,6 +193,9 @@
+ FIND_HELPER(PULSEAUDIO pulseaudio pulse/pulseaudio.h pulse)
+ FIND_HELPER(LASH lash-1.0 lash/lash.h lash)
+ FIND_HELPER(LRDF lrdf lrdf.h lrdf)
++IF(LRDF_FOUND)
++ include_directories(${LRDF_INCLUDE_DIRS})
++ENDIF(LRDF_FOUND)
+ FIND_HELPER(RUBBERBAND rubberband RubberBandStretcher.h rubberband)
+ FIND_HELPER(CPPUNIT cppunit cppunit/TestCase.h cppunit)
+ # CHECK FOR Qt4