summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/swig/swig
Commit message (Collapse)AuthorAgeFilesLines
* swig: fix gcc8 warnings for cast between incompatible function typesYi Zhao2018-08-151-0/+191
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: f0f8ee668de34ad30ca16f5300966a3470018940) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* swig: fix patch headersRoss Burton2018-05-151-1/+1
| | | | | | | (From OE-Core rev: 83cd7a36c0ea7d1286abd3508a26b85db8760932) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* swig: Replace strncpy with memcpyKhem Raj2018-05-151-0/+36
| | | | | | | | | | | gcc8 is detecting string truncations when swig is used in other packages (From OE-Core rev: 828ae03da4468b4c672f71e1b4cac9b8fff73d2d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* swig: add patch to support Node.js 7+Paul Eggleton2017-12-181-0/+330
| | | | | | | | | | | | | | 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]. (From OE-Core rev: 1825473ba35b4557db99786420ca451068922223) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* swig: add package 3.0.6Wenzong Fan2015-08-242-0/+133
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 ... (From OE-Core rev: 66923c6776da13bd4513a73c3f7c5e60d74eb0f3) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>