aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2018-08-20 16:53:05 +0000
committerBrad Davis <brd@FreeBSD.org>2018-08-20 16:53:05 +0000
commit8a3ef66b517b75cc07b4ce99328509aaf3a358fb (patch)
tree6d774fa1957701415e76749a2bb6f094d78445fe /ports-mgmt
parent34c35b0efb29a749f97c7d3ce1cfc1fd1f86557b (diff)
downloadports-8a3ef66b517b75cc07b4ce99328509aaf3a358fb.tar.gz
ports-8a3ef66b517b75cc07b4ce99328509aaf3a358fb.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/pkg/Makefile2
-rw-r--r--ports-mgmt/pkg/files/patch-170213
2 files changed, 14 insertions, 1 deletions
diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile
index 98d98487b4dd..fddf0a1d922e 100644
--- a/ports-mgmt/pkg/Makefile
+++ b/ports-mgmt/pkg/Makefile
@@ -2,7 +2,7 @@
PORTNAME= pkg
DISTVERSION= 1.10.5
-PORTREVISION= 1
+PORTREVISION= 2
_PKG_VERSION= ${DISTVERSION}
CATEGORIES= ports-mgmt
MASTER_SITES= \
diff --git a/ports-mgmt/pkg/files/patch-1702 b/ports-mgmt/pkg/files/patch-1702
new file mode 100644
index 000000000000..c6f52daa58e6
--- /dev/null
+++ b/ports-mgmt/pkg/files/patch-1702
@@ -0,0 +1,13 @@
+diff --git a/libpkg/pkg.c b/libpkg/pkg.c
+index 0c472b39..b4ee9ec3 100644
+--- libpkg/pkg.c
++++ libpkg/pkg.c
+@@ -1668,7 +1668,7 @@ pkg_is_config_file(struct pkg *p, const char *path,
+ return (false);
+
+ kh_find(pkg_config_files, p->config_files, path, *cfile);
+- if (cfile == NULL) {
++ if (*cfile == NULL) {
+ *file = NULL;
+ return (false);
+ }