pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/lua-rapidjson



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Jun  7 11:53:32 UTC 2021

Modified Files:
        pkgsrc/textproc/lua-rapidjson: Makefile distinfo
        pkgsrc/textproc/lua-rapidjson/patches: patch-CMakeLists.txt

Log Message:
lua-rapidjson: update to 0.7.1

includes some performance improvements, fixes, and
a newer rapidjson library.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/lua-rapidjson/Makefile \
    pkgsrc/textproc/lua-rapidjson/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/textproc/lua-rapidjson/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/textproc/lua-rapidjson/Makefile
diff -u pkgsrc/textproc/lua-rapidjson/Makefile:1.1 pkgsrc/textproc/lua-rapidjson/Makefile:1.2
--- pkgsrc/textproc/lua-rapidjson/Makefile:1.1  Wed Jul  8 17:00:03 2020
+++ pkgsrc/textproc/lua-rapidjson/Makefile      Mon Jun  7 11:53:31 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2020/07/08 17:00:03 nia Exp $
+# $NetBSD: Makefile,v 1.2 2021/06/07 11:53:31 nia Exp $
 
-DISTNAME=      lua-rapidjson-0.6.1
+DISTNAME=      lua-rapidjson-0.7.1
 PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//1}
 CATEGORIES=    textproc lua
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=xpol/}
@@ -17,6 +17,8 @@ TEST_DEPENDS+=        ${LUA_PKGPREFIX}-busted-[
 USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
+CMAKE_ARGS+=   -DLUA_RAPIDJSON_VERSION=${PKGVERSION}
+
 # C++11
 GCC_REQD+=     4.7
 
Index: pkgsrc/textproc/lua-rapidjson/distinfo
diff -u pkgsrc/textproc/lua-rapidjson/distinfo:1.1 pkgsrc/textproc/lua-rapidjson/distinfo:1.2
--- pkgsrc/textproc/lua-rapidjson/distinfo:1.1  Wed Jul  8 17:00:03 2020
+++ pkgsrc/textproc/lua-rapidjson/distinfo      Mon Jun  7 11:53:31 2021
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2020/07/08 17:00:03 nia Exp $
+$NetBSD: distinfo,v 1.2 2021/06/07 11:53:31 nia Exp $
 
-SHA1 (lua-rapidjson-0.6.1.tar.gz) = c8fb7409ff9ea7fe0cce33ffd07dd6e71e012b6e
-RMD160 (lua-rapidjson-0.6.1.tar.gz) = aaebada7c103664fecf3df7da0330f34dafcea5d
-SHA512 (lua-rapidjson-0.6.1.tar.gz) = 45a4ed54b84739bbec538e4a58c0162201ae3b65ea03d171c637f6868568402a45ceccaef123e7a1fbf8244aa41912bc0491f0233bcc839634568a0edbc0f274
-Size (lua-rapidjson-0.6.1.tar.gz) = 192960 bytes
-SHA1 (patch-CMakeLists.txt) = 53a55d7d60564f26d1b39614e59928eb5cbb7aaa
+SHA1 (lua-rapidjson-0.7.1.tar.gz) = 09322ef9a91596afbc2bf5303a8aa7c1c10af78d
+RMD160 (lua-rapidjson-0.7.1.tar.gz) = d088e03472480a1847c7ff2be03c9fa551d90968
+SHA512 (lua-rapidjson-0.7.1.tar.gz) = e84157ddf000605cf41faf359eb51223867203cccd3c0d3597b1bc8e237ad6eda85ddf7854d97f1c57551e601f9a4389ac51143b4c51c27d21344b71e5a084dd
+Size (lua-rapidjson-0.7.1.tar.gz) = 196402 bytes
+SHA1 (patch-CMakeLists.txt) = 0cab7e139d29289582bfda81edf6e74d6df00494

Index: pkgsrc/textproc/lua-rapidjson/patches/patch-CMakeLists.txt
diff -u pkgsrc/textproc/lua-rapidjson/patches/patch-CMakeLists.txt:1.1 pkgsrc/textproc/lua-rapidjson/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/textproc/lua-rapidjson/patches/patch-CMakeLists.txt:1.1      Wed Jul  8 17:00:03 2020
+++ pkgsrc/textproc/lua-rapidjson/patches/patch-CMakeLists.txt  Mon Jun  7 11:53:31 2021
@@ -1,17 +1,20 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2020/07/08 17:00:03 nia Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2021/06/07 11:53:31 nia Exp $
 
--march=native is a terrible idea for obvious reasons.
+-march=native is a terrible idea if we want binary packages to work.
 
---- CMakeLists.txt.orig        2020-07-08 16:47:57.527083977 +0000
+--- CMakeLists.txt.orig        2021-04-09 11:59:20.000000000 +0000
 +++ CMakeLists.txt
-@@ -31,8 +31,8 @@ if(UNIX)
+@@ -31,12 +31,8 @@ if(UNIX)
          set(PLAT "linux")
          set(LINK_FLAGS "-shared")
      endif(APPLE)
--    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g -Wall -fPIC -march=native")
--    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -Wall -fPIC -march=native")
-+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -fPIC")
-+    set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -fPIC")
+-    add_compile_options(-g -Wall -fPIC)
++    add_compile_options(-Wall -fPIC)
+     include(CheckCXXCompilerFlag)
+-    CHECK_CXX_COMPILER_FLAG("-march=native" COMPILER_SUPPORTS_ARCH_NATIVE)
+-    if (COMPILER_SUPPORTS_ARCH_NATIVE)
+-        add_compile_options(-march=native)
+-    endif()
  else(UNIX)
      if(WIN32)
          set(PLAT "win32")



Home | Main Index | Thread Index | Old Index