diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-python/leechcorepyc/files | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-python/leechcorepyc/files')
| -rw-r--r-- | dev-python/leechcorepyc/files/leechcorepyc-2.19.2-cflags-ldflags.patch | 19 | ||||
| -rw-r--r-- | dev-python/leechcorepyc/files/leechcorepyc-2.21.0-respect-CC.patch | 30 |
2 files changed, 0 insertions, 49 deletions
diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.19.2-cflags-ldflags.patch b/dev-python/leechcorepyc/files/leechcorepyc-2.19.2-cflags-ldflags.patch deleted file mode 100644 index 23e796dbf732..000000000000 --- a/dev-python/leechcorepyc/files/leechcorepyc-2.19.2-cflags-ldflags.patch +++ /dev/null @@ -1,19 +0,0 @@ -From: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de> -Bug: https://bugs.gentoo.org/927935 -Bug: https://bugs.gentoo.org/934210 - -Remove debugging warning treatment CFLAGS which should only be set by -make.conf. Move linker flags from CFLAGS to LDFLAGS. - ---- a/leechcore_device_qemu/Makefile -+++ b/leechcore_device_qemu/Makefile -@@ -1,7 +1,7 @@ - CC=gcc - # -Wno-unused-variable -> unused variable in leechcore.h --CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -lrt -l:leechcore.so -L. -lm -fvisibility=hidden -g -Wall -Werror -Wextra -Wno-unused-variable --LDFLAGS += -Wl,-rpath,'$$ORIGIN' -g -ldl -shared -+CFLAGS += -I. -I../includes -D LINUX -shared -fPIC -fvisibility=hidden -+LDFLAGS += -Wl,-rpath,'$$ORIGIN' -lrt -lm -ldl -shared -L. -lleechcore.so - OBJ = leechcore_device_qemu.o - - %.o: %.c $(DEPS) diff --git a/dev-python/leechcorepyc/files/leechcorepyc-2.21.0-respect-CC.patch b/dev-python/leechcorepyc/files/leechcorepyc-2.21.0-respect-CC.patch deleted file mode 100644 index a894e84a6423..000000000000 --- a/dev-python/leechcorepyc/files/leechcorepyc-2.21.0-respect-CC.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/leechcore/Makefile -+++ b/leechcore/Makefile -@@ -1,5 +1,6 @@ --CC=gcc
--CFLAGS += -I. -I../includes/ -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. -I../includes/ -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 |
