Commit graph

33 commits

Author SHA1 Message Date
jperkin
d48ab4092e Ensure 'cd dir && make' rules are executed in a sub-shell, allowing us to
remove MAKE_JOBS_SAFE=no.  We can't depend on gmake due to circular
dependencies.
2014-09-02 10:07:23 +00:00
schmonz
cc8d93c052 Fix previous for OS X 10.9 with clang (and maybe other non-glibc systems). 2014-01-01 15:50:01 +00:00
ryoon
0aa5a923a6 Fix build on Linux with glibc>=2.16, for example, Fedora 22. 2013-12-31 10:14:14 +00:00
bsiegert
d434111da0 Revert recent commit, add a (hopefully) correct patch instead. Bump rev.
In the Makefile.in, libcharset is copied with pax into lib/ along with
its object files. This overwrites relocatable.lo from libiconv, which
is then relinked against the wrong object. Use "libtool --mode=install cp"
instead to only copy the library.

Should hopefully fix PR pkg/45341.
2011-09-08 16:29:48 +00:00
bsiegert
e2d56eceac Link libiconv.la against libcharset.la to fix the build on MirBSD.
Bump PKGREVISION.

Patch was first sent to tech-pkg, no one objected.
2011-09-06 18:51:14 +00:00
adam
fb0181fbec Changes 1.13.1:
* The library and the iconv program now understand platform dependent aliases,
  for better compatibility with the platform's own iconv_open function.
  Examples: "646" on Solaris, "iso88591" on HP-UX, "IBM-1252" on AIX.
* For stateful encodings, when the input ends with a shift sequence followed
  by invalid input, the iconv function now increments the input pointer past
  the shift sequence before returning (size_t)(-1) with errno = EILSEQ. This
  is also like GNU libc's iconv() behaves.
* The library exports a new function iconv_open_into() that stores the
  conversion descriptor in pre-allocated memory, rather than allocating fresh
  memory for it.
* Added CP1131 converter.
2010-11-10 21:00:49 +00:00
obache
69244f3904 Treat Haiku like BeOS. 2010-01-30 10:24:29 +00:00
tron
43396069f3 Use "libtool" rules similar to those in version 1.13.1 of "libiconv"
to build "preloadable_libiconv.so". This should fix the build
under Linux, OSF1 and Solaris with any supported compiler.
2010-01-06 21:01:09 +00:00
tron
94d1b34324 Fix the part of the makefile that builds "preloadable_libiconv.so" under
Solaris if GCC is used. As this bit is both operating system and compiler
specific we can simple bypass "libtool" which is what must have happened
with the old "libtool".

The build in the non-GCC case or under Linux respectively OSF1 might
still be broken. But I don't have a setup to test that.
2010-01-06 18:53:05 +00:00
joerg
22969025d4 Keep locale_alias symbol and don't hide it when visibility support
exists and libiconv is compiled. This restores symmetry between
libiconv.so, libiconv.a and libintl and fixes the build of gettext-tools
on Linux. Bump revision.
2008-01-13 09:30:57 +00:00
sketch
203c85cd03 Remove the preprocessor test for 'long long int', it fails with SunPro
causing later compile-time tests to break.  Taken from gnulib change
in http://lists.gnu.org/archive/html/bug-gnulib/2007-11/msg00075.html
2008-01-08 22:08:36 +00:00
wiz
a53396f3de Update to 1.12:
New in libiconv-1.12-cp932.patch:
* Changed CP932 converter to use exact mapping table.
* Added WINDOWS-31J, csWINDOWS31J, SJIS-OPEN, SJIS-WIN as aliases for CP932.
* Added EUCJP-MS converter.
* Added EUC-JP-MS, EUCJP-OPEN, EUCJP-WIN as aliases for EUCJP-MS.

New in 1.12:
* The iconv program is now licensed under the GPL version 3, instead of the
  GPL version 2. The libiconv library continues to be licensed under LGPL.
* Added RK1048 converter.
* On AIX, an existing system libiconv no longer causes setlocale() to fail.
* Upgraded EUC-KR, JOHAB to include the Korean postal code sign.
2007-11-29 17:05:34 +00:00
wiz
6eaa530983 Update to 1.11:
New in 1.11:
* The iconv program has new options --unicode-subst, --byte-subst,
  --widechar-subst that allow to specify substitutions for characters that
  cannot be converted.
* The iconv program now understands long options:
    long option    equivalent to
    --from-code    -f
    --to-code      -t
    --list         -l
    --silent       -s
* The CP936 converter is now different from the GBK converter: it has changed
  to include the Euro sign and private area characters. CP936 is no longer an
  alias of GBK.
* Updated GB18030 converter to include all private area characters.
* Updated CP950 converter to include the Euro sign and private area characters.
* Updated CP949 converter to include private area characters.
* Updated the BIG5-HKSCS converter. The old BIG5-HKSCS converter is renamed to
  BIG5-HKSCS:1999 and updated to Unicode 4. New converters BIG5-HKSCS:2001 and
  BIG5-HKSCS:2004 are added. BIG5-HKSCS is now an alias for BIG5-HKSCS:2004.
* Added a few irreversible mappings to the CP932 converter.
* Tidy up the list of symbols exported from libiconv (assumes gcc >= 4.0).
2007-03-20 00:44:52 +00:00
joerg
d19f5ff58f DESTDIR support. Use modular Xorg for wv.
XXX Remove pre-install in libiconv?
2006-11-14 13:55:34 +00:00
adam
c7919dce64 Changes 1.10:
* Added ISO-8859-11 converter.
* Updated the ISO-8859-7 converter.
* Added ATARIST converter, available through --enable-extra-encodings.
* Added BIG5-2003 converter (experimental), available through
  --enable-extra-encodings.
