Browse Source

fossil: Fix building after getpass() in sysroot

android-5
Fredrik Fornwall 7 years ago
parent
commit
2d48b0647e
  1. 12
      packages/fossil/src-main.c.patch
  2. 12
      packages/fossil/src-user.c.patch

12
packages/fossil/src-main.c.patch

@ -0,0 +1,12 @@
diff -u -r ../fossil-2.6/src/main.c ./src/main.c
--- ../fossil-2.6/src/main.c 2018-05-04 12:56:42.000000000 +0000
+++ ./src/main.c 2018-09-12 06:03:45.920702759 +0000
@@ -300,7 +300,7 @@
*/
db_unsave_encryption_key();
#endif
-#if defined(_WIN32) || defined(__BIONIC__)
+#if defined(_WIN32)
/*
** Free the secure getpass() buffer now.
*/

12
packages/fossil/src-user.c.patch

@ -0,0 +1,12 @@
diff -u -r ../fossil-2.6/src/user.c ./src/user.c
--- ../fossil-2.6/src/user.c 2018-05-04 12:56:42.000000000 +0000
+++ ./src/user.c 2018-09-12 06:01:49.062037139 +0000
@@ -40,7 +40,7 @@
blob_append(pBlob, z, -1);
}
-#if defined(_WIN32) || defined(__BIONIC__)
+#if defined(_WIN32)
#ifdef _WIN32
#include <conio.h>
#endif
Loading…
Cancel
Save