pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/proj



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Sep  4 17:12:00 UTC 2024

Modified Files:
        pkgsrc/geography/proj: distinfo
Added Files:
        pkgsrc/geography/proj/patches: patch-CMakeLists.txt

Log Message:
geography/proj: Fix build with gcc7

proj's cmake files add a newish warning flag without checking if the
compiler is ok with it.  That works on gcc10 and fails on gcc7.  Patch
out the warning.  Reported upstream, who says they fixed this for the
upcoming 9.5, and that their CI no longer tests with gcc7.


To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/geography/proj/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/geography/proj/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/geography/proj/distinfo
diff -u pkgsrc/geography/proj/distinfo:1.22 pkgsrc/geography/proj/distinfo:1.23
--- pkgsrc/geography/proj/distinfo:1.22 Sun Sep  1 13:33:50 2024
+++ pkgsrc/geography/proj/distinfo      Wed Sep  4 17:12:00 2024
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.22 2024/09/01 13:33:50 gdt Exp $
+$NetBSD: distinfo,v 1.23 2024/09/04 17:12:00 gdt Exp $
 
 BLAKE2s (proj-9.4.1.tar.gz) = 6a283bfcc15e0da5b41abfbc23a5d5346ad1cdd4cc8d6781143d12bf502313f8
 SHA512 (proj-9.4.1.tar.gz) = e9e4a80125a9481709fa7a16c8ceed7c5480c1d9152fe0c16ff69cd976081b9f41e23783459ee2a50771ec7f6210f46167de5af9ee943ff274bd27a1de4b6305
 Size (proj-9.4.1.tar.gz) = 5665272 bytes
+SHA1 (patch-CMakeLists.txt) = e016982f3b0d845f9a2f63ab491afc51959a2044

Added files:

Index: pkgsrc/geography/proj/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/geography/proj/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Wed Sep  4 17:12:00 2024
+++ pkgsrc/geography/proj/patches/patch-CMakeLists.txt  Wed Sep  4 17:12:00 2024
@@ -0,0 +1,26 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2024/09/04 17:12:00 gdt Exp $
+
+Remove warning that upstream adds w/o checking acceptability.
+
+Reported upstream by email 20240904.
+Upstream has addressed for 9.5.x:
+  https://github.com/OSGeo/PROJ/commit/de8118616a668fe92f2c0aadc847449b0d0d122a
+
+--- CMakeLists.txt.orig        2024-09-04 16:49:11.007622091 +0000
++++ CMakeLists.txt
+@@ -65,7 +65,6 @@ if("${CMAKE_C_COMPILER_ID}" STREQUAL "GN
+   )
+   set(PROJ_CXX_WARN_FLAGS ${PROJ_common_WARN_FLAGS}
+     -Weffc++
+-    -Wextra-semi
+     # -Wold-style-cast
+     -Woverloaded-virtual
+     -Wzero-as-null-pointer-constant
+@@ -85,7 +84,6 @@ elseif("${CMAKE_C_COMPILER_ID}" MATCHES 
+   )
+   set(PROJ_CXX_WARN_FLAGS ${PROJ_common_WARN_FLAGS}
+     -Weffc++
+-    -Wextra-semi
+     # -Wold-style-cast
+     -Woverloaded-virtual
+     -Wshorten-64-to-32



Home | Main Index | Thread Index | Old Index