diff -Nur xylib.orig/Portfile xylib/Portfile
old
|
new
|
|
28 | 28 | depends_lib port:bzip2 \ |
29 | 29 | port:zlib |
30 | 30 | |
| 31 | platform darwin 13 { |
| 32 | patchfiles patch-cache.h.diff |
| 33 | } |
| 34 | |
31 | 35 | post-destroot { |
32 | 36 | set docdir ${prefix}/share/doc/${subport} |
33 | 37 | xinstall -d ${destroot}${docdir} |
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> |