diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2014-01-27 11:54:39 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2014-01-27 11:56:23 +0000 |
commit | a82d0452a37a732358c07ae5adefa839e6107967 (patch) | |
tree | 3c3801b25ba8c28c593222a941264d3b0c26bd93 /testing/telegram-cli/0001-uclibc-does-not-provide-aio.h.patch | |
parent | 4e3cf4c89609dd58154fcef6b3ba8091a67b2b31 (diff) | |
download | aports-a82d0452a37a732358c07ae5adefa839e6107967.tar.bz2 aports-a82d0452a37a732358c07ae5adefa839e6107967.tar.xz |
testing/telegram-cli: new aport
experimental telegram cli messenger.
currently build without lua support.
more info: telegram.org
Diffstat (limited to 'testing/telegram-cli/0001-uclibc-does-not-provide-aio.h.patch')
-rw-r--r-- | testing/telegram-cli/0001-uclibc-does-not-provide-aio.h.patch | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/telegram-cli/0001-uclibc-does-not-provide-aio.h.patch b/testing/telegram-cli/0001-uclibc-does-not-provide-aio.h.patch new file mode 100644 index 0000000000..c3abba9e2c --- /dev/null +++ b/testing/telegram-cli/0001-uclibc-does-not-provide-aio.h.patch @@ -0,0 +1,41 @@ +From 33d358d83dd882d1e4eebd34dc4e6cf622f0c854 Mon Sep 17 00:00:00 2001 +From: Carlo Landmeter <clandmeter@gmail.com> +Date: Mon, 27 Jan 2014 11:42:33 +0000 +Subject: [PATCH] uclibc does not provide aio.h + +--- + mtproto-client.c | 2 ++ + mtproto-common.c | 2 ++ + 2 files changed, 4 insertions(+) + +diff --git a/mtproto-client.c b/mtproto-client.c +index 5f1a997..06ddfdc 100644 +--- a/mtproto-client.c ++++ b/mtproto-client.c +@@ -35,7 +35,9 @@ + #include <sys/endian.h> + #endif + #include <sys/types.h> ++#ifndef __UCLIBC__ + #include <aio.h> ++#endif + #include <netdb.h> + #include <openssl/rand.h> + #include <openssl/rsa.h> +diff --git a/mtproto-common.c b/mtproto-common.c +index ceeb5c5..1c34550 100644 +--- a/mtproto-common.c ++++ b/mtproto-common.c +@@ -31,7 +31,9 @@ + #include <unistd.h> + #include <fcntl.h> + #include <sys/types.h> ++#ifndef __UCLIBC__ + #include <aio.h> ++#endif + #include <netdb.h> + #include <openssl/bn.h> + #include <openssl/rand.h> +-- +1.8.5.3 + |