diff --git a/aqua/LimeChat/Portfile b/aqua/LimeChat/Portfile index ea825c2baa3e1..5a4e926e2ccca 100644 --- a/aqua/LimeChat/Portfile +++ b/aqua/LimeChat/Portfile @@ -9,13 +9,17 @@ name LimeChat if {${os.platform} eq "darwin" && ${os.major} < 11} { # Peg until this is addressed: https://github.com/psychs/limechat/issues/340 github.setup psychs limechat 2.26 - revision 1 + revision 2 checksums sha256 fb4cb99bc2b26defb623d33ae46f500674c25e0f4bd1eda0ec44cef9e88a2e64 \ rmd160 3851851afa4e2b010090a2f487fcc025519450ce \ size 3567569 github.tarball_from archive - patchfiles-append 0001-Unbreak-the-build-10.5.patch + patchfiles-append 0001-No-hardcoding-archs.patch + + if {${os.major} < 10} { + patchfiles-append 0002-Unbreak-the-build-10.5.patch + } xcode.target LimeChat } else { diff --git a/aqua/LimeChat/files/0001-No-hardcoding-archs.patch b/aqua/LimeChat/files/0001-No-hardcoding-archs.patch new file mode 100644 index 0000000000000..bb86b4f288c26 --- /dev/null +++ b/aqua/LimeChat/files/0001-No-hardcoding-archs.patch @@ -0,0 +1,25 @@ +From 19e9267016ee0d784c30bc60982b14e4bc375b2f Mon Sep 17 00:00:00 2001 +From: Sergey Fedorov +Date: Wed, 7 Feb 2024 02:54:50 +0800 +Subject: [PATCH] Unbreak the build + +diff --git LimeChat.xcodeproj/project.pbxproj LimeChat.xcodeproj/project.pbxproj +index 6c5ec038..f002d69a 100644 +--- LimeChat.xcodeproj/project.pbxproj ++++ LimeChat.xcodeproj/project.pbxproj +@@ -1738,7 +1737,6 @@ + PREBINDING = NO; + PRODUCT_NAME = LimeChat; + SDKROOT = macosx; +- VALID_ARCHS = "i386 x86_64"; + WRAPPER_EXTENSION = app; + ZERO_LINK = YES; + }; +@@ -1769,7 +1766,6 @@ + PREBINDING = NO; + PRODUCT_NAME = LimeChat; + SDKROOT = macosx; +- VALID_ARCHS = "i386 x86_64"; + WRAPPER_EXTENSION = app; + ZERO_LINK = NO; + }; diff --git a/aqua/LimeChat/files/0001-Unbreak-the-build-10.5.patch b/aqua/LimeChat/files/0002-Unbreak-the-build-10.5.patch similarity index 65% rename from aqua/LimeChat/files/0001-Unbreak-the-build-10.5.patch rename to aqua/LimeChat/files/0002-Unbreak-the-build-10.5.patch index c983074466a0c..0cf0af8f7bf88 100644 --- a/aqua/LimeChat/files/0001-Unbreak-the-build-10.5.patch +++ b/aqua/LimeChat/files/0002-Unbreak-the-build-10.5.patch @@ -35,23 +35,3 @@ index 0d0648a6..3bb5749c 100644 { AppController* app; MainWindow* window; -diff --git LimeChat.xcodeproj/project.pbxproj LimeChat.xcodeproj/project.pbxproj -index 6c5ec038..f002d69a 100644 ---- LimeChat.xcodeproj/project.pbxproj -+++ LimeChat.xcodeproj/project.pbxproj -@@ -1738,7 +1737,6 @@ - PREBINDING = NO; - PRODUCT_NAME = LimeChat; - SDKROOT = macosx; -- VALID_ARCHS = "i386 x86_64"; - WRAPPER_EXTENSION = app; - ZERO_LINK = YES; - }; -@@ -1769,7 +1766,6 @@ - PREBINDING = NO; - PRODUCT_NAME = LimeChat; - SDKROOT = macosx; -- VALID_ARCHS = "i386 x86_64"; - WRAPPER_EXTENSION = app; - ZERO_LINK = NO; - };