diff options
Diffstat (limited to 'comms/gammu/patches/patch-ad')
-rw-r--r-- | comms/gammu/patches/patch-ad | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/comms/gammu/patches/patch-ad b/comms/gammu/patches/patch-ad new file mode 100644 index 00000000000..4f7391ee8a1 --- /dev/null +++ b/comms/gammu/patches/patch-ad @@ -0,0 +1,34 @@ +$NetBSD: patch-ad,v 1.1.1.1 2009/05/25 12:50:01 wiz Exp $ + +use "BSD" not "FreeBSD" for Bluetooth support. + +--- libgammu/CMakeLists.txt.orig 2009-03-18 09:16:38.000000000 +0000 ++++ libgammu/CMakeLists.txt 2009-05-22 09:46:23.000000000 +0100 +@@ -76,9 +76,9 @@ + if (LIBUSB_FOUND) + list (APPEND LIBRARY_SRC device/usb/usb.c) + endif (LIBUSB_FOUND) +-if (FBSD_BLUE_FOUND) +- list (APPEND LIBRARY_SRC device/bluetoth/blue_fbsd.c) +-endif (FBSD_BLUE_FOUND) ++if (BSD_BLUE_FOUND) ++ list (APPEND LIBRARY_SRC device/bluetoth/blue_bsd.c) ++endif (BSD_BLUE_FOUND) + if (OSX_BLUE_FOUND) + list (APPEND LIBRARY_SRC device/bluetoth/blue_osx.c) + endif (OSX_BLUE_FOUND) +@@ -126,10 +126,10 @@ + include_directories (${LIBUSB_INCLUDE_DIR}) + endif (LIBUSB_FOUND) + +-if (FBSD_BLUE_FOUND) +- target_link_libraries (libGammu ${FBSD_BLUE_LIBRARIES}) +- include_directories (${FBSD_BLUE_INCLUDE_DIR}) +-endif (FBSD_BLUE_FOUND) ++if (BSD_BLUE_FOUND) ++ target_link_libraries (libGammu ${BSD_BLUE_LIBRARIES}) ++ include_directories (${BSD_BLUE_INCLUDE_DIR}) ++endif (BSD_BLUE_FOUND) + + if (OSX_BLUE_FOUND) + target_link_libraries (libGammu ${OSX_BLUE_LIBS}) |