Ticket #48459: lensfun.patch

File lensfun.patch, 3.3 KB (added by help@…, 9 years ago)

Portfile patch

  • graphics/lensfun/Portfile

    diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/lensfun/Portfile graphics/lensfun/Portfile
    old new  
    99
    1010name                lensfun
    1111epoch               1
    12 version             0.3.0
     12version             0.3.1
    1313categories          graphics
    1414platforms           darwin
    1515maintainers         devans openmaintainer
     
    2424
    2525homepage            http://lensfun.sourceforge.net/
    2626master_sites        sourceforge:project/${name}/${version}
    27 use_bzip2           yes
    2827
    29 checksums           rmd160  dc39f4708b2632ed6795052d368f3ad847c6704f \
    30                     sha256  c2c3c03873cb549d49d42f118fcb0ffa95d1e45b9ff395e19facb63bf699bec1
     28checksums           rmd160  b98aeed79c4514ed73ecd48e46d78c673b7d7e96 \
     29                    sha256  216c23754212e051c8b834437e46af3812533bd770c09714e8c06c9d91cdb535
    3130
    3231# With 0.3.0 and gcc-4.2:
    3332#    #error "I don't know how to change symbol visibility for your compiler"
  • graphics/lensfun/files/patch-docs-CMakeLists.txt.diff

    diff -ur /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/lensfun/files/patch-docs-CMakeLists.txt.diff graphics/lensfun/files/patch-docs-CMakeLists.txt.diff
    old new  
    1 --- docs/CMakeLists.txt.orig    2014-09-30 10:37:34.000000000 -0700
    2 +++ docs/CMakeLists.txt 2015-03-06 08:19:31.000000000 -0800
    3 @@ -26,9 +26,9 @@
     1--- docs/CMakeLists.txt.orig    2015-05-10 15:04:53.000000000 +0300
     2+++ docs/CMakeLists.txt 2015-07-29 22:21:38.000000000 +0300
     3@@ -23,7 +23,7 @@
     4 INSTALL(DIRECTORY ${CMAKE_DOC_OUT}/ DESTINATION ${DOCDIR})
     5 
     6 # create and install man pages
     7-FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man rst2man.py rst2man2 rst2man2.py)
     8+FIND_PROGRAM(RST2MAN_EXECUTABLE NAMES rst2man rst2man.py rst2man2 rst2man2.py rst2man-3.4.py)
    49 ADD_CUSTOM_TARGET(man ALL)
    510 ADD_CUSTOM_COMMAND(
    611   TARGET man
    7 -  COMMAND rst2man ${CMAKE_CURRENT_SOURCE_DIR}/man/g-lensfun-update-data.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/g-lensfun-update-data.1
    8 -  COMMAND rst2man ${CMAKE_CURRENT_SOURCE_DIR}/man/lensfun-update-data.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/lensfun-update-data.1
    9 -  COMMAND rst2man ${CMAKE_CURRENT_SOURCE_DIR}/man/lensfun-add-adapter.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/lensfun-add-adapter.1
    10 +  COMMAND rst2man-3.4.py ${CMAKE_CURRENT_SOURCE_DIR}/man/g-lensfun-update-data.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/g-lensfun-update-data.1
    11 +  COMMAND rst2man-3.4.py ${CMAKE_CURRENT_SOURCE_DIR}/man/lensfun-update-data.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/lensfun-update-data.1
    12 +  COMMAND rst2man-3.4.py ${CMAKE_CURRENT_SOURCE_DIR}/man/lensfun-add-adapter.1.rst > ${CMAKE_CURRENT_BINARY_DIR}/lensfun-add-adapter.1
    13    WORKING_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}"
    14  )
    15  
    16 @@ -36,5 +36,5 @@
     12@@ -37,5 +37,5 @@
    1713     ${CMAKE_CURRENT_BINARY_DIR}/g-lensfun-update-data.1
    1814     ${CMAKE_CURRENT_BINARY_DIR}/lensfun-update-data.1
    1915     ${CMAKE_CURRENT_BINARY_DIR}/lensfun-add-adapter.1