summaryrefslogtreecommitdiff
path: root/pkgs/trash/trash-dont-hardcode-arch.patch
diff options
context:
space:
mode:
authorLinnnus <[email protected]>2023-09-29 16:13:12 +0200
committerLinnnus <[email protected]>2023-09-29 16:13:12 +0200
commit98d5c9cd995de153feb5de60859cdadcc25cbcca (patch)
tree1e11506ce9e33ffb50958414edeaba5a25719e8c /pkgs/trash/trash-dont-hardcode-arch.patch
parent64899240dcba0063ebb0563c35ed3be5c66a990f (diff)
Add trash on osx
Diffstat (limited to 'pkgs/trash/trash-dont-hardcode-arch.patch')
-rw-r--r--pkgs/trash/trash-dont-hardcode-arch.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/trash/trash-dont-hardcode-arch.patch b/pkgs/trash/trash-dont-hardcode-arch.patch
new file mode 100644
index 0000000..3c581c1
--- /dev/null
+++ b/pkgs/trash/trash-dont-hardcode-arch.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index e867e91..40b7ecd 100644
+--- a/Makefile
++++ b/Makefile
+@@ -10,7 +10,7 @@ trash: $(SOURCE_FILES)
+ @echo
+ @echo ---- Compiling:
+ @echo ======================================
+- $(CC) -O2 -Wall -Wextra -Wpartial-availability -Wno-unguarded-availability -force_cpusubtype_ALL -mmacosx-version-min=10.7 -arch i386 -arch x86_64 -framework AppKit -framework ScriptingBridge -o $@ $(SOURCE_FILES)
++ $(CC) -O2 -Wall -Wextra -Wpartial-availability -Wno-unguarded-availability -mmacosx-version-min=10.7 -framework AppKit -framework ScriptingBridge -o $@ $(SOURCE_FILES)
+
+ analyze:
+ @echo