pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53106



The following reply was made to PR pkg/53106; it has been noted by GNATS.

From: Matthias Petermann <matthias%petermann-it.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: john%ziaspace.com@localhost
Subject: Re: pkg/53106
Date: Wed, 11 Apr 2018 05:55:23 +0200

 This is a multi-part message in MIME format.
 --------------DA98E83428E0ACA12BC00FB9
 Content-Type: text/plain; charset=utf-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 diff -ruN libgpg-error.orig/Makefile libgpg-error/Makefile
 --- libgpg-error.orig/Makefile	2018-04-11 01:09:15.000000000 +0000
 +++ libgpg-error/Makefile	2018-04-11 01:19:55.000000000 +0000
 @@ -1,7 +1,7 @@
   # $NetBSD: Makefile,v 1.59 2018/03/20 12:39:28 wiz Exp $
 
   DISTNAME=	libgpg-error-1.28
 -PKGREVISION=	1
 +PKGREVISION=	2
   CATEGORIES=	security
   MASTER_SITES=	ftp://ftp.gnupg.org/gcrypt/libgpg-error/
   MASTER_SITES+=	ftp://ftp.ring.gr.jp/pub/net/gnupg/libgpg-error/
 diff -ruN libgpg-error.orig/distinfo libgpg-error/distinfo
 --- libgpg-error.orig/distinfo	2018-04-11 01:09:16.000000000 +0000
 +++ libgpg-error/distinfo	2018-04-11 01:21:02.000000000 +0000
 @@ -7,3 +7,4 @@
   SHA1 (patch-doc_Makefile.in) = 39695ac1dc4601445f335979f3db0c8c2b53a095
   SHA1 (patch-src_estream.c) = 0502a55403062abeab22c83a6d919c57ff1c5d82
   SHA1 (patch-src_gpg-error-config.in) = 
 e22e99208192971f8c123d7ee9b22c5f615669e1
 +SHA1 (patch-src_logging.c) = 2c268e5442369e6a6692b5660b217798bcbad77b
 diff -ruN libgpg-error.orig/patches/patch-src_logging.c 
 libgpg-error/patches/patch-src_logging.c
 --- libgpg-error.orig/patches/patch-src_logging.c	1970-01-01 
 00:00:00.000000000 +0000
 +++ libgpg-error/patches/patch-src_logging.c	2018-04-11 
 01:19:41.000000000 +0000
 @@ -0,0 +1,29 @@
 +$NetBSD$
 +
 +Temporary patch derived from upstream projects master branch,
 +commit=791177de023574223eddf7288eb7c5a0721ac623
 +
 +Must be removed once updated to (yet unreleased) version 1.29!
 +
 +Fixes: https://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=53106
 +
 +--- src/logging.c.orig	2018-04-11 01:10:19.000000000 +0000
 ++++ src/logging.c
 +@@ -1150,7 +1150,16 @@ _gpgrt_log_printhex (const void *buffer,
 +       va_end (arg_ptr);
 +     }
 +   else
 +-    _gpgrt_logv_printhex (buffer, length, NULL, NULL);
 ++    {
 ++      /* va_list is not necessary a pointer and thus we can't use NULL
 ++       * because that would conflict with platforms using a straight
 ++       * struct for it (e.g. arm64).  We use a dummy variable instead;
 ++       * the static is a simple way zero it out so to not get
 ++       * complains about uninitialized use.  */
 ++      static va_list dummy_argptr;
 ++
 ++      _gpgrt_logv_printhex (buffer, length, NULL, dummy_argptr);
 ++    }
 + }
 +
 +
 
 --------------DA98E83428E0ACA12BC00FB9
 Content-Type: text/plain; charset=UTF-8;
  name="security___libgpg-error.patch"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="security___libgpg-error.patch"
 
 ZGlmZiAtcnVOIGxpYmdwZy1lcnJvci5vcmlnL01ha2VmaWxlIGxpYmdwZy1lcnJvci9NYWtl
 ZmlsZQotLS0gbGliZ3BnLWVycm9yLm9yaWcvTWFrZWZpbGUJMjAxOC0wNC0xMSAwMTowOTox
 NS4wMDAwMDAwMDAgKzAwMDAKKysrIGxpYmdwZy1lcnJvci9NYWtlZmlsZQkyMDE4LTA0LTEx
 IDAxOjE5OjU1LjAwMDAwMDAwMCArMDAwMApAQCAtMSw3ICsxLDcgQEAKICMgJE5ldEJTRDog
 TWFrZWZpbGUsdiAxLjU5IDIwMTgvMDMvMjAgMTI6Mzk6Mjggd2l6IEV4cCAkCiAKIERJU1RO
 QU1FPQl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TlVMTAorKyAgICAgICAqIGJlY2F1c2UgdGhhdCB3b3VsZCBjb25mbGljdCB3aXRoIHBsYXRm
 b3JtcyB1c2luZyBhIHN0cmFpZ2h0CisrICAgICAgICogc3RydWN0IGZvciBpdCAoZS5nLiBh
 cm02NCkuICBXZSB1c2UgYSBkdW1teSB2YXJpYWJsZSBpbnN0ZWFkOworKyAgICAgICAqIHRo
 ZSBzdGF0aWMgaXMgYSBzaW1wbGUgd2F5IHplcm8gaXQgb3V0IHNvIHRvIG5vdCBnZXQKKysg
 ICAgICAgKiBjb21wbGFpbnMgYWJvdXQgdW5pbml0aWFsaXplZCB1c2UuICAqLworKyAgICAg
 IHN0YXRpYyB2YV9saXN0IGR1bW15X2FyZ3B0cjsKKysKKysgICAgICBfZ3BncnRfbG9ndl9w
 cmludGhleCAoYnVmZmVyLCBsZW5ndGgsIE5VTEwsIGR1bW15X2FyZ3B0cik7CisrICAgIH0K
 KyB9CisgCisgCg==
 --------------DA98E83428E0ACA12BC00FB9--
 


Home | Main Index | Thread Index | Old Index