Apply a patch from git that fixes make packages with hardlinks and config files.
This commit is contained in:
parent
0d17a979ec
commit
27f9bf5942
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=479486
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= pkg
|
||||
DISTVERSION= 1.10.5
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
_PKG_VERSION= ${DISTVERSION}
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= \
|
||||
|
16
ports-mgmt/pkg/files/patch-60666a1
Normal file
16
ports-mgmt/pkg/files/patch-60666a1
Normal file
@ -0,0 +1,16 @@
|
||||
--- libpkg/pkg_ports.c
|
||||
+++ libpkg/pkg_ports.c
|
||||
@@ -353,13 +353,6 @@ meta_file(struct plist *p, char *line, struct file_attr *a, bool is_config)
|
||||
pkg_addconfig_file(p->pkg, path, content);
|
||||
free(content);
|
||||
}
|
||||
- } else {
|
||||
- if (is_config) {
|
||||
- pkg_emit_error("Plist error, @config %s: not a regular "
|
||||
- "file", line);
|
||||
- free(buf);
|
||||
- return (EPKG_FATAL);
|
||||
- }
|
||||
}
|
||||
|
||||
if (S_ISDIR(st.st_mode) &&
|
Loading…
Reference in New Issue
Block a user