diff options
| author | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-10-17 08:42:03 +0000 |
|---|---|---|
| committer | Yukihiro Nakai <nakai@FreeBSD.org> | 2000-10-17 08:42:03 +0000 |
| commit | 3673ac35bbc6755d792e9577779926e17bf1e605 (patch) | |
| tree | e3c4053bd2d4456bef885c8d969a9af4a83fa055 /misc/rpm/files/patch-bb | |
| parent | Update to 0.99.135. (diff) | |
Update to 3.0.6
PR: misc/21801
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Notes
Notes:
svn path=/head/; revision=33921
Diffstat (limited to 'misc/rpm/files/patch-bb')
| -rw-r--r-- | misc/rpm/files/patch-bb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/rpm/files/patch-bb b/misc/rpm/files/patch-bb new file mode 100644 index 000000000000..f94da33da1c3 --- /dev/null +++ b/misc/rpm/files/patch-bb @@ -0,0 +1,20 @@ +--- lib/rpmrc.c.orig Thu Sep 14 02:29:18 2000 ++++ lib/rpmrc.c Wed Oct 4 23:03:36 2000 +@@ -13,7 +13,7 @@ + + #include "misc.h" + +-static const char *defrcfiles = LIBRPMRC_FILENAME ":/etc/rpmrc:~/.rpmrc"; ++static const char *defrcfiles = LIBRPMRC_FILENAME ":%%PREFIX%%/etc/rpmrc:~/.rpmrc"; + + struct machCacheEntry { + const char * name; +@@ -858,7 +858,7 @@ + /* we are on ncr-sysv4 */ + char *prelid = NULL; + FD_t fd; +- fd = Fopen("/etc/.relid", "r.fdio"); ++ fd = Fopen("%%PREFIX%%/etc/.relid", "r.fdio"); + if (!Ferror(fd)) { + chptr = (char *) xcalloc(1, 256); + if (chptr != NULL) { |
