From f1cc226668b4fa1639a69098ef57d5cd9ca70d47 Mon Sep 17 00:00:00 2001 From: nexolight Date: Wed, 22 Jun 2016 15:44:59 +0200 Subject: [PATCH] New package: hxtools Closes: #4379 [via git-merge-pr] --- srcpkgs/hxtools/patches/loff_t.patch | 12 ++++++++++++ srcpkgs/hxtools/template | 13 +++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 srcpkgs/hxtools/patches/loff_t.patch create mode 100644 srcpkgs/hxtools/template 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"