Commit edf52267 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Contribs: fix compilation for Android

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit f2ade2268d923cb2d9e686fb1981b6a5abb596af)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 57903ada
--- libgpg-error/src/gpgrt-int.h.orig 2014-09-17 15:23:22.992333706 +0200
+++ libgpg-error/src/gpgrt-int.h 2014-09-17 15:23:52.772783925 +0200
@@ -105,9 +105,9 @@
int _gpgrt_fflush (gpgrt_stream_t stream);
int _gpgrt_fseek (gpgrt_stream_t stream, long int offset, int whence);
-int _gpgrt_fseeko (gpgrt_stream_t stream, off_t offset, int whence);
+int _gpgrt_fseeko (gpgrt_stream_t stream, gpgrt_off_t offset, int whence);
long int _gpgrt_ftell (gpgrt_stream_t stream);
-off_t _gpgrt_ftello (gpgrt_stream_t stream);
+gpgrt_off_t _gpgrt_ftello (gpgrt_stream_t stream);
void _gpgrt_rewind (gpgrt_stream_t stream);
int _gpgrt_fgetc (gpgrt_stream_t stream);
...@@ -13,6 +13,7 @@ ifdef HAVE_WIN32 ...@@ -13,6 +13,7 @@ ifdef HAVE_WIN32
$(APPLY) $(SRC)/gpg-error/windres-make.patch $(APPLY) $(SRC)/gpg-error/windres-make.patch
endif endif
$(APPLY) $(SRC)/gpg-error/missing-unistd-include.patch $(APPLY) $(SRC)/gpg-error/missing-unistd-include.patch
$(APPLY) $(SRC)/gpg-error/gpgerror-android.patch
$(MOVE) $(MOVE)
cp $@/src/syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h $@/src/syscfg/lock-obj-pub.linux-android.h cp $@/src/syscfg/lock-obj-pub.arm-unknown-linux-androideabi.h $@/src/syscfg/lock-obj-pub.linux-android.h
ifdef HAVE_IOS ifdef HAVE_IOS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment