diff --git a/srcpkgs/PAmix/patches/4807a44c793a61bb3eb7aa110c08db51938d4502.patch b/srcpkgs/PAmix/patches/4807a44c793a61bb3eb7aa110c08db51938d4502.patch new file mode 100644 index 0000000000..e0e8a2bf10 --- /dev/null +++ b/srcpkgs/PAmix/patches/4807a44c793a61bb3eb7aa110c08db51938d4502.patch @@ -0,0 +1,28 @@ +From 4807a44c793a61bb3eb7aa110c08db51938d4502 Mon Sep 17 00:00:00 2001 +From: Joshua Jensch +Date: Sun, 7 Jan 2018 16:54:18 +0100 +Subject: [PATCH] remove redundant ncursesw include + +fixes #37 +--- + src/pamix_ui.cpp | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/src/pamix_ui.cpp b/src/pamix_ui.cpp +index ed2d65e..16a2e34 100644 +--- src/pamix_ui.cpp ++++ src/pamix_ui.cpp +@@ -1,13 +1,5 @@ + #include + +-#ifdef FEAT_UNICODE +- +-#include +- +-#else +-#include +-#endif +- + #include + + void pamix_ui::reset() { diff --git a/srcpkgs/PAmix/template b/srcpkgs/PAmix/template index 2d50ed555c..dc087f8c7f 100644 --- a/srcpkgs/PAmix/template +++ b/srcpkgs/PAmix/template @@ -1,8 +1,9 @@ # Template file for 'PAmix' pkgname=PAmix -version=1.5 +version=1.6 revision=1 -build_style=gnu-configure +build_style=cmake +configure_args='-DWITH_UNICODE=1 -DNCURSESW_H_INCLUDE=ncurses.h' hostmakedepends="pkg-config automake autoconf-archive" makedepends="pulseaudio-devel ncurses-devel" conf_files="/etc/pamix.conf" @@ -11,16 +12,12 @@ maintainer="Toyam Cox " license="MIT" homepage="https://github.com/patroclos/PAmix" distfiles="${homepage}/archive/${version}.tar.gz" -checksum=f0085f00a9b0285465ad89c14d2aaa14090c1658ec4c34c49a2a42f5abb50fc3 +checksum=b63522889d70920d64229c66e2ab6929950476538443af297f6b242f7e9dc406 case "${XBPS_TARGET_MACHINE}" in *-musl) broken="Parts of ncurses, not available on musl";; esac -pre_configure() { - autoreconf -fi -} - post_install() { vlicense LICENSE } @@ -28,3 +25,4 @@ post_install() { # REMARKS: # Named PAmix instead of pamix to match upstream and prevent misassociation # with Pluggable Authentication Modules +# configure_args as suggested by https://github.com/patroclos/PAmix/issues/37