summaryrefslogtreecommitdiff
path: root/ham/gr-fcdproplus
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2014-10-13 13:53:19 +0000
committermef <mef@pkgsrc.org>2014-10-13 13:53:19 +0000
commitb6514ecefd3263ab74255635e7edb4e688a27bd3 (patch)
tree3adff8ce0c8d9d08c12b8c42ad86e57c69912c96 /ham/gr-fcdproplus
parent6871c5d92fcc4a76ed2b06d8c8bb592aa513b842 (diff)
downloadpkgsrc-b6514ecefd3263ab74255635e7edb4e688a27bd3.tar.gz
Missing one patch added.
Diffstat (limited to 'ham/gr-fcdproplus')
-rw-r--r--ham/gr-fcdproplus/patches/patch-CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/ham/gr-fcdproplus/patches/patch-CMakeLists.txt b/ham/gr-fcdproplus/patches/patch-CMakeLists.txt
new file mode 100644
index 00000000000..42ee5e0410c
--- /dev/null
+++ b/ham/gr-fcdproplus/patches/patch-CMakeLists.txt
@@ -0,0 +1,14 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2014/10/13 13:53:19 mef Exp $
+.. work/gr-fcdproplus/lib/hid/hid.c:47:20: fatal error: libusb.h: No such file or directory
+
+--- CMakeLists.txt.orig 2014-10-03 09:19:29.000000000 +0900
++++ CMakeLists.txt 2014-10-03 09:19:47.000000000 +0900
+@@ -44,7 +44,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SO
+ ########################################################################
+ if(CMAKE_COMPILER_IS_GNUCXX AND NOT WIN32)
+ #http://gcc.gnu.org/wiki/Visibility
+- add_definitions(-fvisibility=hidden)
++ add_definitions(-fvisibility=hidden -I@@PREFIX@@/include/libusb-1.0)
+ endif()
+ ########################################################################
+ # Find boost