diff options
author | cy <cy@FreeBSD.org> | 2019-07-03 06:51:36 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2019-07-03 06:51:36 +0800 |
commit | e8a2411359e26d951f6de4f77ed8f9df8762e82e (patch) | |
tree | fa51380a4fb3b18a16f7c75bb55c2451cef2c6a7 /security | |
parent | 085517698e91876783324e9f622c254e8a4dd168 (diff) | |
download | freebsd-ports-gnome-e8a2411359e26d951f6de4f77ed8f9df8762e82e.tar.gz freebsd-ports-gnome-e8a2411359e26d951f6de4f77ed8f9df8762e82e.tar.zst freebsd-ports-gnome-e8a2411359e26d951f6de4f77ed8f9df8762e82e.zip |
Revert r505701 and fix "variable 'ap' is uninitialized" properly. It
is incorrectly not flagged as an error on 13-CURRENT.
Diffstat (limited to 'security')
-rw-r--r-- | security/krb5-devel/Makefile | 2 | ||||
-rw-r--r-- | security/krb5-devel/files/patch-tests_softpkcs11_main.c | 10 |
2 files changed, 10 insertions, 2 deletions
diff --git a/security/krb5-devel/Makefile b/security/krb5-devel/Makefile index 8f265fca7d94..02d1d46798b7 100644 --- a/security/krb5-devel/Makefile +++ b/security/krb5-devel/Makefile @@ -10,8 +10,6 @@ PKGNAMESUFFIX= -devel HASH= 2063ff0 MIT_COMMIT_DATE= 2019.07.02 -BROKEN_FreeBSD_11= vsnprintf uninitialized va_list ap - PATCH_SITES= http://web.mit.edu/kerberos/advisories/ PATCH_DIST_STRIP= -p2 diff --git a/security/krb5-devel/files/patch-tests_softpkcs11_main.c b/security/krb5-devel/files/patch-tests_softpkcs11_main.c new file mode 100644 index 000000000000..d4f55908fba7 --- /dev/null +++ b/security/krb5-devel/files/patch-tests_softpkcs11_main.c @@ -0,0 +1,10 @@ +--- tests/softpkcs11/main.c.orig 2019-07-01 17:36:37.000000000 -0700 ++++ tests/softpkcs11/main.c 2019-07-02 14:13:26.478468000 -0700 +@@ -179,6 +179,7 @@ + { + int len; + va_list ap; ++ va_start(ap, fmt); + len = vsnprintf(str, size, fmt, ap); + va_end(ap); + if (len < 0 || len > size) |