[arch-commits] Commit in jfsutils/trunk (PKGBUILD inttypes.patch)

Gaetan Bisson bisson at archlinux.org
Sun Jan 6 00:35:18 UTC 2013


    Date: Saturday, January 5, 2013 @ 19:35:17
  Author: bisson
Revision: 174744

fix build issue with newer gcc

Added:
  jfsutils/trunk/inttypes.patch
Modified:
  jfsutils/trunk/PKGBUILD

----------------+
 PKGBUILD       |    7 +++++--
 inttypes.patch |   12 ++++++++++++
 2 files changed, 17 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-01-05 21:41:56 UTC (rev 174743)
+++ PKGBUILD	2013-01-06 00:35:17 UTC (rev 174744)
@@ -10,11 +10,14 @@
 license=('GPL')
 groups=('base')
 depends=('util-linux')
-source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('291e8bd9d615cf3d27e4000117c81a3602484a50')
+source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz"
+        'inttypes.patch')
+sha1sums=('291e8bd9d615cf3d27e4000117c81a3602484a50'
+          '88551e7d8418bab0df4643dce248110d4c9b0a53')
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../inttypes.patch
 	./configure --sbindir=/sbin 
 	make
 }

Added: inttypes.patch
===================================================================
--- inttypes.patch	                        (rev 0)
+++ inttypes.patch	2013-01-06 00:35:17 UTC (rev 174744)
@@ -0,0 +1,12 @@
+diff -Naur old/libfs/devices.h new/libfs/devices.h
+--- old/libfs/devices.h	2005-11-23 07:43:55.000000000 +1100
++++ new/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 <inttypes.h>
++
+ struct stat;
+ 
+ int ujfs_get_dev_size(FILE *, int64_t * size);




More information about the arch-commits mailing list