From owner-svn-ports-head@freebsd.org Thu Jun 16 18:15:23 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46880A77722; Thu, 16 Jun 2016 18:15:23 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 21C5825B1; Thu, 16 Jun 2016 18:15:23 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5GIFMhx084827; Thu, 16 Jun 2016 18:15:22 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5GIFLME084821; Thu, 16 Jun 2016 18:15:21 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201606161815.u5GIFLME084821@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Thu, 16 Jun 2016 18:15:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416977 - in head/graphics/podofo: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Jun 2016 18:15:23 -0000 Author: pawel Date: Thu Jun 16 18:15:21 2016 New Revision: 416977 URL: https://svnweb.freebsd.org/changeset/ports/416977 Log: - Update to version 0.9.4 - Recreate patches with make makepatch Added: head/graphics/podofo/files/patch-src_base_PdfMemoryManagement.cpp (contents, props changed) Modified: head/graphics/podofo/Makefile head/graphics/podofo/distinfo head/graphics/podofo/files/patch-CMakeLists.txt head/graphics/podofo/files/patch-cmake_modules_FindLua51.cmake head/graphics/podofo/files/patch-src_CMakeLists.txt Modified: head/graphics/podofo/Makefile ============================================================================== --- head/graphics/podofo/Makefile Thu Jun 16 18:15:08 2016 (r416976) +++ head/graphics/podofo/Makefile Thu Jun 16 18:15:21 2016 (r416977) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= podofo -PORTVERSION= 0.9.3 -PORTREVISION= 2 +PORTVERSION= 0.9.4 CATEGORIES= graphics print MASTER_SITES= SF Modified: head/graphics/podofo/distinfo ============================================================================== --- head/graphics/podofo/distinfo Thu Jun 16 18:15:08 2016 (r416976) +++ head/graphics/podofo/distinfo Thu Jun 16 18:15:21 2016 (r416977) @@ -1,2 +1,3 @@ -SHA256 (podofo-0.9.3.tar.gz) = ec261e31e89dce45b1a31be61e9c6bb250532e631a02d68ec5bb849ef0a222d8 -SIZE (podofo-0.9.3.tar.gz) = 1135095 +TIMESTAMP = 1465922141 +SHA256 (podofo-0.9.4.tar.gz) = ccdf505fcb4904617e728b15729da8700ff38442c1dd2f24fbd52934287ff859 +SIZE (podofo-0.9.4.tar.gz) = 1147939 Modified: head/graphics/podofo/files/patch-CMakeLists.txt ============================================================================== --- head/graphics/podofo/files/patch-CMakeLists.txt Thu Jun 16 18:15:08 2016 (r416976) +++ head/graphics/podofo/files/patch-CMakeLists.txt Thu Jun 16 18:15:21 2016 (r416977) @@ -1,18 +1,14 @@ ---- CMakeLists.txt.orig 2014-06-15 18:53:10.000000000 +0200 -+++ CMakeLists.txt 2014-07-08 16:13:02.647407659 +0200 -@@ -16,6 +16,11 @@ +--- CMakeLists.txt.orig 2016-06-08 20:55:08 UTC ++++ CMakeLists.txt +@@ -16,7 +16,6 @@ SET(PODOFO_VERSION_PATCH "4" CACHE STRIN SET(PODOFO_SOVERSION "${PODOFO_VERSION_MAJOR}.${PODOFO_VERSION_MINOR}.${PODOFO_VERSION_PATCH}") SET(PODOFO_LIBVERSION "${PODOFO_SOVERSION}") -+INCLUDE_DIRECTORIES( -+ ${PoDoFo_BINARY_DIR} -+ ${PoDoFo_SOURCE_DIR} -+ ${PoDoFo_SOURCE_DIR}/src -+) - +- # # Main includes -@@ -340,6 +345,7 @@ + # +@@ -345,6 +344,7 @@ ELSE(LIBIDN_FOUND) MESSAGE("Libidn not found. AES-256 Encryption support will be disabled") ENDIF(LIBIDN_FOUND) @@ -20,7 +16,7 @@ FIND_PACKAGE(LIBJPEG) IF(LIBJPEG_FOUND) -@@ -349,7 +355,9 @@ +@@ -354,7 +354,9 @@ IF(LIBJPEG_FOUND) ELSE(LIBJPEG_FOUND) MESSAGE("Libjpeg not found. JPEG support will be disabled") ENDIF(LIBJPEG_FOUND) @@ -30,7 +26,7 @@ FIND_PACKAGE(TIFF) IF(TIFF_FOUND) -@@ -359,7 +367,9 @@ +@@ -364,7 +366,9 @@ IF(TIFF_FOUND) ELSE(TIFF_FOUND) MESSAGE("Libtiff not found. TIFF support will be disabled") ENDIF(TIFF_FOUND) @@ -40,7 +36,7 @@ FIND_PACKAGE(PNG) IF(PNG_FOUND) -@@ -369,9 +379,11 @@ +@@ -374,9 +378,11 @@ IF(PNG_FOUND) ELSE(PNG_FOUND) MESSAGE("LibPng not found. PNG support will be disabled") ENDIF(PNG_FOUND) @@ -52,7 +48,7 @@ FIND_PACKAGE(CppUnit) IF(CppUnit_FOUND) -@@ -381,6 +393,7 @@ +@@ -386,6 +392,7 @@ IF(CppUnit_FOUND) ELSE(CppUnit_FOUND) MESSAGE("Cppunit not found. No unit tests will be built.") ENDIF(CppUnit_FOUND) @@ -60,15 +56,15 @@ ENDIF(NOT PODOFO_BUILD_LIB_ONLY) -@@ -443,6 +456,7 @@ - ENDIF(DEFINED JPEG_RUNTIME_COMPATIBLE) +@@ -426,6 +433,7 @@ ELSE(WANT_FONTCONFIG) + ENDIF(WANT_FONTCONFIG) IF(NOT PODOFO_BUILD_LIB_ONLY) +IF(WANT_LUA) FIND_PACKAGE(LUA) IF(LUA_FOUND) # If we have lua, we can build podofoimpose. -@@ -454,6 +468,7 @@ +@@ -437,6 +445,7 @@ IF(LUA_FOUND) ELSE(LUA_FOUND) MESSAGE("Lua not found - PoDoFoImpose and PoDoFoColor will be built without Lua support") ENDIF(LUA_FOUND) @@ -76,17 +72,7 @@ ENDIF(NOT PODOFO_BUILD_LIB_ONLY) -@@ -482,9 +497,6 @@ - ENDIF(WANT_BOOST) - - INCLUDE_DIRECTORIES( -- ${PoDoFo_BINARY_DIR} -- ${PoDoFo_SOURCE_DIR} -- ${PoDoFo_SOURCE_DIR}/src - ${FREETYPE_INCLUDE_DIR} - ${ZLIB_INCLUDE_DIR} - ${EXTRA_INCLUDES} -@@ -524,7 +536,7 @@ +@@ -510,7 +519,7 @@ SET(PODOFO_LIB # # Setup directories we will need # Modified: head/graphics/podofo/files/patch-cmake_modules_FindLua51.cmake ============================================================================== --- head/graphics/podofo/files/patch-cmake_modules_FindLua51.cmake Thu Jun 16 18:15:08 2016 (r416976) +++ head/graphics/podofo/files/patch-cmake_modules_FindLua51.cmake Thu Jun 16 18:15:21 2016 (r416977) @@ -1,6 +1,6 @@ ---- cmake/modules/FindLua51.cmake.orig 2009-10-17 13:51:12.000000000 +0400 -+++ cmake/modules/FindLua51.cmake 2009-10-17 13:51:39.000000000 +0400 -@@ -33,7 +33,7 @@ +--- cmake/modules/FindLua51.cmake.orig 2016-05-02 18:30:40 UTC ++++ cmake/modules/FindLua51.cmake +@@ -33,7 +33,7 @@ FIND_PATH(LUA_INCLUDE_DIR lua.h ) FIND_LIBRARY(LUA_LIBRARY @@ -9,7 +9,7 @@ PATHS $ENV{LUA_DIR} NO_DEFAULT_PATH -@@ -41,7 +41,7 @@ +@@ -41,7 +41,7 @@ FIND_LIBRARY(LUA_LIBRARY ) FIND_LIBRARY(LUA_LIBRARY Modified: head/graphics/podofo/files/patch-src_CMakeLists.txt ============================================================================== --- head/graphics/podofo/files/patch-src_CMakeLists.txt Thu Jun 16 18:15:08 2016 (r416976) +++ head/graphics/podofo/files/patch-src_CMakeLists.txt Thu Jun 16 18:15:21 2016 (r416977) @@ -1,6 +1,6 @@ ---- src/CMakeLists.txt.orig 2011-03-08 20:21:54.000000000 +0100 -+++ src/CMakeLists.txt 2011-11-19 18:56:46.575967234 +0100 -@@ -252,8 +252,8 @@ +--- src/CMakeLists.txt.orig 2016-04-21 20:19:17 UTC ++++ src/CMakeLists.txt +@@ -268,8 +268,8 @@ IF(PODOFO_BUILD_STATIC) ADD_LIBRARY(podofo_static STATIC ${PODOFO_BASE_SOURCES} ${PODOFO_DOC_SOURCES}) TARGET_LINK_LIBRARIES(podofo_static ${PODOFO_LIB_DEPENDS}) SET_TARGET_PROPERTIES(podofo_static PROPERTIES @@ -11,7 +11,7 @@ CLEAN_DIRECT_OUTPUT 1 OUTPUT_NAME "podofo" COMPILE_FLAGS "-DBUILDING_PODOFO" -@@ -276,8 +276,8 @@ +@@ -292,8 +292,8 @@ IF(PODOFO_BUILD_SHARED) # Visual Studio, since it produces invalid warnings about STL # use. SET_TARGET_PROPERTIES(podofo_shared PROPERTIES Added: head/graphics/podofo/files/patch-src_base_PdfMemoryManagement.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/podofo/files/patch-src_base_PdfMemoryManagement.cpp Thu Jun 16 18:15:21 2016 (r416977) @@ -0,0 +1,17 @@ +--- src/base/PdfMemoryManagement.cpp.orig 2016-06-16 16:10:23 UTC ++++ src/base/PdfMemoryManagement.cpp +@@ -44,6 +44,14 @@ + #endif + #endif // _WIN32 + ++#ifdef __FreeBSD__ ++#if __WORDSIZE == 64 ++#define SIZE_MAX UINT64_MAX ++#else ++#define SIZE_MAX UINT_MAX ++#endif ++#endif ++ + #if defined(_MSC_VER) && ( _MSC_VER <= 1200 ) + // errno.h isn't available in Visual C++ 6 (definitions are in stdlib.h which is already included) + #else