summaryrefslogtreecommitdiff
path: root/multimedia/xbmc/patches/cwiid-old-api.patch
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2013-02-19 23:02:47 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-02-22 22:27:47 -0600
commit18b442c44cd27bcbb95e75a50f61a731015005a0 (patch)
treefae5cab06f07fdc1422ad18d7354f33c3c8f5a21 /multimedia/xbmc/patches/cwiid-old-api.patch
parentca3d9c6f1ce13f455922510371ef4781bb5347ff (diff)
downloadslackbuilds-18b442c44cd27bcbb95e75a50f61a731015005a0.tar.gz
multimedia/xbmc: Updated for version 12.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/xbmc/patches/cwiid-old-api.patch')
-rw-r--r--multimedia/xbmc/patches/cwiid-old-api.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/multimedia/xbmc/patches/cwiid-old-api.patch b/multimedia/xbmc/patches/cwiid-old-api.patch
new file mode 100644
index 0000000000..a9cb4431cb
--- /dev/null
+++ b/multimedia/xbmc/patches/cwiid-old-api.patch
@@ -0,0 +1,16 @@
+diff -Naur xbmc-12.0.orig/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp xbmc-12.0/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp
+--- xbmc-12.0.orig/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp 2013-01-29 14:20:27.000000000 +0000
++++ xbmc-12.0/tools/EventClients/Clients/WiiRemote/CWIID_WiiRemote.cpp 2013-02-02 23:13:08.422456751 +0000
+@@ -100,9 +100,11 @@
+ g_WiiRemote.ProcessNunchuck(mesg[i].nunchuk_mesg);
+ break;
+ case CWIID_MESG_ACC:
+- case CWIID_MESG_BALANCE:
+ case CWIID_MESG_CLASSIC:
++#ifndef CWIID_OLD
++ case CWIID_MESG_BALANCE:
+ case CWIID_MESG_MOTIONPLUS:
++#endif
+ //Not implemented
+ break;
+ case CWIID_MESG_UNKNOWN: