Fredrik Fornwall
6 years ago
6 changed files with 42 additions and 28 deletions
@ -1,22 +0,0 @@ |
|||
Do not define __USE_FILE_OFFSET64 as it causes fsetpos&fgetpos to be |
|||
undefined on api levels lower than android-24. |
|||
|
|||
diff -u -r ../boost_1_64_0/libs/filesystem/src/operations.cpp ./libs/filesystem/src/operations.cpp
|
|||
--- ../boost_1_64_0/libs/filesystem/src/operations.cpp 2017-04-17 04:22:19.000000000 +0200
|
|||
+++ ./libs/filesystem/src/operations.cpp 2017-08-08 10:08:13.607302273 +0200
|
|||
@@ -15,6 +15,7 @@
|
|||
#define _FILE_OFFSET_BITS 64 // at worst, these defines may have no effect, |
|||
#endif |
|||
#if !defined(__PGI) |
|||
+#if !defined(__ANDROID__)
|
|||
#define __USE_FILE_OFFSET64 // but that is harmless on Windows and on POSIX |
|||
// 64-bit systems or on 32-bit systems which don't have files larger |
|||
// than can be represented by a traditional POSIX/UNIX off_t type. |
|||
@@ -25,6 +26,7 @@
|
|||
// ensure that they are available to all included headers. |
|||
// That is required at least on Solaris, and possibly on other |
|||
// systems as well. |
|||
+#endif
|
|||
#else |
|||
#define _FILE_OFFSET_BITS 64 |
|||
#endif |
@ -1,7 +1,7 @@ |
|||
TERMUX_PKG_HOMEPAGE=http://ledger-cli.org/ |
|||
TERMUX_PKG_DESCRIPTION="Powerful, double-entry accounting system" |
|||
TERMUX_PKG_VERSION=3.1.1 |
|||
TERMUX_PKG_REVISION=4 |
|||
TERMUX_PKG_REVISION=5 |
|||
TERMUX_PKG_SRCURL=https://github.com/ledger/ledger/archive/v${TERMUX_PKG_VERSION}.tar.gz |
|||
TERMUX_PKG_SHA256=90f06561ab692b192d46d67bc106158da9c6c6813cc3848b503243a9dfd8548a |
|||
TERMUX_PKG_DEPENDS="boost, libedit, libmpfr, utf8cpp, libgmp" |
|||
|
@ -0,0 +1,35 @@ |
|||
From c18a55f9ef9969b38e5cf7f0f319b8ec5df34809 Mon Sep 17 00:00:00 2001 |
|||
From: Jan Beich <jbeich@FreeBSD.org> |
|||
Date: Mon, 9 Jul 2018 12:07:30 +0000 |
|||
Subject: [PATCH] Unbreak with boost 1.68 |
|||
|
|||
In file included from src/main.cc:34: |
|||
In file included from src/global.h:41: |
|||
In file included from src/option.h:45: |
|||
In file included from src/scope.h:45: |
|||
In file included from src/op.h:45: |
|||
In file included from src/expr.h:45: |
|||
In file included from src/exprbase.h:57: |
|||
src/utils.h:47:10: fatal error: 'boost/uuid/sha1.hpp' file not found |
|||
#include <boost/uuid/sha1.hpp> |
|||
^ |
|||
---
|
|||
src/utils.h | 4 ++++ |
|||
1 file changed, 4 insertions(+) |
|||
|
|||
diff --git a/src/utils.h b/src/utils.h
|
|||
index b21dff7af..857b8289c 100644
|
|||
--- a/src/utils.h
|
|||
+++ b/src/utils.h
|
|||
@@ -44,7 +44,11 @@
|
|||
#ifndef _UTILS_H |
|||
#define _UTILS_H |
|||
|
|||
+#if (BOOST_VERSION >= 106600)
|
|||
+#include <boost/uuid/detail/sha1.hpp>
|
|||
+#else
|
|||
#include <boost/uuid/sha1.hpp> |
|||
+#endif
|
|||
|
|||
/** |
|||
* @name Default values |
Loading…
Reference in new issue