diff --git a/srcpkgs/hxtools/patches/loff_t.patch b/srcpkgs/hxtools/patches/loff_t.patch new file mode 100644 index 00000000000..5775e03a472 --- /dev/null +++ b/srcpkgs/hxtools/patches/loff_t.patch @@ -0,0 +1,12 @@ +--- sdevel/cctypeinfo.c ++++ sdevel/cctypeinfo.c +@@ -18,6 +18,8 @@ + #else + # include + # define SIZET_FMT "z" +-# define HAVE_LOFF_T 1 ++# if defined(_GNU_SOURCE) ++# define HAVE_LOFF_T 1 ++# endif + #endif + diff --git a/srcpkgs/hxtools/template b/srcpkgs/hxtools/template new file mode 100644 index 00000000000..21c8d1cba55 --- /dev/null +++ b/srcpkgs/hxtools/template @@ -0,0 +1,13 @@ +#Template file for 'hxtools' +pkgname=hxtools +version=20150304 +revision=1 +build_style=gnu-configure +short_desc="Collection of small tools over the years by j.eng (inai.de)" +maintainer="nexolight " +license="WTFPL-2.0+, LGPL-2.1/LGPL-3.0, GPL-2.0+" +homepage="http://inai.de/projects/hxtools" +distfiles="http://jftp.inai.de/hxtools/hxtools-${version}.tar.xz" +checksum="55265b16191831c4e332b0235b057e3f1e952298abf34734a8fa2ee9bb7be382" +hostmakedepends="pkg-config" +makedepends="libHX-devel"