diff options
author | marcus <marcus@FreeBSD.org> | 2002-04-29 18:41:51 +0000 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2002-04-29 18:41:51 +0000 |
commit | 5fbe418b9ea7481c031f3d8f146b5f1f550537ce (patch) | |
tree | 7f2c2641271c15c240a055a47942363ccc3561c1 /converters/libiconv | |
parent | 0070b55b94bc9275fcfe0f076ef9627329c33849 (diff) | |
download | FreeBSD-ports-5fbe418b9ea7481c031f3d8f146b5f1f550537ce.zip FreeBSD-ports-5fbe418b9ea7481c031f3d8f146b5f1f550537ce.tar.gz |
Fix a few problems in libiconv.
* Allow libcharset to find charset.alias in the correct place
* Add support for the new FreeBSD locales
* Fix potential infinite loop when conversion fails
* Bump PORTREVISION
PR: 37543, 37497
Submitted by: Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp> (infinite loop
fix) marcus (everything else)
Reviewed by: nork (infinite loop fix), sobomax
Approved by: sobomax
Diffstat (limited to 'converters/libiconv')
-rw-r--r-- | converters/libiconv/Makefile | 5 | ||||
-rw-r--r-- | converters/libiconv/files/patch-ae | 16 |
2 files changed, 15 insertions, 6 deletions
diff --git a/converters/libiconv/Makefile b/converters/libiconv/Makefile index 1ca5335..6e0b785 100644 --- a/converters/libiconv/Makefile +++ b/converters/libiconv/Makefile @@ -7,7 +7,7 @@ PORTNAME= libiconv PORTVERSION= 1.7 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= converters devel MASTER_SITES= ${MASTER_SITE_GNU} \ ftp://ftp.ilog.fr/pub/Users/haible/gnu/ @@ -22,4 +22,7 @@ INSTALLS_SHLIB= yes MAN1= iconv.1 MAN3= iconv.3 iconv_open.3 iconv_close.3 +pre-build: + @cd ${WRKSRC} ; /usr/bin/gperf -t -L ANSI-C -H aliases_hash -N aliases_lookup -7 -C -k '1,3-11,$$' -i 1 lib/aliases.gperf > lib/aliases.h + .include <bsd.port.mk> diff --git a/converters/libiconv/files/patch-ae b/converters/libiconv/files/patch-ae index a399c04..22a5f0a 100644 --- a/converters/libiconv/files/patch-ae +++ b/converters/libiconv/files/patch-ae @@ -1,8 +1,5 @@ - -$FreeBSD$ - ---- libcharset/lib/Makefile.in.orig Thu Jun 28 01:56:56 2001 -+++ libcharset/lib/Makefile.in Mon Aug 27 12:32:43 2001 +--- libcharset/lib/Makefile.in.orig Wed Jun 27 18:56:56 2001 ++++ libcharset/lib/Makefile.in Sat Apr 27 15:57:01 2002 @@ -10,6 +10,7 @@ local_prefix = /usr/local exec_prefix = @exec_prefix@ @@ -20,6 +17,15 @@ $FreeBSD$ # Needed by $(LIBTOOL). top_builddir = .. +@@ -53,7 +54,7 @@ + $(LIBTOOL_LINK) $(CC) $(LDFLAGS) -o libcharset.la -rpath $(libdir) -version-info $(LIBCHARSET_VERSION_INFO) -no-undefined $(OBJECTS) + + localcharset.lo : $(srcdir)/localcharset.c +- $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H -DLIBDIR=\"$(libdir)\" -c $(srcdir)/localcharset.c ++ $(LIBTOOL_COMPILE) $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) -DHAVE_CONFIG_H -DLIBDIR=\"$(sysconfdir)\" -c $(srcdir)/localcharset.c + + charset.alias: $(srcdir)/config.charset + $(SHELL) $(srcdir)/config.charset '@host@' > t-$@ @@ -72,11 +73,12 @@ install-lib : all force $(MKINSTALLDIRS) $(libdir) |