Ticket #49737: patch-xapian-core-1.2.21.diff

File patch-xapian-core-1.2.21.diff, 2.3 KB (added by dbevans (David B. Evans), 8 years ago)

Patch to update xapian-core to version 1.2.21

  • Portfile

     
    77PortGroup           muniversal 1.0
    88
    99name                xapian-core
    10 version             1.2.20
     10version             1.2.21
    1111categories          devel
    1212maintainers         gmail.com:dcolish
    1313license             GPL-2+
     
    2424master_sites        http://oligarchy.co.uk/xapian/${version}/
    2525use_xz              yes
    2626
    27 checksums           rmd160  40239b0f5c6f2cbea02fe2a9fd0897d8a39637a7 \
    28                     sha256  c4f8d5b9e393ea32912955a17e6b6ea3f6c052ae9133ded6fe48582c25b1aa8f
     27checksums           rmd160  6b2413007f245d2410e2b22d7656abb7f1bae750 \
     28                    sha256  63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f
    2929
    3030# TODO: Fix xapian-config to not require the .la file
    3131# /opt/local/bin/xapian-config --ltlibs --cxxflags
     
    3434
    3535depends_lib         port:zlib
    3636
    37 patchfiles          patch-xapian-config.in.diff
    38 
    3937livecheck.type      regex
    4038livecheck.url       ${homepage}download
    4139livecheck.regex     ${name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)${extract.suffix}
  • files/patch-xapian-config.in.diff

     
    1 http://trac.xapian.org/ticket/676
    2 http://trac.xapian.org/changeset/716a2f331b9e34351b976cc680892d76c76e07c1/git
    3 --- xapian-config.in.orig       2015-03-03 22:36:08.000000000 -0600
    4 +++ xapian-config.in    2015-04-29 22:48:17.000000000 -0500
    5 @@ -55,7 +55,7 @@
    6  # Check if this is an uninstalled xapian-config.
    7  is_uninstalled()
    8  {
    9 -    if [ -z "$uninstalled_cache" ]; then
    10 +    if [ -z "$is_uninstalled_cache" ]; then
    11         [ -n "$builddir" -a -f "${builddir}Makefile" ]
    12         is_uninstalled_cache=$?
    13      fi
    14 @@ -100,10 +100,6 @@
    15  # -I options for compiling against an uninstalled xapian.
    16  set_I_for_uninstalled() {
    17      I=
    18 -    # version.h is generated by configure, so we also need builddir
    19 -    # in the include path if it's different to srcdir.
    20 -    [ "@abs_srcdir@" != "@abs_builddir@" ] && I="-I@abs_builddir@/include "
    21 -    I="$I-I@abs_srcdir@/include"
    22  }
    23  
    24  # Extract dlname from a libtool .la file.