From 6b4a89cd86de2484a4d0d25af570d1c5bb81839a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 3 Jun 2015 19:20:13 +0200 Subject: [PATCH] New package: jfsutils-1.1.15 --- srcpkgs/jfsutils/patches/portability.patch | 24 ++++++++++++++++++++++ srcpkgs/jfsutils/template | 13 ++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 srcpkgs/jfsutils/patches/portability.patch create mode 100644 srcpkgs/jfsutils/template diff --git a/srcpkgs/jfsutils/patches/portability.patch b/srcpkgs/jfsutils/patches/portability.patch new file mode 100644 index 00000000000..a5f8038f110 --- /dev/null +++ b/srcpkgs/jfsutils/patches/portability.patch @@ -0,0 +1,24 @@ +--- libfs/devices.h 2005-11-23 07:43:55.000000000 +1100 ++++ libfs/devices.h 2013-01-06 11:30:25.381538024 +1100 +@@ -40,6 +40,8 @@ + #define ERROR_INVALID_PARAMETER 87 + #define ERROR_DISK_FULL 112 + ++#include ++ + struct stat; + + int ujfs_get_dev_size(FILE *, int64_t * size); +--- libfs/fssubs.c.orig 2015-06-03 19:18:02.225624388 +0200 ++++ libfs/fssubs.c 2015-06-03 19:18:46.216543510 +0200 +@@ -30,8 +30,9 @@ + #undef HAVE_GETMNTINFO /* we don't want both */ + #endif + +-#if HAVE_GETMNTINFO + #include ++ ++#if HAVE_GETMNTINFO + #include + #include + #endif diff --git a/srcpkgs/jfsutils/template b/srcpkgs/jfsutils/template new file mode 100644 index 00000000000..8902dd971da --- /dev/null +++ b/srcpkgs/jfsutils/template @@ -0,0 +1,13 @@ +# Template file for 'jfsutils' +pkgname=jfsutils +version=1.1.15 +revision=1 +build_pie=yes +build_style=gnu-configure +makedepends="libuuid-devel" +short_desc="JFS filesystem utilities" +maintainer="Juan RP " +license="GPL-2" +homepage="http://jfs.sourceforge.net" +distfiles="http://jfs.sourceforge.net/project/pub/${pkgname}-${version}.tar.gz" +checksum=244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d