Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions srcpkgs/mg/patches/ncurses.patch
Original file line number Diff line number Diff line change
@@ -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
20 changes: 0 additions & 20 deletions srcpkgs/mg/patches/pkg-config-ncurses.patch

This file was deleted.

8 changes: 2 additions & 6 deletions srcpkgs/mg/template
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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