[arch-commits] Commit in jfsutils/repos (4 files)

Felix Yan felixonmars at archlinux.org
Wed Nov 13 16:24:59 UTC 2019


    Date: Wednesday, November 13, 2019 @ 16:24:59
  Author: felixonmars
Revision: 368228

archrelease: copy trunk to staging-x86_64

Added:
  jfsutils/repos/staging-x86_64/
  jfsutils/repos/staging-x86_64/PKGBUILD
    (from rev 368226, jfsutils/trunk/PKGBUILD)
  jfsutils/repos/staging-x86_64/inttypes.patch
    (from rev 368226, jfsutils/trunk/inttypes.patch)
  jfsutils/repos/staging-x86_64/sysmacros.patch
    (from rev 368226, jfsutils/trunk/sysmacros.patch)

-----------------+
 PKGBUILD        |   39 +++++++++++++++++++++++++++++++++++++++
 inttypes.patch  |   12 ++++++++++++
 sysmacros.patch |   15 +++++++++++++++
 3 files changed, 66 insertions(+)

Copied: jfsutils/repos/staging-x86_64/PKGBUILD (from rev 368226, jfsutils/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-11-13 16:24:59 UTC (rev 368228)
@@ -0,0 +1,39 @@
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+
+pkgname=jfsutils
+pkgver=1.1.15
+pkgrel=7
+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'
+        'sysmacros.patch')
+sha256sums=('244a15f64015ce3ea17e49bdf6e1a0fb4f9af92b82fa9e05aa64cb30b5f07a4d'
+            '15ea88350c240b23fe322d4adafbb79c8473b9850495d61efafc7bf68be391b3'
+            'fd1a4e794a3bf2ebdb4b81f582e147655d70aadd59689aacea0ccc32c6381a28')
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	patch -p1 -i ../inttypes.patch
+	patch -p1 -i ../sysmacros.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/staging-x86_64/inttypes.patch (from rev 368226, jfsutils/trunk/inttypes.patch)
===================================================================
--- staging-x86_64/inttypes.patch	                        (rev 0)
+++ staging-x86_64/inttypes.patch	2019-11-13 16:24:59 UTC (rev 368228)
@@ -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);

Copied: jfsutils/repos/staging-x86_64/sysmacros.patch (from rev 368226, jfsutils/trunk/sysmacros.patch)
===================================================================
--- staging-x86_64/sysmacros.patch	                        (rev 0)
+++ staging-x86_64/sysmacros.patch	2019-11-13 16:24:59 UTC (rev 368228)
@@ -0,0 +1,15 @@
+https://bugs.gentoo.org/580056
+
+--- a/libfs/devices.c
++++ b/libfs/devices.c
+@@ -30,6 +30,10 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ 
++#if HAVE_SYS_SYSMACROS_H
++#include <sys/sysmacros.h>
++#endif
++
+ #ifdef HAVE_SYS_MOUNT_H
+ #ifdef HAVE_SYS_PARAM_H
+ #include <sys/param.h>



More information about the arch-commits mailing list