diff options
author | Ørjan Malde <red@foxi.me> | 2024-05-03 20:22:46 +0200 |
---|---|---|
committer | Ørjan Malde <red@foxi.me> | 2024-05-03 20:22:46 +0200 |
commit | e5d0ab7d28dd37f6dc60a6990f4de68311d57e40 (patch) | |
tree | fa1fc377cf63e81c6ac0a6f7ae76d7b9127d9c4f | |
parent | b2b8c4f28af40eddd30d95a6ca850384ff4e13b8 (diff) | |
download | midipix_build-e5d0ab7d28dd37f6dc60a6990f4de68311d57e40.tar.bz2 midipix_build-e5d0ab7d28dd37f6dc60a6990f4de68311d57e40.tar.xz |
groups.d/241.native_packages_inet.d/mblaze.package: adds mblaze
Signed-off-by: Ørjan Malde <red@foxi.me>
-rw-r--r-- | groups.d/241.native_packages_inet.d/mblaze.package | 9 | ||||
-rw-r--r-- | patches/mblaze.local.patch | 12 |
2 files changed, 21 insertions, 0 deletions
diff --git a/groups.d/241.native_packages_inet.d/mblaze.package b/groups.d/241.native_packages_inet.d/mblaze.package new file mode 100644 index 00000000..a03f6b1f --- /dev/null +++ b/groups.d/241.native_packages_inet.d/mblaze.package @@ -0,0 +1,9 @@ +: ${PKG_MBLAZE_DEPENDS:="libiconv"}; +: ${PKG_MBLAZE_URLS_GIT:="mblaze=https://github.com/leahneukirchen/mblaze.git@master"}; +: ${PKG_MBLAZE_CFLAGS_BUILD:="${NATIVE_PACKAGES_CFLAGS_CONFIGURE}"}; +: ${PKG_MBLAZE_LDFLAGS_BUILD:="${NATIVE_PACKAGES_LDFLAGS_CONFIGURE}"}; +: ${PKG_MBLAZE_BUILD_DIR:=mblaze}; + +ex_pkg_register "mblaze" "${RTL_FILEOP_SOURCE_FNAME}" "native_packages"; + +# vim:filetype=sh textwidth=0 diff --git a/patches/mblaze.local.patch b/patches/mblaze.local.patch new file mode 100644 index 00000000..154596d2 --- /dev/null +++ b/patches/mblaze.local.patch @@ -0,0 +1,12 @@ +diff -ru mblaze.orig/GNUmakefile mblaze/GNUmakefile +--- mblaze.orig/GNUmakefile 2024-05-03 20:09:12.010066998 +0200 ++++ mblaze/GNUmakefile 2024-05-03 20:17:36.525513874 +0200 +@@ -1,7 +1,7 @@ + CFLAGS?=-g -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 + override CFLAGS:=-Wall -Wno-switch -Wextra $(CFLAGS) + LDFLAGS?=-fstack-protector-strong +-LDLIBS=-lrt ++LDLIBS=-liconv + + OS := $(shell uname) + |