summaryrefslogtreecommitdiff
path: root/patches/wownero/0014-fix-iOS-depends-build.patch
diff options
context:
space:
mode:
authorcyan <cyjan@mrcyjanek.net>2026-03-09 18:05:16 +0100
committerGitHub <noreply@github.com>2026-03-09 18:05:16 +0100
commit2c11591e02b907e63d8fd4fcb0a6559625934a95 (patch)
treedab95d36703f314a8ee9d6277a160df16833c4e5 /patches/wownero/0014-fix-iOS-depends-build.patch
parent411e8a1cdb3f4c2812d83f28c335d2a4eb18bd29 (diff)
reproducibility (#177)
* reproducibility * wip: ci fixes, drop generate_translations_header.c * minor fixes * fix patch * fix: toolchain * bump hash * fix: minor build issue fixes * fix: x86_64-w64-mingw32 * wip * wip * all updated :o * fix: reduce git size * update checksum remove CI * chore, more optimal dockerfile * update monero to v0.18.4.6 * update checksum * update * minor patch update * fix: no command specified * fix: correct path * alpine * stupid. * AAWASTREYDRFUGTIHYJHGUTYFRDTFYVGUBHINJHGTYFRDSRTXDTCFHBJ
Diffstat (limited to 'patches/wownero/0014-fix-iOS-depends-build.patch')
-rw-r--r--patches/wownero/0014-fix-iOS-depends-build.patch104
1 files changed, 0 insertions, 104 deletions
diff --git a/patches/wownero/0014-fix-iOS-depends-build.patch b/patches/wownero/0014-fix-iOS-depends-build.patch
deleted file mode 100644
index 5cb1c79..0000000
--- a/patches/wownero/0014-fix-iOS-depends-build.patch
+++ /dev/null
@@ -1,104 +0,0 @@
-From a707d5fc2aa9d387857381e7ebc4a68c1d245a00 Mon Sep 17 00:00:00 2001
-From: Czarek Nakamoto <cyjan@mrcyjanek.net>
-Date: Thu, 21 Nov 2024 06:05:03 -0500
-Subject: [PATCH 14/15] fix iOS depends build
-
----
- CMakeLists.txt | 4 ----
- src/checkpoints/CMakeLists.txt | 6 +++++-
- src/cryptonote_basic/CMakeLists.txt | 6 +++++-
- src/cryptonote_basic/miner.cpp | 8 ++++----
- 4 files changed, 14 insertions(+), 10 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 1383e630a..b8782570d 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -39,10 +39,6 @@ include(CheckLibraryExists)
- include(CheckFunctionExists)
- include(FindPythonInterp)
-
--if (IOS)
-- INCLUDE(CmakeLists_IOS.txt)
--endif()
--
- cmake_minimum_required(VERSION 3.5)
- message(STATUS "CMake version ${CMAKE_VERSION}")
-
-diff --git a/src/checkpoints/CMakeLists.txt b/src/checkpoints/CMakeLists.txt
-index 665441f62..841df3256 100644
---- a/src/checkpoints/CMakeLists.txt
-+++ b/src/checkpoints/CMakeLists.txt
-@@ -28,7 +28,11 @@
-
- if(APPLE)
- if(DEPENDS)
-- list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework ApplicationServices -framework AppKit -framework IOKit")
-+ if(${CMAKE_SYSTEM_NAME} STREQUAL "iOS")
-+ list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework IOKit")
-+ else()
-+ list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework ApplicationServices -framework AppKit -framework IOKit")
-+ endif()
- else()
- 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
---- a/src/cryptonote_basic/CMakeLists.txt
-+++ b/src/cryptonote_basic/CMakeLists.txt
-@@ -28,7 +28,11 @@
-
- if(APPLE)
- if(DEPENDS)
-- list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework ApplicationServices -framework AppKit -framework IOKit")
-+ if(${CMAKE_SYSTEM_NAME} STREQUAL "iOS")
-+ list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework IOKit")
-+ else()
-+ list(APPEND EXTRA_LIBRARIES "-framework Foundation -framework ApplicationServices -framework AppKit -framework IOKit")
-+ endif()
- else()
- 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 83bea8b5b..dfb4b5c5a 100644
---- a/src/cryptonote_basic/miner.cpp
-+++ b/src/cryptonote_basic/miner.cpp
-@@ -45,7 +45,7 @@
- #include "boost/logic/tribool.hpp"
- #include <boost/filesystem.hpp>
-
--#ifdef __APPLE__
-+#if defined(__APPLE__) && !defined(TARGET_OS_IPHONE)
- #include <sys/times.h>
- #include <IOKit/IOKitLib.h>
- #include <IOKit/ps/IOPSKeys.h>
-@@ -971,7 +971,7 @@ namespace cryptonote
-
- return true;
-
-- #elif defined(__APPLE__)
-+ #elif defined(__APPLE__) && !defined(TARGET_OS_IPHONE)
-
- mach_msg_type_number_t count;
- kern_return_t status;
-@@ -1037,7 +1037,7 @@ namespace cryptonote
- return true;
- }
-
-- #elif (defined(__linux__) && defined(_SC_CLK_TCK)) || defined(__APPLE__) || defined(__FreeBSD__)
-+ #elif (defined(__linux__) && defined(_SC_CLK_TCK)) || (defined(__APPLE__) && !defined(TARGET_OS_IPHONE)) || defined(__FreeBSD__)
-
- struct tms tms;
- if ( times(&tms) != (clock_t)-1 )
-@@ -1066,7 +1066,7 @@ namespace cryptonote
- return boost::logic::tribool(power_status.ACLineStatus != 1);
- }
-
-- #elif defined(__APPLE__)
-+ #elif defined(__APPLE__) && !defined(TARGET_OS_IPHONE)
-
- #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.48.0
-