Skip to content
Snippets Groups Projects
Commit b7f81eb8 authored by Nagy Tibor's avatar Nagy Tibor
Browse files

Merge branch 'libiconv' into 'relibc'

Add libiconv recipe

See merge request !179
parents 4c8d2eb8 6debeffe
No related branches found
No related tags found
1 merge request!179Add libiconv recipe
diff -rupNw source-original/srclib/getprogname.c source/srclib/getprogname.c
--- source-original/srclib/getprogname.c 2017-01-02 00:02:21.000000000 +0100
+++ source/srclib/getprogname.c 2018-10-03 19:32:07.382785859 +0200
@@ -144,7 +144,7 @@ getprogname (void)
}
return p;
# else
-# error "getprogname module not ported to this OS"
+ return "?";
# endif
}
diff -rupNw source-original/srclib/signal.in.h source/srclib/signal.in.h
--- source-original/srclib/signal.in.h 2017-01-02 00:02:22.000000000 +0100
+++ source/srclib/signal.in.h 2018-10-03 19:46:53.323659264 +0200
@@ -186,12 +186,12 @@ _GL_WARN_ON_USE (raise, "raise can crash
/* Maximum signal number + 1. */
# ifndef NSIG
-# define NSIG 32
+# define NSIG 64
# endif
/* This code supports only 32 signals. */
# if !GNULIB_defined_verify_NSIG_constraint
-typedef int verify_NSIG_constraint[NSIG <= 32 ? 1 : -1];
+typedef int verify_NSIG_constraint[NSIG <= 64 ? 1 : -1];
# define GNULIB_defined_verify_NSIG_constraint 1
# endif
VERSION=1.15
TAR=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-$VERSION.tar.gz
function recipe_version {
echo "$VERSION"
skip=1
}
function recipe_update {
echo "skipping update"
skip=1
}
function recipe_build {
./configure --host=${HOST} --prefix='/' --disable-shared --enable-static
make
skip=1
}
function recipe_test {
echo "skipping test"
skip=1
}
function recipe_clean {
make clean
skip=1
}
function recipe_stage {
dest="$(realpath $1)"
make DESTDIR="$dest" install
skip=1
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment