aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2017-02-07 22:11:53 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2017-02-07 22:11:53 +0000
commit4ae38d96fc07479cbc95ef0cb968d17f0921d9bf (patch)
tree98fda67ec62bdd6d70675dafa2df964370a784bf
parent679732cbd271c672eb1392afa100b56634fccd76 (diff)
Notes
-rw-r--r--devel/pkgconf/Makefile1
-rw-r--r--devel/pkgconf/files/patch-libpkgconf_argvsplit.c16
2 files changed, 17 insertions, 0 deletions
diff --git a/devel/pkgconf/Makefile b/devel/pkgconf/Makefile
index 8a1f01fe6479..dbf83d145909 100644
--- a/devel/pkgconf/Makefile
+++ b/devel/pkgconf/Makefile
@@ -2,6 +2,7 @@
PORTNAME= pkgconf
PORTVERSION= 1.2.2
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= https://distfiles.dereferenced.org/pkgconf/ \
http://files.etoilebsd.net/pkgconf/
diff --git a/devel/pkgconf/files/patch-libpkgconf_argvsplit.c b/devel/pkgconf/files/patch-libpkgconf_argvsplit.c
new file mode 100644
index 000000000000..a9b6e689e33f
--- /dev/null
+++ b/devel/pkgconf/files/patch-libpkgconf_argvsplit.c
@@ -0,0 +1,16 @@
+diff --git libpkgconf/argvsplit.c libpkgconf/argvsplit.c
+index cded5f7..f893215 100644
+--- libpkgconf/argvsplit.c
++++ libpkgconf/argvsplit.c
+@@ -111,6 +111,11 @@ pkgconf_argv_split(const char *src, int *argc, char ***argv)
+ }
+ else switch(*src_iter)
+ {
++ case '"':
++ case '\'':
++ quote = *src_iter;
++ break;
++
+ case '\\':
+ src_iter++;
+