diff --git a/srcpkgs/yad/patches/fix-musl.patch b/srcpkgs/yad/patches/fix-musl.patch new file mode 100644 index 0000000000..345c1f8ca5 --- /dev/null +++ b/srcpkgs/yad/patches/fix-musl.patch @@ -0,0 +1,13 @@ +diff --git src/pfd.c src/pfd.c +index 4f6e6fb..1d817d1 100644 +--- src/pfd.c ++++ src/pfd.c +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + typedef enum { + PANGO_SPEC, + diff --git a/srcpkgs/yad/template b/srcpkgs/yad/template index 9dc5956d10..57f13327c2 100644 --- a/srcpkgs/yad/template +++ b/srcpkgs/yad/template @@ -1,7 +1,7 @@ # Template file for 'yad' pkgname=yad -version=0.40.3 -revision=2 +version=0.42.0 +revision=1 build_style=gnu-configure configure_args="--enable-icon-browser" hostmakedepends="automake gettext-devel glib-devel intltool pkg-config" @@ -11,9 +11,15 @@ maintainer="Juan RP " license="GPL-3.0-or-later" homepage="https://github.com/v1cont/yad" distfiles="https://github.com/v1cont/yad/archive/v${version}.tar.gz" -checksum=a63a88ea1946a6ba5d45921abed6b53558215ca4b93b4cd7205de00e9a4848bb +checksum=f2d2e54d3ad4c27eda0f92623fab93059ae95a3dd52fd32b007d3a1adc2cad91 pre_configure() { autoreconf -ivf intltoolize } + +post_install() { + # Avoid conflict with disputils + mv "${DESTDIR}"/usr/bin/{,yad-}pfd + mv "${DESTDIR}"/usr/share/man/man1/{,yad-}pfd.1 +}