summaryrefslogtreecommitdiff
path: root/patches/monero/0012-fix-iOS-depends-build.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/monero/0012-fix-iOS-depends-build.patch')
-rw-r--r--patches/monero/0012-fix-iOS-depends-build.patch32
1 files changed, 16 insertions, 16 deletions
diff --git a/patches/monero/0012-fix-iOS-depends-build.patch b/patches/monero/0012-fix-iOS-depends-build.patch
index 2e4845e..c61403f 100644
--- a/patches/monero/0012-fix-iOS-depends-build.patch
+++ b/patches/monero/0012-fix-iOS-depends-build.patch
@@ -1,7 +1,7 @@
-From 92ca945665cab44adace3331685ae4270a14c07e Mon Sep 17 00:00:00 2001
+From d12831d35b6a7d181fb1669f0c7b9f5ccf6f5224 Mon Sep 17 00:00:00 2001
From: Czarek Nakamoto <cyjan@mrcyjanek.net>
Date: Thu, 21 Nov 2024 06:05:03 -0500
-Subject: [PATCH 12/20] fix iOS depends build
+Subject: [PATCH 12/17] fix iOS depends build
---
CMakeLists.txt | 4 ----
@@ -11,22 +11,22 @@ Subject: [PATCH 12/20] fix iOS depends build
4 files changed, 14 insertions(+), 10 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index d0af390d0..b814c76b7 100644
+index 303d17dcd..d3fda1975 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -39,10 +39,6 @@ include(CheckLibraryExists)
- include(CheckFunctionExists)
- include(FindPythonInterp)
+@@ -47,10 +47,6 @@ if (POLICY CMP0077)
+ cmake_policy(SET CMP0077 NEW)
+ endif()
-if (IOS)
- INCLUDE(CmakeLists_IOS.txt)
-endif()
-
- cmake_minimum_required(VERSION 3.5)
- message(STATUS "CMake version ${CMAKE_VERSION}")
+ project(monero)
+ option (USE_CCACHE "Use ccache if a usable instance is found" ON)
diff --git a/src/checkpoints/CMakeLists.txt b/src/checkpoints/CMakeLists.txt
-index 665441f62..841df3256 100644
+index cc7f261ed..939aa3b90 100644
--- a/src/checkpoints/CMakeLists.txt
+++ b/src/checkpoints/CMakeLists.txt
@@ -28,7 +28,11 @@
@@ -43,7 +43,7 @@ index 665441f62..841df3256 100644
find_library(IOKIT_LIBRARY IOKit)
mark_as_advanced(IOKIT_LIBRARY)
diff --git a/src/cryptonote_basic/CMakeLists.txt b/src/cryptonote_basic/CMakeLists.txt
-index 414936a05..81c81767f 100644
+index ed48c15e3..5ec366791 100644
--- a/src/cryptonote_basic/CMakeLists.txt
+++ b/src/cryptonote_basic/CMakeLists.txt
@@ -28,7 +28,11 @@
@@ -60,10 +60,10 @@ index 414936a05..81c81767f 100644
find_library(IOKIT_LIBRARY IOKit)
mark_as_advanced(IOKIT_LIBRARY)
diff --git a/src/cryptonote_basic/miner.cpp b/src/cryptonote_basic/miner.cpp
-index 71b8f78cc..0f53f024e 100644
+index 258e782a2..e278da0b9 100644
--- a/src/cryptonote_basic/miner.cpp
+++ b/src/cryptonote_basic/miner.cpp
-@@ -45,7 +45,7 @@
+@@ -46,7 +46,7 @@
#include "boost/logic/tribool.hpp"
#include <boost/filesystem.hpp>
@@ -72,7 +72,7 @@ index 71b8f78cc..0f53f024e 100644
#include <sys/times.h>
#include <IOKit/IOKitLib.h>
#include <IOKit/ps/IOPSKeys.h>
-@@ -883,7 +883,7 @@ namespace cryptonote
+@@ -885,7 +885,7 @@ namespace cryptonote
return true;
@@ -81,7 +81,7 @@ index 71b8f78cc..0f53f024e 100644
mach_msg_type_number_t count;
kern_return_t status;
-@@ -949,7 +949,7 @@ namespace cryptonote
+@@ -951,7 +951,7 @@ namespace cryptonote
return true;
}
@@ -90,7 +90,7 @@ index 71b8f78cc..0f53f024e 100644
struct tms tms;
if ( times(&tms) != (clock_t)-1 )
-@@ -978,7 +978,7 @@ namespace cryptonote
+@@ -980,7 +980,7 @@ namespace cryptonote
return boost::logic::tribool(power_status.ACLineStatus != 1);
}
@@ -100,5 +100,5 @@ index 71b8f78cc..0f53f024e 100644
#if TARGET_OS_MAC && (!defined(MAC_OS_X_VERSION_MIN_REQUIRED) || MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7)
return boost::logic::tribool(IOPSGetTimeRemainingEstimate() != kIOPSTimeRemainingUnlimited);
--
-2.50.1 (Apple Git-155)
+2.51.0