mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Fix path to INDEX file on 5.x.
Submitted by: nork
This commit is contained in:
parent
c9d52b0bb9
commit
36223833b7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117208
14
ports-mgmt/bpm/files/patch-src::refresh.c
Normal file
14
ports-mgmt/bpm/files/patch-src::refresh.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/refresh.c.orig Tue Aug 24 15:18:57 2004
|
||||
+++ src/refresh.c Tue Aug 24 15:20:12 2004
|
||||
@@ -62,7 +62,11 @@
|
||||
__RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $");
|
||||
|
||||
/* XXX use libinstall/lib.h */
|
||||
+#if __FreeBSD_version >= 500036
|
||||
+#define INDEX_FN PORTS_BASE "/INDEX-5"
|
||||
+#else
|
||||
#define INDEX_FN PORTS_BASE "/INDEX"
|
||||
+#endif
|
||||
#define INDEX_MAXLN 4096
|
||||
#define DB_DIR "/var/db/pkg"
|
||||
#define ITER_BYTES (128 * 1024)
|
14
sysutils/bpm/files/patch-src::refresh.c
Normal file
14
sysutils/bpm/files/patch-src::refresh.c
Normal file
@ -0,0 +1,14 @@
|
||||
--- src/refresh.c.orig Tue Aug 24 15:18:57 2004
|
||||
+++ src/refresh.c Tue Aug 24 15:20:12 2004
|
||||
@@ -62,7 +62,11 @@
|
||||
__RCSID("$Id: refresh.c,v 1.32 2004/08/24 02:40:08 sethk Exp $");
|
||||
|
||||
/* XXX use libinstall/lib.h */
|
||||
+#if __FreeBSD_version >= 500036
|
||||
+#define INDEX_FN PORTS_BASE "/INDEX-5"
|
||||
+#else
|
||||
#define INDEX_FN PORTS_BASE "/INDEX"
|
||||
+#endif
|
||||
#define INDEX_MAXLN 4096
|
||||
#define DB_DIR "/var/db/pkg"
|
||||
#define ITER_BYTES (128 * 1024)
|
Loading…
Reference in New Issue
Block a user