From: Steven Barth Date: Sun, 22 Feb 2009 23:37:35 +0000 (+0000) Subject: Remove some crap X-Git-Tag: 0.9.0~654 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=06450d3fe3b5248276e3113a358954ee85af5779 Remove some crap Add compatiblity for older uclibc versions --- diff --git a/libs/nixio/axTLS/_stage/libaxtls.a b/libs/nixio/axTLS/_stage/libaxtls.a deleted file mode 100644 index e1ea96e45..000000000 Binary files a/libs/nixio/axTLS/_stage/libaxtls.a and /dev/null differ diff --git a/libs/nixio/axTLS/_stage/libaxtls.so.1 b/libs/nixio/axTLS/_stage/libaxtls.so.1 deleted file mode 120000 index 587a460b9..000000000 --- a/libs/nixio/axTLS/_stage/libaxtls.so.1 +++ /dev/null @@ -1 +0,0 @@ -libaxtls.so.1.2 \ No newline at end of file diff --git a/libs/nixio/axTLS/_stage/libaxtls.so.1.2 b/libs/nixio/axTLS/_stage/libaxtls.so.1.2 deleted file mode 100755 index 440730bd4..000000000 Binary files a/libs/nixio/axTLS/_stage/libaxtls.so.1.2 and /dev/null differ diff --git a/libs/nixio/axTLS/crypto/.depend b/libs/nixio/axTLS/crypto/.depend deleted file mode 100644 index 4fb04339c..000000000 --- a/libs/nixio/axTLS/crypto/.depend +++ /dev/null @@ -1,19 +0,0 @@ -aes.o: aes.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -bigint.o: bigint.c bigint.h crypto.h ../config/config.h ../ssl/os_port.h \ - bigint_impl.h -crypto_misc.o: crypto_misc.c ../ssl/crypto_misc.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h ../crypto/bigint.h -hmac.o: hmac.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -md2.o: md2.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -md5.o: md5.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -rc4.o: rc4.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -rsa.o: rsa.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h -sha1.o: sha1.c crypto.h ../config/config.h ../ssl/os_port.h bigint_impl.h \ - bigint.h diff --git a/libs/nixio/axTLS/ssl/.depend b/libs/nixio/axTLS/ssl/.depend deleted file mode 100644 index 85f138fea..000000000 --- a/libs/nixio/axTLS/ssl/.depend +++ /dev/null @@ -1,31 +0,0 @@ -asn1.o: asn1.c os_port.h ../crypto/crypto.h ../config/config.h \ - ../ssl/os_port.h ../crypto/bigint_impl.h ../crypto/bigint.h \ - ../crypto/crypto.h crypto_misc.h ../crypto/bigint.h -gen_cert.o: gen_cert.c ../config/config.h ssl.h tls1.h version.h \ - ../crypto/crypto.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h -loader.o: loader.c ssl.h tls1.h version.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h private_key.h -openssl.o: openssl.c ../config/config.h -os_port.o: os_port.c os_port.h -p12.o: p12.c ssl.h tls1.h version.h ../crypto/crypto.h ../config/config.h \ - ../ssl/os_port.h ../crypto/bigint_impl.h ../crypto/bigint.h \ - ../crypto/crypto.h os_port.h crypto_misc.h ../crypto/bigint.h -tls1.o: tls1.c ssl.h tls1.h version.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h -tls1_clnt.o: tls1_clnt.c ssl.h tls1.h version.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h -tls1_svr.o: tls1_svr.c ssl.h tls1.h version.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h os_port.h crypto_misc.h \ - ../crypto/bigint.h -x509.o: x509.c os_port.h crypto_misc.h ../crypto/crypto.h \ - ../config/config.h ../ssl/os_port.h ../crypto/bigint_impl.h \ - ../crypto/bigint.h ../crypto/crypto.h ../crypto/bigint.h diff --git a/libs/nixio/src/splice.c b/libs/nixio/src/splice.c index 2b2837060..538b99e69 100644 --- a/libs/nixio/src/splice.c +++ b/libs/nixio/src/splice.c @@ -25,10 +25,22 @@ /* guess what sucks... */ #ifdef __UCLIBC__ #include +#include #include ssize_t splice(int __fdin, __off64_t *__offin, int __fdout, __off64_t *__offout, size_t __len, unsigned int __flags) { +#ifdef __NR_splice return syscall(__NR_splice, __fdin, __offin, __fdout, __offout, __len, __flags); +#else + (void)__fdin; + (void)__offin; + (void)__fdout; + (void)__offout; + (void)__len; + (void)__flags; + errno = ENOSYS; + return -1; +#endif } #endif /* __UCLIBC__ */