update to new patches for fs support

Package-Manager: portage-2.2.0_alpha142
RepoMan-Options: --force
This commit is contained in:
Mario Fetka
2012-11-28 21:31:19 +01:00
parent 606190f127
commit e2912f7c98
7 changed files with 35 additions and 163 deletions

View File

@@ -0,0 +1,12 @@
--- partclone-0.2.56/configure.ac.wiget 2012-11-17 21:25:42.281686732 +0100
+++ partclone-0.2.56/configure.ac 2012-11-17 21:26:01.388352614 +0100
@@ -1,7 +1,7 @@
AC_INIT([Partclone], [0.2.56], [thomas@nchc.org.tw])
#AC_CONFIG_AUX_DIR([build-aux])
#AC CONFIG SRCDIR([src/main.c])
-AM_INIT_AUTOMAKE([-Wall -Werror foreign])
+AM_INIT_AUTOMAKE([-Wall foreign])
AM_GNU_GETTEXT_VERSION([0.16.1])
AM_GNU_GETTEXT([external])
AC_PROG_CC

View File

@@ -1,40 +0,0 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2011-11-19
Initial Package Version: 0.2.36
Origin: me
Upstream Status: unknown
Description: correct renamed function name in newer progsrieserfs libs
diff -Naur partclone-0.2.36.orig/configure.ac partclone-0.2.36/configure.ac
--- partclone-0.2.36.orig/configure.ac 2011-11-19 20:39:17.583443525 +0000
+++ partclone-0.2.36/configure.ac 2011-11-19 20:39:42.280335674 +0000
@@ -136,7 +136,7 @@
)
AC_CHECK_LIB([reiserfs], [reiserfs_fs_open], true,
AC_MSG_ERROR([*** Reiserfs library (libreiserfs) not found]))
-AC_CHECK_LIB([dal], [file_dal_open], true,
+AC_CHECK_LIB([dal], [file_open], true,
AC_MSG_ERROR([*** Reiserfs depend library (libdal) not found]))
AC_MSG_CHECKING(version of libreiserfs)
reiserfs_version=`gcc $srcdir/src/deplib_version.c -o $srcdir/get_lib_version -lreiserfs -DREISERFS`
diff -Naur partclone-0.2.36.orig/src/reiserfsclone.c partclone-0.2.36/src/reiserfsclone.c
--- partclone-0.2.36.orig/src/reiserfsclone.c 2011-11-19 20:39:17.588073180 +0000
+++ partclone-0.2.36/src/reiserfsclone.c 2011-11-19 20:40:04.680919172 +0000
@@ -38,7 +38,7 @@
/// open device
static void fs_open(char* device){
- if (!(dal = (dal_t*)file_dal_open(device, DEFAULT_BLOCK_SIZE, O_RDONLY))) {
+ if (!(dal = (dal_t*)file_open(device, DEFAULT_BLOCK_SIZE, O_RDONLY))) {
log_mesg(0, 1, 1, fs_opt.debug, "%s: Couldn't create device abstraction for %s.\n", __FILE__, device);
}
@@ -59,7 +59,7 @@
static void fs_close(){
reiserfs_fs_close(fs);
- file_dal_close(dal);
+ file_close(dal);
}

View File

@@ -1,33 +0,0 @@
Submitted By: Mario Fetka (mario dot fetka at gmail dot com)
Date: 2011-11-19
Initial Package Version: 0.2.36
Origin: me
Upstream Status: unknown
Description: find proper xfs header
diff -Naur partclone-0.2.36.orig/configure.ac partclone-0.2.36/configure.ac
--- partclone-0.2.36.orig/configure.ac 2011-11-19 19:47:09.821243182 +0000
+++ partclone-0.2.36/configure.ac 2011-11-19 19:48:09.492860562 +0000
@@ -111,8 +111,8 @@
dnl Check for XFS
AC_CHECKING([ for XFS Library and Header files ... ])
-AC_CHECK_HEADERS([xfs/libxfs.h], ,
- AC_MSG_ERROR([*** XFS header (libxfs.h) not found])
+AC_CHECK_HEADERS([xfs/xfs.h], ,
+ AC_MSG_ERROR([*** XFS header (xfs.h) not found])
)
supported_fs=$supported_fs" xfs"
fi
diff -ruN partclone-0.2.36.orig/src/xfsclone.h partclone-0.2.36/src/xfsclone.h
--- partclone-0.2.36.orig/src/xfsclone.h 2010-09-01 17:15:10.000000000 +0900
+++ partclone-0.2.36/src/xfsclone.h 2010-09-17 00:19:11.726452075 +0900
@@ -11,7 +11,7 @@
* (at your option) any later version.
*/
-#include <xfs/libxfs.h>
+#include <xfs/xfs.h>
/*
* An on-disk allocation group header is composed of 4 structures,