Ticket #45792: subversion-fix.patch

File subversion-fix.patch, 1.4 KB (added by larryv (Lawrence Velázquez), 10 years ago)

patch to ports tree

  • dports/devel/subversion/Portfile

    diff --git a/dports/devel/subversion/Portfile b/dports/devel/subversion/Portfile
    index b8ae32d..fd92517 100644
    a b PortSystem 1.0 
    44
    55name                    subversion
    66version                 1.8.10
     7revision                1
    78categories              devel
    89platforms               darwin
    910maintainers             geeklair.net:dluke blair
    test.env CLEANUP=true 
    3738
    3839patchfiles              config_impl.h.patch
    3940
     41# Don't link with "-flat_namespace -undefined suppress" on Yosemite.
     42patchfiles-append       yosemite-symbol-lookup.patch
     43
    4044post-patch {            reinplace "s|__PREFIX__|${prefix}|" ${worksrcpath}/subversion/libsvn_subr/config_impl.h
    4145                        }
    4246
  • new file dports/devel/subversion/files/yosemite-symbol-lookup.patch

    diff --git a/dports/devel/subversion/files/yosemite-symbol-lookup.patch b/dports/devel/subversion/files/yosemite-symbol-lookup.patch
    new file mode 100644
    index 0000000..3acee24
    - +  
     1Index: configure
     2===================================================================
     3--- configure.orig
     4+++ configure
     5@@ -10348,7 +10348,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
     6       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
     7        10.0,*86*-darwin8*|10.0,*-darwin[91]*)
     8          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
     9-       10.[012]*)
     10+       10.[012][,.]*)
     11          _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
     12        10.*)
     13          _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;