Last change
on this file since 28946 was 28946, checked in by ak19, 10 years ago |
Moving libiconv-1.11.tar.gz to gs-libiconv-1.11.tar.gz since we've incorporated a custom change to the original libiconv-1.11 version of the package that can be downloaded from the web. Updated the configure file to reflect this and the README in common-src/packages/iconv too. Tested compiling on Lion and it all still works.
|
File size:
1.8 KB
|
Rev | Line | |
---|
[26799] | 1 |
|
---|
[28939] | 2 | 1. To compile this package using the Android NDK, the following auto-config
|
---|
[26799] | 3 | files needed to be replaced with newer versions that included the
|
---|
| 4 | 'android' architecture as one of the valid host targets:
|
---|
| 5 |
|
---|
| 6 | libiconv-1.13.1/build-aux/config.sub
|
---|
| 7 | libiconv-1.13.1/build-aux/config.guess
|
---|
| 8 | libiconv-1.13.1/libcharset/build-aux/config.guess
|
---|
| 9 | libiconv-1.13.1/libcharset/build-aux/config.sub
|
---|
| 10 |
|
---|
| 11 | This has been done (using the 'config.sub' and 'config.guess' files
|
---|
| 12 | from the 'gnome-lib/android-extra' folder in the gs2-extensions area)
|
---|
| 13 | and the files to libiconv tarred up once more.
|
---|
| 14 |
|
---|
| 15 | David Bainbridge
|
---|
| 16 | 29/1/2013
|
---|
[28939] | 17 |
|
---|
| 18 |
|
---|
[28946] | 19 | 2. Sam had included libiconv-1.11 specifically for mac machines. Linux machines use libiconv-1.13.1. See http://trac.greenstone.org/changeset/23714 and common-src/packages/configure
|
---|
[28939] | 20 |
|
---|
[28946] | 21 | However, around late February 2014, GS2 stopped compiling on the Mac Lion and nightly binaries failed to generate, since libiconv-1.11 failed to compile successfully on there. Dr Bainbridge found that libiconv-1.14 would compile and that it featured a change in aliases.h in that place that he suspected to have harboured the error in 1.11. The change was incorporated into libiconv-1.11 and this now compiles on Lion again while still continuing to compile on Mac Leopard. As a consequence of us making this change, the libiconv-1.11.tar.gz was recommitted to SVN with the gs- prefix to indicate we changed it. The new name is gs-libiconv-1.11.tar.gz, but it extracts as before as the folder libiconv-1.11
|
---|
[28939] | 22 |
|
---|
| 23 | Updated libiconv-1.11/lib/aliases.h
|
---|
| 24 | From:
|
---|
| 25 | #ifdef __GNUC__
|
---|
| 26 | __inline
|
---|
| 27 | #endif
|
---|
| 28 | const struct alias *
|
---|
| 29 | aliases_lookup (register const char *str, register unsigned int len)
|
---|
| 30 | {
|
---|
| 31 |
|
---|
| 32 | To:
|
---|
| 33 | #ifdef __GNUC__
|
---|
| 34 | __inline
|
---|
| 35 | #if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
|
---|
| 36 | __attribute__ ((__gnu_inline__))
|
---|
| 37 | #endif
|
---|
| 38 | #endif
|
---|
| 39 | const struct alias *
|
---|
| 40 | aliases_lookup (register const char *str, register unsigned int len)
|
---|
| 41 | {
|
---|
Note:
See
TracBrowser
for help on using the repository browser.