pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/gama



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Jan 24 15:05:05 UTC 2021

Modified Files:
        pkgsrc/geography/gama: Makefile distinfo
Added Files:
        pkgsrc/geography/gama/patches: patch-lib_gnu__gama_g3_g3__model.cpp

Log Message:
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.)


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/geography/gama/Makefile
cvs rdiff -u -r1.19 -r1.20 pkgsrc/geography/gama/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/geography/gama/patches/patch-lib_gnu__gama_g3_g3__model.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/gama/Makefile
diff -u pkgsrc/geography/gama/Makefile:1.42 pkgsrc/geography/gama/Makefile:1.43
--- pkgsrc/geography/gama/Makefile:1.42 Sun Jan 24 14:52:25 2021
+++ pkgsrc/geography/gama/Makefile      Sun Jan 24 15:05:04 2021
@@ -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/}
 

Index: pkgsrc/geography/gama/distinfo
diff -u pkgsrc/geography/gama/distinfo:1.19 pkgsrc/geography/gama/distinfo:1.20
--- pkgsrc/geography/gama/distinfo:1.19 Sun Jan 24 14:52:25 2021
+++ pkgsrc/geography/gama/distinfo      Sun Jan 24 15:05:04 2021
@@ -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

Added files:

Index: pkgsrc/geography/gama/patches/patch-lib_gnu__gama_g3_g3__model.cpp
diff -u /dev/null pkgsrc/geography/gama/patches/patch-lib_gnu__gama_g3_g3__model.cpp:1.1
--- /dev/null   Sun Jan 24 15:05:05 2021
+++ pkgsrc/geography/gama/patches/patch-lib_gnu__gama_g3_g3__model.cpp  Sun Jan 24 15:05:05 2021
@@ -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