diff options
author | 2024-01-31 23:32:03 +0100 | |
---|---|---|
committer | 2024-02-06 14:03:13 +0100 | |
commit | 17aca6a56e9b8b49fd189f1c060083af06565eb1 (patch) | |
tree | 142add530c314db3541d1a06b792eaded1f847d1 /dev-python/leechcorepyc/files | |
parent | dev-python/sphinxemoji: Bump to 0.3.1 (diff) | |
download | gentoo-17aca6a56e9b8b49fd189f1c060083af06565eb1.tar.gz gentoo-17aca6a56e9b8b49fd189f1c060083af06565eb1.tar.bz2 gentoo-17aca6a56e9b8b49fd189f1c060083af06565eb1.zip |
dev-python/leechcorepyc: add 2.16.9
Closes: https://bugs.gentoo.org/922738
Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/35123
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/leechcorepyc/files')
-rw-r--r-- | dev-python/leechcorepyc/files/leechcorepyc-2.16.9-respect-CC.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.16.9-respect-CC.patch b/dev-python/leechcorepyc/files/leechcorepyc-2.16.9-respect-CC.patch new file mode 100644 index 000000000000..7ad3aac070ab --- /dev/null +++ b/dev-python/leechcorepyc/files/leechcorepyc-2.16.9-respect-CC.patch @@ -0,0 +1,30 @@ +--- a/leechcore/Makefile ++++ b/leechcore/Makefile +@@ -1,5 +1,6 @@ +-CC=gcc
+-CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `pkg-config libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS += -I. -D LINUX -D _GNU_SOURCE -shared -fPIC -fvisibility=hidden -pthread `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
+ # DEBUG FLAGS BELOW
+ # export ASAN_OPTIONS=strict_string_checks=1:detect_stack_use_after_return=1:check_initialization_order=1:strict_init_order=1:detect_invalid_pointer_pairs=2
+ # CFLAGS += -g -O0 -Wextra -Wno-unused-parameter -Wno-cast-function-type
+--- a/leechcore_device_rawtcp/Makefile ++++ b/leechcore_device_rawtcp/Makefile +@@ -1,4 +1,4 @@ +-CC=gcc ++CC?=gcc + CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden + LDFLAGS += -g -shared + DEPS = +--- a/leechcore_ft601_driver_linux/Makefile ++++ b/leechcore_ft601_driver_linux/Makefile +@@ -1,5 +1,6 @@ +-CC=gcc
+-CFLAGS += -I. -D LINUX -shared -fPIC -fvisibility=hidden `pkg-config libusb-1.0 --libs --cflags`
++CC?=gcc
++PKG_CONFIG ?= pkg-config
++CFLAGS += -I. -D LINUX -shared -fPIC -fvisibility=hidden `$(PKG_CONFIG) libusb-1.0 --libs --cflags`
+ LDFLAGS += -g -shared
+ DEPS = leechcore_ft601_driver_linux.h
+ OBJ = fpga_libusb.o leechcore_ft601_driver_linux.o
|