diff -Nru /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gettext/Portfile ./Portfile
old
|
new
|
|
20 | 20 | |
21 | 21 | checksums md5 e2f6581626a22a0de66dce1d81d00de3 |
22 | 22 | |
| 23 | patchfiles patch-localcharset |
| 24 | |
23 | 25 | configure.env LDFLAGS="-fno-common" EMACS=/usr/bin/emacs |
24 | 26 | build.env PATH=${prefix}/bin:$env(PATH) |
25 | 27 | |
diff -Nru /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gettext/files/patch-localcharset ./files/patch-localcharset
old
|
new
|
|
| 1 | diff -Nru ../gettext-0.14.5/gettext-runtime/intl/localcharset.c ./gettext-runtime/intl/localcharset.c |
| 2 | --- ../gettext-0.14.5/gettext-runtime/intl/localcharset.c 2005-05-20 23:07:51.000000000 +0300 |
| 3 | +++ ./gettext-runtime/intl/localcharset.c 2006-04-16 22:34:52.000000000 +0300 |
| 4 | @@ -23,6 +23,8 @@ |
| 5 | # include <config.h> |
| 6 | #endif |
| 7 | |
| 8 | +#ifndef HAVE_ICONV |
| 9 | + |
| 10 | /* Specification. */ |
| 11 | #include "localcharset.h" |
| 12 | |
| 13 | @@ -407,3 +409,5 @@ |
| 14 | |
| 15 | return codeset; |
| 16 | } |
| 17 | + |
| 18 | +#endif |
| 19 | diff -Nru ../gettext-0.14.5/gettext-tools/lib/localcharset.c ./gettext-tools/lib/localcharset.c |
| 20 | --- ../gettext-0.14.5/gettext-tools/lib/localcharset.c 2005-05-20 23:24:10.000000000 +0300 |
| 21 | +++ ./gettext-tools/lib/localcharset.c 2006-04-16 22:35:37.000000000 +0300 |
| 22 | @@ -23,6 +23,8 @@ |
| 23 | # include <config.h> |
| 24 | #endif |
| 25 | |
| 26 | +#ifndef HAVE_ICONV |
| 27 | + |
| 28 | /* Specification. */ |
| 29 | #include "localcharset.h" |
| 30 | |
| 31 | @@ -407,3 +409,5 @@ |
| 32 | |
| 33 | return codeset; |
| 34 | } |
| 35 | + |
| 36 | +#endif |