e2fsprogs: update to 1.41.11.
--HG-- extra : convert_revision : 9c9ed21b6c542a4ad5aa6fd3e9b7a7c3cd986268
This commit is contained in:
parent
b1bad6363a
commit
b1da3a9ce0
4 changed files with 2 additions and 66 deletions
|
@ -5,8 +5,6 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run libuuid-devel
|
||||
Add_dependency run libblkid-devel
|
||||
Add_dependency run e2fsprogs-libs
|
||||
|
|
|
@ -5,8 +5,6 @@ long_desc="${long_desc}
|
|||
|
||||
This package contains the shared libraries."
|
||||
|
||||
revision=1
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libblkid
|
||||
|
||||
|
|
|
@ -1,60 +0,0 @@
|
|||
From 527d258d605e5a1dd841bccc6091c0b894a10411 Mon Sep 17 00:00:00 2001
|
||||
From: Natanael Copa <ncopa@alpinelinux.org>
|
||||
Date: Wed, 27 Jan 2010 16:02:08 +0000
|
||||
Subject: [PATCH] implement com_right_r()
|
||||
|
||||
For heimdal compat
|
||||
---
|
||||
lib/et/com_err.h | 2 ++
|
||||
lib/et/com_right.c | 14 ++++++++++++++
|
||||
2 files changed, 16 insertions(+), 0 deletions(-)
|
||||
|
||||
diff --git a/lib/et/com_err.h b/lib/et/com_err.h
|
||||
index de0146e..eb2106f 100644
|
||||
--- lib/et/com_err.h
|
||||
+++ lib/et/com_err.h
|
||||
@@ -16,6 +16,7 @@
|
||||
#define COM_ERR_ATTR(x)
|
||||
#endif
|
||||
|
||||
+#include <stddef.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
typedef long errcode_t;
|
||||
@@ -49,6 +50,7 @@ extern void add_to_error_table(struct et_list *new_table);
|
||||
|
||||
/* Provided for Heimdall compatibility */
|
||||
extern const char *com_right(struct et_list *list, long code);
|
||||
+extern const char *com_right_r(struct et_list *list, long code, char *str, size_t len);
|
||||
extern void initialize_error_table_r(struct et_list **list,
|
||||
const char **messages,
|
||||
int num_errors,
|
||||
diff --git a/lib/et/com_right.c b/lib/et/com_right.c
|
||||
index 173fd1a..dbc1e41 100644
|
||||
--- lib/et/com_right.c
|
||||
+++ lib/et/com_right.c
|
||||
@@ -55,6 +55,21 @@ com_right(struct et_list *list, long code)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
+const char *
|
||||
+com_right_r(struct et_list *list, long code, char *str, size_t len)
|
||||
+{
|
||||
+ struct et_list *p;
|
||||
+ for (p = list; p; p = p->next) {
|
||||
+ if (code >= p->table->base && code < p->table->base + p->table->n_msgs) {
|
||||
+ strncpy(str, p->table->msgs[code - p->table->base], len);
|
||||
+ str[len-1] = '\0';
|
||||
+ return str;
|
||||
+ }
|
||||
+ }
|
||||
+ return NULL;
|
||||
+}
|
||||
+
|
||||
+
|
||||
struct foobar {
|
||||
struct et_list etl;
|
||||
struct error_table tab;
|
||||
--
|
||||
1.6.6.1
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'e2fsprogs'
|
||||
pkgname=e2fsprogs
|
||||
version=1.41.10
|
||||
version=1.41.11
|
||||
distfiles="$SOURCEFORGE_SITE/e2fsprogs/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
|
||||
|
@ -9,7 +9,7 @@ configure_args="--enable-htree --enable-elf-shlibs --enable-fsck
|
|||
make_install_target="DESTDIR=$XBPS_DESTDIR/$pkgname-$version install-libs install"
|
||||
short_desc="Ext2/3/4 Filesystem Utilities"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
checksum=4109d45dd220bc450e3198056a135164bdcee21855de97eda4e863a461eed8c9
|
||||
checksum=5c9f367f6d5131f90d91dfd2f6c639d5e2c9455cac1f0d8ccc886239c90d775e
|
||||
long_desc="
|
||||
It provides the filesystem utilities for use with the ext2 filesystem.
|
||||
It also supports the ext3 filesystem with journaling support."
|
||||
|
|
Loading…
Reference in a new issue