* Updated EUC-TW converter to include the Euro sign.
* The preloadable library has been renamed from libiconv_plug.so to
  preloadable_libiconv.so.
* Portability to mingw.
2005-07-28 15:15:17 +00:00
adam
2cc9d83272 Changes 1.9.2:
* Bug fixes
2004-11-23 12:38:00 +00:00
tv
faaed608d9 nb2: use $(INSTALL), not $(INSTALL_DATA), for a library in an autoconfiscated
package.
2004-04-28 15:19:04 +00:00
jschauma
4c5fe4eef7 Apparently cp(1) under Irix does not like to overwrite symbolic links.
This causes the package to fail to install, as this section is executed
a second time.
Use pax instead and all's peachy.
2004-04-02 19:08:37 +00:00
snj
e26c9c6b59 Use ${CP} instead of cp. From Georg Schwarz in PR pkg/24634. 2004-03-02 05:01:38 +00:00
xtraeme
b8947ef00d Don't try to link to -liconv in the install process, it fixes build in
FreeBSD. Closes my own PR pkg/22346.
2003-09-16 13:57:18 +00:00
seb
4167694355 NetBSD/sparc64 1.6.1_STABLE's f771 -at least- leaves a nice coredump
in directory conftest during configire run.
So then 'rmdir conftest' fails, then all 'cc -o conftest ...' tests fail,
then ...

So clean up a bit before rmdir'ing conftest hence fix compilation
on said platform.
2003-09-12 13:52:02 +00:00
jmmv
e794dd2538 Handle installation and removal of the charset.alias file properly in binary
packages, using SUPPORT_FILES from bsd.pkg.install.mk.  Bump PKGREVISION to 1.
2003-07-28 10:11:45 +00:00
wiz
9a290ed0df Update to 1.9.1.
* Many more transliterations.
* New configuration option --enable-relocatable.
2003-07-13 13:32:29 +00:00
grant
4d09de3d61 ensure we always install charset.alias and tidy PLIST handling,
improves portability.
2003-02-28 22:15:29 +00:00
grant
54e690e8f0 don't unnecessarily pass -p to `cp', it causes a fatal error on Darwin
while trying to chown a symlink.
2002-11-26 00:51:02 +00:00
jlam
e2afa97f51 Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.  This provides sufficient
buildlink2 infrastructure to start merging other packages from the
buildlink2 branch that have already been converted to use the buildlink2
framework.
2002-08-25 18:38:05 +00:00
wiz
ddf436e92a Update to 1.8.
Changes since 1.7:
* The iconv program has new options -l, -c, -s.
* The iconv program is internationalized.
* Added C99 converter.
* Added KOI8-T converter.
* New configuration option --enable-extra-encodings that enables a bunch of
  additional encodings; see the README for details.
* Updated the ISO-8859-16 converter.
* Upgraded BIG5-HKSCS, EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to
  Unicode 3.2.
* Upgraded EUC-KR, CP949, JOHAB converters to include the Euro sign.
* Changed the ARMSCII-8 converter.
* Extended the EUC-JP encoder so that YEN SIGN characters don't cause failures
  in Shift_JIS to EUC-JP conversion.
* The JAVA converter now handles characters outside the Unicode BMP correctly.
* Fixed a bug in the CP1255, CP1258, TCVN decoders: The base characters of
  combining characters could be dropped at the end of the conversion buffer.
* Fixed a bug in the transliteration that could lead to excessive memory
  allocations in libintl when transliteration was needed.
* Portability to BSD/OS and SCO 3.2.5.
2002-08-20 11:52:10 +00:00
wiz
bd42d28342 Add some more charsets to the alias file (see previous revision).
Fixes e.g. the second gtk2 demo in the gtk2 tutorial on the web.
Patch from libiconv CVS via Owen Tayler.

Bump to 1.7nb2, and depend on it in buildlink.mk.
2002-05-14 15:57:55 +00:00
wiz
9b8b61fe50 Fix charset.alias file, the same as it is in the current glib2 distribution
and as it will be in the next release of libiconv.
This should fix the pango build failures on -current.
Tracked down by Owen Taylor.

Bump version to 1.7nb1, and bump buildlink dependency, too.
2002-05-10 12:16:41 +00:00
drochner
a59bbaa406 update to 1.7
changes:
* Added UTF-32, UTF-32BE, UTF-32LE converters.
* Changed CP1255, CP1258 and TCVN converters to handle combining characters.
* Changed EUC-JP, SHIFT-JIS, CP932, ISO-2022-JP, ISO-2022-JP-2, ISO-2022-JP-1
  converters to use fullwidth Yen sign instead of halfwidth Yen sign, and
  fullwidth tilde instead of halfwidth tilde.
* Upgraded EUC-TW, ISO-2022-CN, ISO-2022-CN-EXT converters to Unicode 3.1.
* Changed the GB18030 converter to not reject unassigned and private-use
  Unicode characters.
* Fixed a bug in the byte order mark treatment of the UCS-4 decoder.
* The manual pages are now distributed also in HTML format.
2001-10-30 17:41:19 +00:00
rh
89dae3abad Update libiconv to 1.6.1. Notable changes include:
* Bugfixes
  * The iconv program's -f and -t options are now optional.
  * Many more transliterations.
  * Added CP862 converter.
  * Changed the GB18030 converter.
  * Portability to DOS with DJGPP.
2001-05-14 12:14:47 +00:00
rh
f86989dad4 Make this build without root permissions. Fixes Luke's PR 11893. 2001-01-11 10:56:33 +00:00
rh
01f9d8d7f2 Initial import of libiconv-1.5, a character conversion library. 2001-01-01 17:29:20 +00:00