pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/gama geography/gama: Add patch fixing use of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83ec6408bb52
branches:  trunk
changeset: 445468:83ec6408bb52
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Jan 24 15:05:04 2021 +0000

description:
geography/gama: Add patch fixing use of uninitialized variable

(Patch has been sent upstream and almost certainly this will be fixed
in the next release.)

diffstat:

 geography/gama/Makefile                                     |   3 +-
 geography/gama/distinfo                                     |   3 +-
 geography/gama/patches/patch-lib_gnu__gama_g3_g3__model.cpp |  17 +++++++++++++
 3 files changed, 21 insertions(+), 2 deletions(-)

diffs (46 lines):

diff -r 08c2f4d2a2ee -r 83ec6408bb52 geography/gama/Makefile
--- a/geography/gama/Makefile   Sun Jan 24 14:52:30 2021 +0000
+++ b/geography/gama/Makefile   Sun Jan 24 15:05:04 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.42 2021/01/24 14:52:25 gdt Exp $
+# $NetBSD: Makefile,v 1.43 2021/01/24 15:05:04 gdt Exp $
 #
 
 DISTNAME=      gama-2.13
+PKGREVISION=   1
 CATEGORIES=    geography
 MASTER_SITES=  ${MASTER_SITE_GNU:=gama/}
 
diff -r 08c2f4d2a2ee -r 83ec6408bb52 geography/gama/distinfo
--- a/geography/gama/distinfo   Sun Jan 24 14:52:30 2021 +0000
+++ b/geography/gama/distinfo   Sun Jan 24 15:05:04 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.19 2021/01/24 14:52:25 gdt Exp $
+$NetBSD: distinfo,v 1.20 2021/01/24 15:05:04 gdt Exp $
 
 SHA1 (gama-2.13.tar.gz) = cdf41c511d10bb4e6253828b1f9809ce4dcbc8e3
 RMD160 (gama-2.13.tar.gz) = 37921c03ac243f9b0d5e51402bc238b9d34d7957
 SHA512 (gama-2.13.tar.gz) = 431221c8a6316ab38e10f09ff9764165b25ee63da3f1f3ca68d2189a84c4cb38343d7085c43d683e31b4aaaf320787292cb5c36f6c1b8c5ebab713f01ce40604
 Size (gama-2.13.tar.gz) = 14697638 bytes
+SHA1 (patch-lib_gnu__gama_g3_g3__model.cpp) = c6ad931ca118fa0b0ab9dc4f101fc66effe9120b
diff -r 08c2f4d2a2ee -r 83ec6408bb52 geography/gama/patches/patch-lib_gnu__gama_g3_g3__model.cpp
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gama/patches/patch-lib_gnu__gama_g3_g3__model.cpp       Sun Jan 24 15:05:04 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-lib_gnu__gama_g3_g3__model.cpp,v 1.1 2021/01/24 15:05:05 gdt Exp $
+
+Initialize class member to avoid later uninitialized use.
+
+Sent to upstream maintainer via email 2020-01-24.
+
+--- lib/gnu_gama/g3/g3_model.cpp.orig  2020-11-28 19:50:40.000000000 +0000
++++ lib/gnu_gama/g3/g3_model.cpp
+@@ -40,6 +40,8 @@ Model::Model()
+   adj            = new Adj;
+   adj_input_data = 0;
+ 
++  A = NULL;
++
+   points->set_common_data(this);
+   set(&ellipsoid, ellipsoid_wgs84);
+ 



Home | Main Index | Thread Index | Old Index