[arch-commits] Commit in dosfstools/trunk (PKGBUILD linux-2.6.patch)
Tobias Powalowski
tpowa at archlinux.org
Sat Oct 4 12:06:05 UTC 2008
Date: Saturday, October 4, 2008 @ 08:06:05
Author: tpowa
Revision: 14147
upgpkg: dosfstools 3.0.0-1
Modified:
dosfstools/trunk/PKGBUILD
Deleted:
dosfstools/trunk/linux-2.6.patch
-----------------+
PKGBUILD | 16 +++++--------
linux-2.6.patch | 64 ------------------------------------------------------
2 files changed, 7 insertions(+), 73 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-10-04 10:42:10 UTC (rev 14146)
+++ PKGBUILD 2008-10-04 12:06:05 UTC (rev 14147)
@@ -2,20 +2,18 @@
# Maintainer: dorphell <dorphell at archlinux.org>
# Committer: Judd Vinet <jvinet at zeroflux.org>
pkgname=dosfstools
-pkgver=2.11
-pkgrel=2
+pkgver=3.0.0
+pkgrel=1
pkgdesc="DOS filesystem utilities"
arch=(i686 x86_64)
depends=('glibc')
-source=(ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/$pkgname/$pkgname-$pkgver.src.tar.gz linux-2.6.patch)
-md5sums=('407d405ade410f7597d364ab5dc8c9f6' '6689fb7693ed213e6c3289b533b4f66d')
-url="ftp://ftp.uni-erlangen.de/pub/Linux/LOCAL/dosfstools/"
+source=(http://www.daniel-baumann.ch/software/dosfstools/$pkgname-$pkgver.tar.bz2)
+url="http://www.daniel-baumann.ch/software/dosfstools/"
license=('GPL2')
build() {
- cd $startdir/src/$pkgname-$pkgver
- patch -p1 -i $startdir/src/linux-2.6.patch
- patch -Np0 -i $startdir/src/dosfstools_$pkgver-1.diff
+ cd $srcdir/$pkgname-$pkgver
make || return 1
- make PREFIX=$startdir/pkg install
+ make PREFIX=$pkgdir MANDIR=$pkgdir/usr/share/man DOCDIR=$pkgdir/usr/share/doc install
}
+md5sums=('659687063b60efa1bde1463eb2ffa695')
Deleted: linux-2.6.patch
===================================================================
--- linux-2.6.patch 2008-10-04 10:42:10 UTC (rev 14146)
+++ linux-2.6.patch 2008-10-04 12:06:05 UTC (rev 14147)
@@ -1,64 +0,0 @@
-diff -Nur dosfstools-2.10/dosfsck/boot.c dosfstools-2.10-fixed/dosfsck/boot.c
---- dosfstools-2.10/dosfsck/boot.c 2003-06-14 22:03:20.000000000 +0200
-+++ dosfstools-2.10-fixed/dosfsck/boot.c 2004-02-11 21:15:48.000000000 +0100
-@@ -14,6 +14,9 @@
- #include "io.h"
- #include "boot.h"
-
-+#ifndef MSDOS_FAT12
-+# define MSDOS_FAT12 4084 /* taken from 2.4 linux/msdos_fs.h */
-+#endif
-
- #define ROUND_TO_MULTIPLE(n,m) ((n) && (m) ? (n)+(m)-1-((n)-1)%(m) : 0)
- /* don't divide by zero */
-diff -Nur dosfstools-2.10/dosfsck/common.h dosfstools-2.10-fixed/dosfsck/common.h
---- dosfstools-2.10/dosfsck/common.h 1998-04-28 13:14:25.000000000 +0200
-+++ dosfstools-2.10-fixed/dosfsck/common.h 2004-02-11 21:15:01.000000000 +0100
-@@ -6,6 +6,9 @@
- #ifndef _COMMON_H
- #define _COMMON_H
-
-+#include <asm/types.h>
-+#include <asm/byteorder.h>
-+
- void die(char *msg,...) __attribute((noreturn));
-
- /* Displays a prinf-style message and terminates the program. */
-diff -Nur dosfstools-2.10/dosfsck/file.c dosfstools-2.10-fixed/dosfsck/file.c
---- dosfstools-2.10/dosfsck/file.c 2003-06-14 22:03:20.000000000 +0200
-+++ dosfstools-2.10-fixed/dosfsck/file.c 2004-02-11 21:13:53.000000000 +0100
-@@ -15,9 +15,9 @@
- #define _LINUX_STAT_H /* hack to avoid inclusion of <linux/stat.h> */
- #define _LINUX_STRING_H_ /* hack to avoid inclusion of <linux/string.h>*/
- #define _LINUX_FS_H /* hack to avoid inclusion of <linux/fs.h> */
-+#include "common.h"
- #include <linux/msdos_fs.h>
-
--#include "common.h"
- #include "file.h"
-
-
-diff -Nur dosfstools-2.10/dosfsck/io.c dosfstools-2.10-fixed/dosfsck/io.c
---- dosfstools-2.10/dosfsck/io.c 2003-06-14 22:03:20.000000000 +0200
-+++ dosfstools-2.10-fixed/dosfsck/io.c 2004-02-11 21:14:24.000000000 +0100
-@@ -21,8 +21,8 @@
- #include <fcntl.h>
- #include <linux/fd.h>
-
--#include "dosfsck.h"
- #include "common.h"
-+#include "dosfsck.h"
- #include "io.h"
-
-
-diff -Nur dosfstools-2.10/mkdosfs/mkdosfs.c dosfstools-2.10-fixed/mkdosfs/mkdosfs.c
---- dosfstools-2.10/mkdosfs/mkdosfs.c 2003-06-14 22:07:08.000000000 +0200
-+++ dosfstools-2.10-fixed/mkdosfs/mkdosfs.c 2004-02-11 21:13:09.000000000 +0100
-@@ -62,6 +62,7 @@
- #include <sys/ioctl.h>
- #include <sys/stat.h>
- #include <sys/types.h>
-+#include <asm/types.h>
- #include <unistd.h>
- #include <time.h>
- #include <errno.h>
More information about the arch-commits
mailing list