diff --git a/srcpkgs/gnome-chess/patches/musl_prctl_h.patch b/srcpkgs/gnome-chess/patches/musl_prctl_h.patch new file mode 100644 index 00000000000..3b900d9d5f7 --- /dev/null +++ b/srcpkgs/gnome-chess/patches/musl_prctl_h.patch @@ -0,0 +1,12 @@ +--- src/portability.c 2015-06-14 08:56:28.000000000 +0200 ++++ src/portability.c 2015-08-16 07:08:47.011801803 +0200 +@@ -14,7 +14,9 @@ + #if HAVE_LINUX_PRCTL_H + #include + ++#if defined(__GLIBC__) + #include ++#endif + #include + #endif + diff --git a/srcpkgs/gnome-chess/template b/srcpkgs/gnome-chess/template new file mode 100644 index 00000000000..64a2f5c8d46 --- /dev/null +++ b/srcpkgs/gnome-chess/template @@ -0,0 +1,14 @@ +# Template file for 'gnome-chess' +pkgname=gnome-chess +version=3.17.4 +revision=1 +build_style=gnu-configure +hostmakedepends="gnuchess glib intltool itstool pkg-config" +makedepends="gtk+3-devel librsvg-devel" +depends="gnuchess" +short_desc="GNOME chess user interface" +maintainer="Jürgen Buchmüller " +license="GPL-2" +homepage="https://wiki.gnome.org/Apps/Chess" +distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=36131176e87990b2b420acff836e0b91d066d723439e4a5b77f10f36672d8a9c