pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

alure: Add flac link patch



Module Name:	pkgsrc-wip
Committed By:	bgermann <bastiangermann%fishpost.de@localhost>
Pushed By:	bgermann
Date:		Mon Sep 17 13:48:25 2018 +0200
Changeset:	2bb35711ef54ffa879ea15c78f33c155f718fd3f

Modified Files:
	alure/distinfo
Added Files:
	alure/patches/patch-CMakeLists.txt

Log Message:
alure: Add flac link patch

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2bb35711ef54ffa879ea15c78f33c155f718fd3f

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 alure/distinfo                     |  1 +
 alure/patches/patch-CMakeLists.txt | 24 ++++++++++++++++++++++++
 2 files changed, 25 insertions(+)

diffs:
diff --git a/alure/distinfo b/alure/distinfo
index 10f594e2b7..1806363e33 100644
--- a/alure/distinfo
+++ b/alure/distinfo
@@ -4,4 +4,5 @@ SHA1 (alure-1.2.tar.gz) = 82c40fe01c22c4869130b29d26139720401a5313
 RMD160 (alure-1.2.tar.gz) = 900120da54efa87aca9bae460f9f4d7d7b23aa3f
 SHA512 (alure-1.2.tar.gz) = 77c3064deeb0ae9a04c13895648d4c57dd6af803868c4db7489366dd698dbca2d162be84ec581df76417e99eb4b96c38032d690eb33f9fe1b7b352b4aa1c84c1
 Size (alure-1.2.tar.gz) = 85331 bytes
+SHA1 (patch-CMakeLists.txt) = 06f86259498a723ce8c159774aa2afbb7418a2ae
 SHA1 (patch-src_codec__fluidsynth.cpp) = 7042da99b93d722c3241094d7bb941250cb135f6
diff --git a/alure/patches/patch-CMakeLists.txt b/alure/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..b244f22bc2
--- /dev/null
+++ b/alure/patches/patch-CMakeLists.txt
@@ -0,0 +1,24 @@
+$NetBSD$
+
+Link FLAC correctly (from http://repo.or.cz/alure.git/commit/6934c17f9ace7fc19ea94623dab0a4b37d11a879)
+
+--- CMakeLists.txt.orig	2011-07-29 08:37:48.000000000 +0000
++++ CMakeLists.txt
+@@ -286,7 +286,7 @@ IF(FLAC)
+         SET(ALURE_OBJS ${ALURE_OBJS} src/codec_flac.cpp)
+     ENDIF(HAS_FLAC)
+ ELSE(FLAC)
+-    SET(LIBFLAC_LIBRARIES "")
++    SET(FLAC_LIBRARIES "")
+ ENDIF(FLAC)
+ 
+ # MPG123 support
+@@ -387,7 +387,7 @@ ENDIF(FLUIDSYNTH)
+ 
+ 
+ IF(NOT DYNLOAD)
+-    SET(EXTRA_LIBS ${SNDFILE_LIBRARIES} ${VORBISFILE_LIBRARIES} ${LIBFLAC_LIBRARIES} ${MPG123_LIBRARIES} ${DUMB_LIBRARIES} ${MODPLUG_LIBRARIES} ${FLUIDSYNTH_LIBRARIES} ${EXTRA_LIBS})
++    SET(EXTRA_LIBS ${SNDFILE_LIBRARIES} ${VORBISFILE_LIBRARIES} ${FLAC_LIBRARIES} ${MPG123_LIBRARIES} ${DUMB_LIBRARIES} ${MODPLUG_LIBRARIES} ${FLUIDSYNTH_LIBRARIES} ${EXTRA_LIBS})
+ ELSE(NOT DYNLOAD)
+     ADD_DEFINITIONS(-DDYNLOAD=1)
+ ENDIF(NOT DYNLOAD)


Home | Main Index | Thread Index | Old Index