source: main/trunk/greenstone2/common-src/packages/iconv/README.txt@ 28946

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
Line 
1
21. To compile this package using the Android NDK, the following auto-config
3files 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
11This has been done (using the 'config.sub' and 'config.guess' files
12from the 'gnome-lib/android-extra' folder in the gs2-extensions area)
13and the files to libiconv tarred up once more.
14
15David Bainbridge
1629/1/2013
17
18
192. 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
20
21However, 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
22
23Updated libiconv-1.11/lib/aliases.h
24From:
25#ifdef __GNUC__
26__inline
27#endif
28const struct alias *
29aliases_lookup (register const char *str, register unsigned int len)
30{
31
32To:
33#ifdef __GNUC__
34__inline
35#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
36__attribute__ ((__gnu_inline__))
37#endif
38#endif
39const struct alias *
40aliases_lookup (register const char *str, register unsigned int len)
41{
Note: See TracBrowser for help on using the repository browser.