pkgsrc/sysutils/e2fsprogs/patches/patch-ao
ryoon 89e4b8e377 Update e2fsprogs to 1.41.12 from 1.40.7.
Fix PR pkg/43950.

Major change from 1.40.7:
* ext4 filesystem support
* many translation updates
* many bug-fixes
in detail, see RELEASE-NOTES.
2010-12-23 06:34:50 +00:00

17 lines
530 B
Text

$NetBSD: patch-ao,v 1.2 2010/12/23 06:34:50 ryoon Exp $
--- lib/blkid/blkidP.h.orig 2009-08-13 01:39:57.000000000 +0000
+++ lib/blkid/blkidP.h
@@ -104,7 +104,11 @@ struct blkid_struct_cache
extern char *blkid_strdup(const char *s);
extern char *blkid_strndup(const char *s, const int length);
-#define BLKID_CACHE_FILE "/etc/blkid.tab"
+#ifndef ETC_DIR
+#define ETC_DIR "/etc" /* Where to find the config file */
+#endif
+
+#define BLKID_CACHE_FILE ETC_DIR "/blkid.tab"
#define BLKID_ERR_IO 5
#define BLKID_ERR_PROC 9