pkgsrc-WIP-changes archive

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

alure: Enable fluidsynth with upstream patch



Module Name:	pkgsrc-wip
Committed By:	bgermann <bastiangermann%fishpost.de@localhost>
Pushed By:	bgermann
Date:		Thu Aug 30 12:57:14 2018 +0200
Changeset:	9b4b54da1183c05ebcd8443ba78c416b69763a55

Modified Files:
	alure/Makefile
	alure/distinfo
Added Files:
	alure/patches/patch-src_codec__fluidsynth.cpp

Log Message:
alure: Enable fluidsynth with upstream patch

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

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

diffstat:
 alure/Makefile                                |  3 ++-
 alure/distinfo                                |  1 +
 alure/patches/patch-src_codec__fluidsynth.cpp | 15 +++++++++++++++
 3 files changed, 18 insertions(+), 1 deletion(-)

diffs:
diff --git a/alure/Makefile b/alure/Makefile
index 699094cb77..e33d6456a6 100644
--- a/alure/Makefile
+++ b/alure/Makefile
@@ -12,12 +12,13 @@ LICENSE=	mit
 USE_CMAKE=	yes
 USE_TOOLS+=	pkg-config
 USE_LANGUAGES=	c c++
-CMAKE_ARGS+=	-DDUMB=OFF -DDYNLOAD=OFF -DFLUIDSYNTH=OFF -DMODPLUG=ON
+CMAKE_ARGS+=	-DDUMB=OFF -DDYNLOAD=OFF -DMODPLUG=ON
 
 PKGCONFIG_OVERRIDE+=	alure-static.pc.in
 PKGCONFIG_OVERRIDE+=	alure.pc.in
 
 .include "../../audio/flac/buildlink3.mk"
+.include "../../audio/fluidsynth/buildlink3.mk"
 .include "../../audio/libmodplug/buildlink3.mk"
 .include "../../audio/libsndfile/buildlink3.mk"
 .include "../../audio/libvorbis/buildlink3.mk"
diff --git a/alure/distinfo b/alure/distinfo
index 0337f14fb6..10f594e2b7 100644
--- a/alure/distinfo
+++ b/alure/distinfo
@@ -4,3 +4,4 @@ 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-src_codec__fluidsynth.cpp) = 7042da99b93d722c3241094d7bb941250cb135f6
diff --git a/alure/patches/patch-src_codec__fluidsynth.cpp b/alure/patches/patch-src_codec__fluidsynth.cpp
new file mode 100644
index 0000000000..227b904365
--- /dev/null
+++ b/alure/patches/patch-src_codec__fluidsynth.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+http://repo.or.cz/alure.git/patch/38e56406f47ee1322464e67b8fea8822856af61b
+
+--- src/codec_fluidsynth.cpp.orig	2011-07-29 08:37:48.000000000 +0000
++++ src/codec_fluidsynth.cpp
+@@ -29,6 +29,8 @@
+ #include <assert.h>
+ #ifdef _WIN32
+ #include <io.h>
++#else
++#include <unistd.h>
+ #endif
+ 
+ #include <istream>


Home | Main Index | Thread Index | Old Index