Ticket #41084: xylib.patch

File xylib.patch, 951 bytes (added by uvw2@…, 11 years ago)
  • Portfile

    diff -Nur xylib.orig/Portfile xylib/Portfile
    old new  
    2828depends_lib         port:bzip2 \
    2929                    port:zlib
    3030
     31platform darwin 13 {
     32        patchfiles      patch-cache.h.diff
     33}
     34
    3135post-destroot {
    3236    set docdir ${prefix}/share/doc/${subport}
    3337    xinstall -d ${destroot}${docdir}
  • files/patch-cache.h.diff

    diff -Nur xylib.orig/files/patch-cache.h.diff xylib/files/patch-cache.h.diff
    old new  
     1--- xylib/cache.h       2013-04-23 06:24:38.000000000 +0900
     2+++ xylib/cache.h       2013-11-09 06:56:40.000000000 +0900
     3@@ -28,7 +28,7 @@
     4 #endif
     5 
     6 #if XYLIB_USE_TR1_MEMORY
     7-# include <tr1/memory>
     8+# include <boost/tr1/memory.hpp>
     9   using std::tr1::shared_ptr;
     10 #else
     11 # include <boost/shared_ptr.hpp>