summaryrefslogtreecommitdiffstats
path: root/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-02-19 14:18:33 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-01 22:19:16 +0100
commitb9ea113f69f0edbbc7c8df6eec84f2cb312e637e (patch)
treeeade297687cf182f768b62e97748b2d6b1b598fb /package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch
parentbfad6ea9b1f58f2ff98643dd1d4a7f2fb97c7049 (diff)
downloadbuildroot-b9ea113f69f0edbbc7c8df6eec84f2cb312e637e.tar.gz
buildroot-b9ea113f69f0edbbc7c8df6eec84f2cb312e637e.zip
package/cwiid: bump version
kodi needs CWIID_MESG_BALANCE https://github.com/xbmc/xbmc/blob/Krypton/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp#L106 It was added after the last cwiid release, which took place 2009: https://github.com/abstrakraft/cwiid/commit/2174214bc2caca51aa49a47025ccb80b3f75e53f Instead of adding another 20k-sized patch we switch to the upstream github repo and bump to its HEAD commit, dating back to 2010. By doing this we can remove two patches which were applied upstream: 0001-fix-link-options-for-as-needed-90.patch https://github.com/abstrakraft/cwiid/commit/6af678616531eb1f3d3d0a052313ef9d8125bac7 0002-Update-for-BlueZ-changes.patch https://github.com/abstrakraft/cwiid/commit/c5dd7d4a9af5a7d8ead8ad26d9e5e0f8f8292d29 The remaining patches were renumbered. This patch is needed for the upcoming Kodi version bump which also adds optional cwiid support. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch')
-rw-r--r--package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch b/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch
new file mode 100644
index 0000000000..e1e4ec485e
--- /dev/null
+++ b/package/cwiid/0001-wmdemo-fix-linking-by-adding-the-missing-lbluetooth-.patch
@@ -0,0 +1,27 @@
+From af6bffb5b8b71e99e0f9bbbd2cf1fbd695a643c2 Mon Sep 17 00:00:00 2001
+From: Samuel Martin <s.martin49@gmail.com>
+Date: Sat, 8 Dec 2012 13:32:40 +0100
+Subject: [PATCH 1/2] wmdemo: fix linking by adding the missing -lbluetooth to
+ LDLIBS
+
+Signed-off-by: Samuel Martin <s.martin49@gmail.com>
+---
+ wmdemo/Makefile.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/wmdemo/Makefile.in b/wmdemo/Makefile.in
+index 56aed58..1eccc02 100644
+--- a/wmdemo/Makefile.in
++++ b/wmdemo/Makefile.in
+@@ -8,7 +8,7 @@ SOURCES = wmdemo.c
+
+ CFLAGS += -I@top_builddir@/libcwiid
+ LDFLAGS += -L@top_builddir@/libcwiid
+-LDLIBS += -lcwiid
++LDLIBS += -lcwiid -lbluetooth
+ INST_DIR = @bindir@
+
+ include $(COMMON)/include/app.mak
+--
+1.8.5.2
+
OpenPOWER on IntegriCloud