Skip to content

Commit

Permalink
LimeChat: minor improvement for 10.6 ppc, revbump
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jan 3, 2025
1 parent 40c3913 commit 38be4a0
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 22 deletions.
8 changes: 6 additions & 2 deletions aqua/LimeChat/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
25 changes: 25 additions & 0 deletions aqua/LimeChat/files/0001-No-hardcoding-archs.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 19e9267016ee0d784c30bc60982b14e4bc375b2f Mon Sep 17 00:00:00 2001
From: Sergey Fedorov <[email protected]>
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;
};
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};

0 comments on commit 38be4a0

Please sign in to comment.