diff --git a/.patch/discord-rpc/0001-objc.patch b/.patch/discord-rpc/0001-objc.patch new file mode 100644 index 0000000000..7868b00cf4 --- /dev/null +++ b/.patch/discord-rpc/0001-objc.patch @@ -0,0 +1,15 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 7e7142a..8530657 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,10 @@ + cmake_minimum_required (VERSION 3.22) ++ ++# for discord_register_osx.m ++if (APPLE) ++ enable_languages(OBJC) ++endif() ++ + project (DiscordRPC) + + include(GNUInstallDirs) diff --git a/cpmfile.json b/cpmfile.json index 412c8bd5e1..44a3d2dba2 100644 --- a/cpmfile.json +++ b/cpmfile.json @@ -70,6 +70,9 @@ "find_args": "MODULE", "hash": "8213c43dcb0f7d479f5861091d111ed12fbdec1e62e6d729d65a4bc181d82f48a35d5fd3cd5c291f2393ac7c9681eabc6b76609755f55376284c8a8d67e148f3", "package": "DiscordRPC", + "patches": [ + "0001-objc.patch" + ], "repo": "eden-emulator/discord-rpc", "version": "0d8b2d6a37" },