diff options
author | 2000-12-17 20:09:02 +0000 | |
---|---|---|
committer | 2000-12-17 20:09:02 +0000 | |
commit | bf5fc5560dd0fc07b4c5367d6c7402dd67a6540f (patch) | |
tree | f1daf87dbd45d845dadf8c62ccacce673406f42a /app-text/sablotron | |
parent | *** empty log message *** (diff) | |
download | gentoo-2-bf5fc5560dd0fc07b4c5367d6c7402dd67a6540f.tar.gz gentoo-2-bf5fc5560dd0fc07b4c5367d6c7402dd67a6540f.tar.bz2 gentoo-2-bf5fc5560dd0fc07b4c5367d6c7402dd67a6540f.zip |
*** empty log message ***
Diffstat (limited to 'app-text/sablotron')
-rw-r--r-- | app-text/sablotron/files/utf8.cpp | 2 | ||||
-rw-r--r-- | app-text/sablotron/sablotron-0.44-r2.ebuild | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/app-text/sablotron/files/utf8.cpp b/app-text/sablotron/files/utf8.cpp index f617442c708a..5bcfccea6924 100644 --- a/app-text/sablotron/files/utf8.cpp +++ b/app-text/sablotron/files/utf8.cpp @@ -123,7 +123,7 @@ int utf8Recode(char* dest, const char* src, Encoding enc) size_t outbytesleft = SMALL_BUFFER_SIZE; char *outbuf = dest; - cd = iconv_open (iconv_encoding[enc], "UTF-8"); + cd = iconv_open (iconv_encoding[enc],"UTF-8"); assert(cd != (iconv_t)(-1)); while (inbytesleft && iconv(cd,(char **) &src, &inbytesleft, &outbuf, &outbytesleft) != -1); diff --git a/app-text/sablotron/sablotron-0.44-r2.ebuild b/app-text/sablotron/sablotron-0.44-r2.ebuild index c509f0dadce3..3624e7df728f 100644 --- a/app-text/sablotron/sablotron-0.44-r2.ebuild +++ b/app-text/sablotron/sablotron-0.44-r2.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Achim Gottinger <achim@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-0.44-r2.ebuild,v 1.1 2000/11/14 14:38:48 achim Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/sablotron/sablotron-0.44-r2.ebuild,v 1.2 2000/12/17 20:09:01 achim Exp $ A="Sablot-${PV}.tar.gz Sablot-Expat-1.1.2.tar.gz" S=${WORKDIR}/Sablot-${PV} @@ -17,11 +17,12 @@ src_unpack() { unpack Sablot-${PV}.tar.gz cd ${S} unpack Sablot-Expat-1.1.2.tar.gz - if [ -n "`use glibc22`" ] + if [ "`use glibc22`" ] then cp ${FILESDIR}/utf8.cpp Sablot/engine/ fi } + src_compile() { cd ${S} |