pkgsrc/sysutils/e2fsprogs/patches/patch-ao
jlam ef6921d005 * Honor PKG_SYSCONFDIR.
* Simplify the PLISTs by merging them.  This makes it easier to handle
  future platforms that want to install fsck.
* Don't compress the info files during installation.  The plist module
  can handle that automatically.
* Install the example mke2fs.conf file into the right place.

This should fix the latest bulk build error for e2fsprogs.
Bump PKGREVISION to 1.
2007-06-20 19:51:08 +00:00

17 lines
539 B
Text

$NetBSD: patch-ao,v 1.1 2007/06/20 19:51:10 jlam Exp $
--- lib/blkid/blkidP.h.orig 2006-02-20 14:16:42.000000000 -0500
+++ 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"
extern const char *blkid_devdirs[];
#define BLKID_ERR_IO 5