diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-dulwich/Portfile python/py26-dulwich/Portfile
old
|
new
|
|
5 | 5 | PortGroup python26 1.0 |
6 | 6 | |
7 | 7 | name py26-dulwich |
8 | | version 0.7.1 |
| 8 | version 0.8.1 |
9 | 9 | categories python devel |
10 | 10 | maintainers yahoo.com.au:mail_ben_schmidt \ |
11 | 11 | openmaintainer |
… |
… |
|
20 | 20 | license GPL-2+ |
21 | 21 | distname dulwich-${version} |
22 | 22 | |
23 | | checksums sha1 cfbeb7e83c4258f489ed2736a684190004c1733f \ |
24 | | rmd160 569a628854c2c29d14735acb15615a23fba14417 |
| 23 | checksums sha1 b98ad0bd668464767e0605b0ef50443ad54488f1 \ |
| 24 | rmd160 c67e97225f7bbe5f7562acdaf4bb466fde912a9c |
25 | 25 | |
26 | 26 | patchfiles patch-strnlen-lion.diff |
27 | 27 | |
diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py26-dulwich/files/patch-strnlen-lion.diff python/py26-dulwich/files/patch-strnlen-lion.diff
old
|
new
|
|
1 | | --- dulwich/_objects.c 2011-04-12 16:03:58.000000000 -0400 |
2 | | +++ dulwich/_objects.c 2011-07-15 17:04:29.000000000 -0400 |
| 1 | --- dulwich/_objects.c~ 2011-11-06 13:52:35.000000000 +1100 |
| 2 | +++ dulwich/_objects.c 2011-11-06 13:52:41.000000000 +1100 |
3 | 3 | @@ -25,7 +25,7 @@ |
4 | 4 | typedef int Py_ssize_t; |
5 | 5 | #endif |
6 | 6 | |
7 | 7 | -#if defined(__MINGW32_VERSION) || defined(__APPLE__) |
8 | 8 | +#if defined(__MINGW32_VERSION) || (defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) |
9 | | size_t strnlen(char *text, size_t maxlen) |
| 9 | size_t rep_strnlen(char *text, size_t maxlen); |
| 10 | size_t rep_strnlen(char *text, size_t maxlen) |
10 | 11 | { |
11 | | const char *last = memchr(text, '\0', maxlen); |
diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py27-dulwich/Portfile python/py27-dulwich/Portfile
old
|
new
|
|
5 | 5 | PortGroup python27 1.0 |
6 | 6 | |
7 | 7 | name py27-dulwich |
8 | | version 0.7.1 |
| 8 | version 0.8.1 |
9 | 9 | categories python devel |
10 | 10 | maintainers nomaintainer |
11 | 11 | description Pure-Python Git Library |
… |
… |
|
18 | 18 | license GPL-2+ |
19 | 19 | distname dulwich-${version} |
20 | 20 | |
21 | | checksums sha1 cfbeb7e83c4258f489ed2736a684190004c1733f \ |
22 | | rmd160 569a628854c2c29d14735acb15615a23fba14417 |
| 21 | checksums sha1 b98ad0bd668464767e0605b0ef50443ad54488f1 \ |
| 22 | rmd160 c67e97225f7bbe5f7562acdaf4bb466fde912a9c |
23 | 23 | |
24 | 24 | patchfiles patch-strnlen-lion.diff |
25 | 25 | |
diff -Naur /opt/local/var/macports/sources/rsync.macports.org/release/ports/python/py27-dulwich/files/patch-strnlen-lion.diff python/py27-dulwich/files/patch-strnlen-lion.diff
old
|
new
|
|
1 | | --- dulwich/_objects.c 2011-04-12 16:03:58.000000000 -0400 |
2 | | +++ dulwich/_objects.c 2011-07-15 17:04:29.000000000 -0400 |
| 1 | --- dulwich/_objects.c~ 2011-11-06 13:52:35.000000000 +1100 |
| 2 | +++ dulwich/_objects.c 2011-11-06 13:52:41.000000000 +1100 |
3 | 3 | @@ -25,7 +25,7 @@ |
4 | 4 | typedef int Py_ssize_t; |
5 | 5 | #endif |
6 | 6 | |
7 | 7 | -#if defined(__MINGW32_VERSION) || defined(__APPLE__) |
8 | 8 | +#if defined(__MINGW32_VERSION) || (defined(__APPLE__) && __ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ < 1070) |
9 | | size_t strnlen(char *text, size_t maxlen) |
| 9 | size_t rep_strnlen(char *text, size_t maxlen); |
| 10 | size_t rep_strnlen(char *text, size_t maxlen) |
10 | 11 | { |
11 | | const char *last = memchr(text, '\0', maxlen); |