From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in media-sound/csound/files: csound-5.17.6-porttime-in-portmidi.patch |
Date: | Tue, 29 May 2012 11:01:08 |
Message-Id: | 20120529110058.B1AD72004C@flycatcher.gentoo.org |
1 | radhermit 12/05/29 11:00:58 |
2 | |
3 | Added: csound-5.17.6-porttime-in-portmidi.patch |
4 | Log: |
5 | Fix build with portmidi (bug #417769). |
6 | |
7 | (Portage version: 2.2.0_alpha108/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 media-sound/csound/files/csound-5.17.6-porttime-in-portmidi.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/csound/files/csound-5.17.6-porttime-in-portmidi.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/csound/files/csound-5.17.6-porttime-in-portmidi.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: csound-5.17.6-porttime-in-portmidi.patch |
16 | =================================================================== |
17 | --- Csound5.17.6/InOut/CMakeLists.txt |
18 | +++ Csound5.17.6/InOut/CMakeLists.txt |
19 | @@ -26,7 +26,6 @@ |
20 | endif() |
21 | if(USE_PORTMIDI) |
22 | find_library(PORTMIDI_LIBRARY portmidi) |
23 | - find_library(PORTTIME_LIBRARY porttime) |
24 | check_include_file(portmidi.h PORTMIDI_HEADER) |
25 | endif() |
26 | if(USE_JACK) |
27 | @@ -116,9 +115,6 @@ |
28 | check_deps(USE_PORTMIDI PORTMIDI_HEADER PORTMIDI_LIBRARY) |
29 | if(USE_PORTMIDI) |
30 | set(pmidi_LIBS ${PORTMIDI_LIBRARY}) |
31 | - if(NOT APPLE) |
32 | - list(APPEND pmidi_LIBS ${PORTTIME_LIBRARY}) |
33 | - endif() |
34 | if(WIN32) |
35 | list(APPEND pmidi_LIBS ${CSOUND_WINDOWS_LIBRARIES}) |
36 | endif() |