Date: Wednesday, May 30, 2018 @ 19:48:35
  Author: bisson
Revision: 325200

archrelease: copy trunk to testing-x86_64

Added:
  jfsutils/repos/testing-x86_64/
  jfsutils/repos/testing-x86_64/PKGBUILD
    (from rev 325199, jfsutils/trunk/PKGBUILD)
  jfsutils/repos/testing-x86_64/inttypes.patch
    (from rev 325199, jfsutils/trunk/inttypes.patch)

----------------+
 PKGBUILD       |   39 +++++++++++++++++++++++++++++++++++++++
 inttypes.patch |   12 ++++++++++++
 2 files changed, 51 insertions(+)

Copied: jfsutils/repos/testing-x86_64/PKGBUILD (from rev 325199, 
jfsutils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-05-30 19:48:35 UTC (rev 325200)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Tobias Powalowski <[email protected]>
+# Maintainer: Gaetan Bisson <[email protected]>
+
+pkgname=jfsutils
+pkgver=1.1.15
+pkgrel=5
+pkgdesc='JFS filesystem utilities'
+url='http://jfs.sourceforge.net'
+arch=('x86_64')
+license=('GPL')
+depends=('util-linux')
+source=("http://jfs.sourceforge.net/project/pub/${pkgname}-${pkgver}.tar.gz";
+        'inttypes.patch')
+sha256sums=('244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d'
+            '15ea88350c240b23fe322d4adafbb79c8473b9850495d61efafc7bf68be391b3')
+
+groups=('base')
+
+prepare() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       patch -p1 -i ../inttypes.patch
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./configure --prefix=/usr --sbindir=/usr/bin 
+       make
+}
+
+check() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make check
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+}

Copied: jfsutils/repos/testing-x86_64/inttypes.patch (from rev 325199, 
jfsutils/trunk/inttypes.patch)
===================================================================
--- testing-x86_64/inttypes.patch                               (rev 0)
+++ testing-x86_64/inttypes.patch       2018-05-30 19:48:35 UTC (rev 325200)
@@ -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);

Reply via email to