mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-16 18:40:03 +00:00
9e57cd65cc
* Fix incompatible pointer type error in signal function parameter
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:101:22: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
101 | signal (SIGUSR1, deviceHotPlug);
| ^~~~~~~~~~~~~
| |
| void (*)(void)
In file included from TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:25:
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/git/tools/cyusbserialtest.c:83:6: note: 'deviceHotPlug' declared here
83 | void deviceHotPlug () {
| ^~~~~~~~~~~~~
TOPDIR/tmp/work/core2-64-oe-linux/libcyusbserial/1.0.0+git/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
Signed-off-by: mark.yang <mark.yang@lge.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 lines
721 B
BlitzBasic
22 lines
721 B
BlitzBasic
SUMMARY = "Enable userspace control of Cypress USB-Serial bridge devices"
|
|
HOMEPAGE = "https://github.com/cyrozap/libcyusbserial"
|
|
BUGTRACKER = "https://github.com/cyrozap/libcyusbserial/issues"
|
|
LICENSE = "LGPL-2.1-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING.LESSER.txt;md5=4fbd65380cdd255951079008b364516c"
|
|
DEPENDS = "libusb udev"
|
|
|
|
PV = "1.0.0+git"
|
|
|
|
SRCREV = "655e2d544183d094f0e2d119c7e0c6206a0ddb3f"
|
|
SRC_URI = "git://github.com/cyrozap/${BPN}.git;branch=master;protocol=https \
|
|
file://0001-CMakeLists.txt-don-t-fall-back-CMAKE_INSTALL_LIBDIR-.patch \
|
|
file://0001-Fix-gcc-15-incompatible-pointer-types-error.patch \
|
|
"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit cmake
|
|
|
|
PACKAGES =+ "${PN}-utils"
|
|
FILES:${PN}-utils = "${bindir}/*"
|