summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-12-13 14:38:32 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-12-13 14:38:32 +0000
commit53134ffa47624120b3ebd96da6316106bdfeeedb (patch)
treee87f062863f40d89ae6ba319307a03e507687658
parentf326d0ea963312cd3be192eedceadd22baa1b23a (diff)
downloaddrakx-backup-do-not-use-53134ffa47624120b3ebd96da6316106bdfeeedb.tar
drakx-backup-do-not-use-53134ffa47624120b3ebd96da6316106bdfeeedb.tar.gz
drakx-backup-do-not-use-53134ffa47624120b3ebd96da6316106bdfeeedb.tar.bz2
drakx-backup-do-not-use-53134ffa47624120b3ebd96da6316106bdfeeedb.tar.xz
drakx-backup-do-not-use-53134ffa47624120b3ebd96da6316106bdfeeedb.zip
iconv_ is needed all the times, not only in drakx
-rw-r--r--perl-install/c/stuff.xs.pl8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/c/stuff.xs.pl b/perl-install/c/stuff.xs.pl
index 99bd4fd5f..6813ef2e3 100644
--- a/perl-install/c/stuff.xs.pl
+++ b/perl-install/c/stuff.xs.pl
@@ -102,6 +102,10 @@ void initIMPS2() {
void log_message(const char * s, ...) {}
+';
+
+print '
+
SV * iconv_(char* s, char* from_charset, char* to_charset) {
iconv_t cd = iconv_open(to_charset, from_charset);
char* retval = s;
@@ -121,10 +125,6 @@ SV * iconv_(char* s, char* from_charset, char* to_charset) {
return newSVpv(retval, 0);
}
-';
-
-print '
-
MODULE = c::stuff PACKAGE = c::stuff
';