mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
chromaprint: add recipe for version 1.3.
This commit is contained in:
24
media-libs/chromaprint/patches/chromaprint-1.3.patchset
Normal file
24
media-libs/chromaprint/patches/chromaprint-1.3.patchset
Normal file
@@ -0,0 +1,24 @@
|
||||
From da19f6b315b11e393848809ab8f9fe78fb2265d8 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Wed, 13 Apr 2016 23:38:21 +0000
|
||||
Subject: Haiku patch
|
||||
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c9f39f5..a9eb837 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -19,7 +19,9 @@ set(chromaprint_VERSION ${chromaprint_SOVERSION_MAJOR}.${chromaprint_SOVERSION_M
|
||||
set(chromaprint_SOVERSION ${chromaprint_SOVERSION_MAJOR})
|
||||
|
||||
include(CheckFunctionExists)
|
||||
-set(CMAKE_REQUIRED_LIBRARIES -lm)
|
||||
+if(NOT HAIKU)
|
||||
+ set(CMAKE_REQUIRED_LIBRARIES -lm)
|
||||
+endif()
|
||||
check_function_exists(lrintf HAVE_LRINTF)
|
||||
check_function_exists(round HAVE_ROUND)
|
||||
|
||||
--
|
||||
2.2.2
|
||||
|
||||
Reference in New Issue
Block a user