From: hschang Date: Mon, 9 Nov 2015 02:11:17 +0000 (+0900) Subject: [satipclient] fix vtuner defines at kver >= 3.14 X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_openvuplus_3.0;a=commitdiff_plain;h=c76f2818c3ff0a9e5b2a2e8ba9d64031db5ace12;ds=sidebyside [satipclient] fix vtuner defines at kver >= 3.14 --- diff --git a/meta-openvuplus/recipes-vuplus/satipclient/satipclient.bb b/meta-openvuplus/recipes-vuplus/satipclient/satipclient.bb index 92e5221..cc3ca03 100644 --- a/meta-openvuplus/recipes-vuplus/satipclient/satipclient.bb +++ b/meta-openvuplus/recipes-vuplus/satipclient/satipclient.bb @@ -3,7 +3,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=2c1c00f9d3ed9e24fa69b932b7e7aff2" SRCDATE = "20150706" -SRCDATE_PR = "r0" +SRCDATE_PR = "r1" PR = "${SRCDATE}.${SRCDATE_PR}" SRC_REV = "" @@ -13,6 +13,8 @@ SRC_URI = " \ file://satipclient.sh \ " +SRC_URI += "${@base_version_less_or_equal('VUPLUS_KERNEL_VERSION', '3.13.5', '', 'file://satip_fix_vtuner_def.patch', d)}" + S = "${WORKDIR}/git" inherit autotools update-rc.d diff --git a/meta-openvuplus/recipes-vuplus/satipclient/satipclient/satip_fix_vtuner_def.patch b/meta-openvuplus/recipes-vuplus/satipclient/satipclient/satip_fix_vtuner_def.patch new file mode 100644 index 0000000..2061fd5 --- /dev/null +++ b/meta-openvuplus/recipes-vuplus/satipclient/satipclient/satip_fix_vtuner_def.patch @@ -0,0 +1,32 @@ +diff --git a/vtuner.h b/vtuner.h +index dcc94f8..cac8baf 100644 +--- a/vtuner.h ++++ b/vtuner.h +@@ -78,13 +78,13 @@ struct vtuner_message { + } body; + }; + +-#define VTUNER_GET_MESSAGE 1 +-#define VTUNER_SET_RESPONSE 2 +-#define VTUNER_SET_NAME 3 +-#define VTUNER_SET_TYPE 4 +-#define VTUNER_SET_HAS_OUTPUTS 5 +-#define VTUNER_SET_FE_INFO 6 +-#define VTUNER_SET_DELSYS 7 ++#define VTUNER_GET_MESSAGE 11 ++#define VTUNER_SET_RESPONSE 12 ++#define VTUNER_SET_NAME 13 ++#define VTUNER_SET_TYPE 14 ++#define VTUNER_SET_HAS_OUTPUTS 15 ++#define VTUNER_SET_FE_INFO 16 ++#define VTUNER_SET_DELSYS 17 + + + class satipVtuner +@@ -111,4 +111,4 @@ public: + bool isOpened() { return m_openok; } + }; + +-#endif // __VTUNER_H__ +\ No newline at end of file ++#endif // __VTUNER_H__