pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/geos geography/geos: Adjust patch comment text



details:   https://anonhg.NetBSD.org/pkgsrc/rev/532e4c748136
branches:  trunk
changeset: 424495:532e4c748136
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Mar 11 22:15:16 2020 +0000

description:
geography/geos: Adjust patch comment text

diffstat:

 geography/geos/distinfo                           |   4 ++--
 geography/geos/patches/patch-capi_geos__ts__c.cpp |  12 +++++++-----
 2 files changed, 9 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 66e34e4c8b6a -r 532e4c748136 geography/geos/distinfo
--- a/geography/geos/distinfo   Wed Mar 11 20:38:14 2020 +0000
+++ b/geography/geos/distinfo   Wed Mar 11 22:15:16 2020 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.31 2020/03/11 12:52:06 gdt Exp $
+$NetBSD: distinfo,v 1.32 2020/03/11 22:15:16 gdt Exp $
 
 SHA1 (geos-3.8.1.tar.bz2) = dbd165752dd4c48d81a84aa51c99d04410d96c67
 RMD160 (geos-3.8.1.tar.bz2) = 16b9b4dba1c772c561bace8e3e7c514f78fd4037
 SHA512 (geos-3.8.1.tar.bz2) = 1d8d8b3ece70eb388ea128f4135c7455899f01828223b23890ad3a2401e27104efce03987676794273a9b9d4907c0add2be381ff14b8420aaa9a858cc5941056
 Size (geos-3.8.1.tar.bz2) = 2505407 bytes
 SHA1 (patch-ae) = d566a7cc7fdbb29cb7f39d6e0e4adf525213f62c
-SHA1 (patch-capi_geos__ts__c.cpp) = ca838fe4a0897739f700c5d1e3ccb231df794705
+SHA1 (patch-capi_geos__ts__c.cpp) = 72328164bbb870d51b4acfc81838f99c393d30c1
diff -r 66e34e4c8b6a -r 532e4c748136 geography/geos/patches/patch-capi_geos__ts__c.cpp
--- a/geography/geos/patches/patch-capi_geos__ts__c.cpp Wed Mar 11 20:38:14 2020 +0000
+++ b/geography/geos/patches/patch-capi_geos__ts__c.cpp Wed Mar 11 22:15:16 2020 +0000
@@ -1,10 +1,12 @@
-$NetBSD: patch-capi_geos__ts__c.cpp,v 1.3 2020/03/11 12:52:07 gdt Exp $
+$NetBSD: patch-capi_geos__ts__c.cpp,v 1.4 2020/03/11 22:15:16 gdt Exp $
+
+The geos code passes an object of type std::string to variadic functions
+NOTICE_MESSAGE and ERROR_MESSAGE.  Passing non-POD types is UB.
 
-Passing non-POD types like std::string to variadic functions is UB.
-To avoid this, change functions to take const char * rather than
-std::string.
+To avoid this, change the functions to take const char * rather than
+std::string (and adjust the use of the variables in the functions).
   
-\todo File a bug upstream
+\TODO File a bug upstream
 
 --- capi/geos_ts_c.cpp.orig    2020-03-10 17:19:40.000000000 +0000
 +++ capi/geos_ts_c.cpp



Home | Main Index | Thread Index | Old Index