aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/swig/swig
AgeCommit message (Collapse)Author
2018-08-15swig: fix gcc8 warnings for cast between incompatible function typesYi Zhao
We got an error when building setools in meta-selinux: setools/policyrep/qpol_wrap.c:1819:23: error: cast between incompatible function types from 'PyObject * (*)(PyObject *)' {aka 'struct _object * (*)(struct _object *)'} to 'PyObject * (*)(PyObject *, PyObject *)' {aka 'struct _object * (*)(struct _object *, struct _object *)'} [-Werror=cast-function-type] {(char *)"disown", (PyCFunction)SwigPyObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"}, This is a swig issue. See: https://github.com/swig/swig/issues/1259 Backport a patch from upstream to fix it. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-05-15swig: fix patch headersRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com>
2018-05-15swig: Replace strncpy with memcpyKhem Raj
gcc8 is detecting string truncations when swig is used in other packages Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2017-12-18swig: add patch to support Node.js 7+Paul Eggleton
Add a patch which has been submitted upstream to support producing bindings for Node.js 7+. This is important to enable mraa to build with newer Node.js versions. Fixes [YOCTO #12293]. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-08-24swig: add package 3.0.6Wenzong Fan
Ackage from meta-oe to oe-core: meta-oe commit: 9cc54e10efa5ca70d9980f833a8e5a310e5ad21d It's required for libcap-ng to build python bindings. With adding it to oe-core, the copies from following layers could be removed: * meta-oe, meta-selinux, meta-intel-iot-middleware ... Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>