FreeBSD Bugzilla – Attachment 186404 Details for
Bug 222348
textproc/pugixml: update to 1.8.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to update pugixml to 1.8.1
pugixml_181.diff (text/plain), 7.89 KB, created by
Steve Wills
on 2017-09-15 02:32:12 UTC
(
hide
)
Description:
patch to update pugixml to 1.8.1
Filename:
MIME Type:
Creator:
Steve Wills
Created:
2017-09-15 02:32:12 UTC
Size:
7.89 KB
patch
obsolete
>Index: textproc/pugixml/Makefile >=================================================================== >--- textproc/pugixml/Makefile (revision 448938) >+++ textproc/pugixml/Makefile (working copy) >@@ -1,8 +1,7 @@ > # $FreeBSD$ > > PORTNAME= pugixml >-PORTVERSION= 1.7 >-PORTREVISION= 2 >+PORTVERSION= 1.8.1 > CATEGORIES= textproc > MASTER_SITES= https://github.com/zeux/pugixml/releases/download/v${PORTVERSION}/ > >@@ -12,8 +11,9 @@ > LICENSE= MIT > > USES= cmake compiler:c++11-lang >-CMAKE_SOURCE_PATH= ${WRKSRC}/scripts > > CXXFLAGS+= -std=c++11 >+WRKSRC= ${WRKDIR}/${PORTNAME}-1.8 >+CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=ON -DBUILD_TESTS=OFF -DBUILD_PKGCONFIG=ON > > .include <bsd.port.mk> >Index: textproc/pugixml/distinfo >=================================================================== >--- textproc/pugixml/distinfo (revision 448938) >+++ textproc/pugixml/distinfo (working copy) >@@ -1,2 +1,3 @@ >-SHA256 (pugixml-1.7.tar.gz) = fbe10d46f61d769f7d92a296102e4e2bd3ee16130f11c5b10a1aae590ea1f5ca >-SIZE (pugixml-1.7.tar.gz) = 354472 >+TIMESTAMP = 1505424287 >+SHA256 (pugixml-1.8.1.tar.gz) = 00d974a1308e85ca0677a981adc1b2855cb060923181053fb0abf4e2f37b8f39 >+SIZE (pugixml-1.8.1.tar.gz) = 357846 >Index: textproc/pugixml/files/patch-CMakeLists.txt >=================================================================== >--- textproc/pugixml/files/patch-CMakeLists.txt (nonexistent) >+++ textproc/pugixml/files/patch-CMakeLists.txt (working copy) >@@ -0,0 +1,62 @@ >+--- CMakeLists.txt.orig 2016-11-27 15:48:03.000000000 -0500 >++++ CMakeLists.txt 2017-09-14 18:31:07.892853000 -0400 >+@@ -2,7 +2,8 @@ >+ >+ cmake_minimum_required(VERSION 2.6) >+ >+-option(BUILD_SHARED_LIBS "Build shared instead of static library" OFF) >++option(BUILD_SHARED_LIBS "Build shared library" OFF) >++option(BUILD_STATIC_LIBS "Build static library" OFF) >+ option(BUILD_TESTS "Build tests" OFF) >+ option(BUILD_PKGCONFIG "Build in PKGCONFIG mode" OFF) >+ >+@@ -38,28 +39,27 @@ >+ >+ if(BUILD_SHARED_LIBS) >+ add_library(pugixml SHARED ${SOURCES}) >+-else() >+- add_library(pugixml STATIC ${SOURCES}) >++ set_target_properties(pugixml PROPERTIES VERSION 1.8 SOVERSION 1) >++ install(TARGETS pugixml EXPORT pugixml-config >++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} >++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} >++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) >+ endif() >++if(BUILD_STATIC_LIBS) >++ add_library(pugixml_static STATIC ${SOURCES}) >++ set_target_properties(pugixml_static PROPERTIES OUTPUT_NAME pugixml) >++ install(TARGETS pugixml_static >++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} >++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} >++ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) >++endif() >+ >+ # Enable C++11 long long for compilers that are capable of it >+ if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS 3.1 AND ";${CMAKE_CXX_COMPILE_FEATURES};" MATCHES ";cxx_long_long_type;") >+ target_compile_features(pugixml PUBLIC cxx_long_long_type) >+ endif() >+ >+-set_target_properties(pugixml PROPERTIES VERSION 1.8 SOVERSION 1) >+-get_target_property(PUGIXML_VERSION_STRING pugixml VERSION) >+- >+-if(BUILD_PKGCONFIG) >+- # Install library into its own directory under LIBDIR >+- set(INSTALL_SUFFIX /pugixml-${PUGIXML_VERSION_STRING}) >+-endif() >+- >+-install(TARGETS pugixml EXPORT pugixml-config >+- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX} >+- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}${INSTALL_SUFFIX} >+- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}) >+-install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}${INSTALL_SUFFIX}) >++install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) >+ install(EXPORT pugixml-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml) >+ >+ if(BUILD_PKGCONFIG) >+@@ -75,4 +75,4 @@ >+ add_executable(check ${TEST_SOURCES}) >+ target_link_libraries(check pugixml) >+ add_custom_command(TARGET check POST_BUILD COMMAND check WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) >+-endif() >+\ No newline at end of file >++endif() > >Property changes on: textproc/pugixml/files/patch-CMakeLists.txt >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: textproc/pugixml/files/patch-scripts_CMakeLists.txt >=================================================================== >--- textproc/pugixml/files/patch-scripts_CMakeLists.txt (revision 448938) >+++ textproc/pugixml/files/patch-scripts_CMakeLists.txt (nonexistent) >@@ -1,34 +0,0 @@ >---- scripts/CMakeLists.txt.orig 2015-10-19 06:15:50.000000000 +0300 >-+++ scripts/CMakeLists.txt 2016-06-20 22:08:33.133152000 +0300 >-@@ -19,27 +19,19 @@ >- endforeach() >- endif() >- >--if(BUILD_SHARED_LIBS) >-- add_library(pugixml SHARED ${SOURCES}) >--else() >-- add_library(pugixml STATIC ${SOURCES}) >--endif() >-- >--# Enable C++11 long long for compilers that are capable of it >--if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} STRLESS 3.1) >-- target_compile_features(pugixml PUBLIC cxx_long_long_type) >--endif() >-+add_library(pugixml SHARED ${SOURCES}) >-+add_library(pugixml_static STATIC ${SOURCES}) >- >- set_target_properties(pugixml PROPERTIES VERSION 1.7 SOVERSION 1) >-+set_target_properties(pugixml_static PROPERTIES OUTPUT_NAME pugixml) >- >--install(TARGETS pugixml EXPORT pugixml-config >-+install(TARGETS pugixml pugixml_static >- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} >- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} >- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} >- ) >- >- install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) >--install(EXPORT pugixml-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml) >- >- if(BUILD_TESTS) >- file(GLOB TEST_SOURCES ../tests/*.cpp) > >Property changes on: textproc/pugixml/files/patch-scripts_CMakeLists.txt >___________________________________________________________________ >Deleted: fbsd:nokeywords >## -1 +0,0 ## >-yes >\ No newline at end of property >Deleted: svn:eol-style >## -1 +0,0 ## >-native >\ No newline at end of property >Deleted: svn:mime-type >## -1 +0,0 ## >-text/plain >\ No newline at end of property >Index: textproc/pugixml/files/patch-scripts_pugixml.pc.in >=================================================================== >--- textproc/pugixml/files/patch-scripts_pugixml.pc.in (nonexistent) >+++ textproc/pugixml/files/patch-scripts_pugixml.pc.in (working copy) >@@ -0,0 +1,18 @@ >+--- scripts/pugixml.pc.in.orig 2017-09-14 18:05:00.281262000 -0400 >++++ scripts/pugixml.pc.in 2017-09-14 18:05:14.312398000 -0400 >+@@ -1,11 +1,11 @@ >+ prefix=@CMAKE_INSTALL_PREFIX@ >+ exec_prefix=${prefix} >+-includedir=${prefix}/include/pugixml-@PUGIXML_VERSION_STRING@ >+-libdir=${exec_prefix}/lib/pugixml-@PUGIXML_VERSION_STRING@ >++includedir=${prefix}/include >++libdir=${exec_prefix}/lib >+ >+ Name: pugixml >+ Description: Light-weight, simple and fast XML parser for C++ with XPath support. >+ URL: http://pugixml.org/ >+ Version: @PUGIXML_VERSION_STRING@ >+ Cflags: -I${includedir} >+-Libs: -L${libdir} -lpugixml >+\ No newline at end of file >++Libs: -L${libdir} -lpugixml > >Property changes on: textproc/pugixml/files/patch-scripts_pugixml.pc.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: textproc/pugixml/pkg-plist >=================================================================== >--- textproc/pugixml/pkg-plist (revision 448938) >+++ textproc/pugixml/pkg-plist (working copy) >@@ -1,6 +1,9 @@ > include/pugiconfig.hpp > include/pugixml.hpp >+lib/cmake/pugixml/pugixml-config-%%CMAKE_BUILD_TYPE%%.cmake >+lib/cmake/pugixml/pugixml-config.cmake > lib/libpugixml.a > lib/libpugixml.so > lib/libpugixml.so.1 >-lib/libpugixml.so.1.7 >+lib/libpugixml.so.1.8 >+libdata/pkgconfig/pugixml.pc
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 222348
: 186404