diff --git a/srcpkgs/mg/patches/ncurses.patch b/srcpkgs/mg/patches/ncurses.patch new file mode 100644 index 00000000000000..3a5ba8c109217a --- /dev/null +++ b/srcpkgs/mg/patches/ncurses.patch @@ -0,0 +1,11 @@ +--- a/GNUmakefile ++++ b/GNUmakefile +@@ -44,7 +44,7 @@ + $(error You probably need to install "libbsd-dev" or "libbsd-devel" or something like that.) + endif + +-CURSES_LIBS:= $(shell $(PKG_CONFIG) --libs ncurses) ++CURSES_LIBS:= $(shell $(PKG_CONFIG) --libs ncursesw) + ifeq ($(CURSES_LIBS),) + $(error You probably need to install "libncurses5-dev" or "libncurses6-devel" or something like that.) + endif diff --git a/srcpkgs/mg/patches/pkg-config-ncurses.patch b/srcpkgs/mg/patches/pkg-config-ncurses.patch deleted file mode 100644 index 2ec68c1ebdc27d..00000000000000 --- a/srcpkgs/mg/patches/pkg-config-ncurses.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/GNUmakefile 2016-09-05 13:51:19.133051791 +0200 -+++ b/GNUmakefile 2016-09-05 13:51:29.519052327 +0200 -@@ -13,7 +13,7 @@ - includedir= $(prefix)/include - mandir= $(prefix)/man - --PKG_CONFIG= /usr/bin/pkg-config --silence-errors -+PKG_CONFIG= pkg-config --silence-errors - INSTALL= /usr/bin/install - STRIP= /usr/bin/strip - -@@ -33,7 +33,7 @@ - $(error You probably need to install "libbsd-dev" or "libbsd-devel" or something like that.) - endif - --CURSES_LIBS:= $(shell $(PKG_CONFIG) --libs ncurses) -+CURSES_LIBS:= $(shell $(PKG_CONFIG) --libs ncursesw) - ifeq ($(CURSES_LIBS),) - $(error You probably need to install "libncurses5-dev" or "libnnurses6-devel" or something like that.) - endif diff --git a/srcpkgs/mg/template b/srcpkgs/mg/template index cf1bfb38a7e115..e72280f3c920ed 100644 --- a/srcpkgs/mg/template +++ b/srcpkgs/mg/template @@ -1,6 +1,6 @@ # Template file for 'mg' pkgname=mg -version=20260227 +version=20260719 revision=1 build_style=gnu-makefile make_install_args="mandir=/usr/share/man" @@ -12,10 +12,6 @@ license="Public Domain" homepage="https://github.com/hboetes/mg" changelog="https://github.com/hboetes/mg/releases" distfiles="https://github.com/hboetes/mg/archive/${version}.tar.gz" -checksum=21877e912a63c69253538dc8ba6ae3beb1c89f35222e8381d14320f6537cec89 +checksum=8ca736b1e57d9681e7921d37b9cf0282e3098e2929ed37384400c78dae54762d CFLAGS="-DTCSASOFT=0" - -case "$XBPS_TARGET_MACHINE" in - *-musl) CFLAGS+=" -DREG_STARTEND=0";; -esac