File 0778-Remove-erts-etc-darwin-Info.plist.patch of Package erlang (Revision 146aefa2f9046fd28642a8c379a75053)
Currently displaying revision 146aefa2f9046fd28642a8c379a75053 , Show latest
56
1
From 0f3e7637bd5778d6e2119f72692c10963bb4c398 Mon Sep 17 00:00:00 2001
2
From: Wojtek Mach <wojtek@wojtekmach.pl>
3
Date: Tue, 28 Jun 2022 11:56:17 +0200
4
Subject: [PATCH] Remove `erts/etc/darwin/Info.plist`
5
6
It seems that because erts was compiled with this file, it is impossible
7
to use mac APIs to retrieve bundle information.
8
---
9
erts/emulator/Makefile.in | 3 ---
10
erts/etc/darwin/Info.plist | 19 -------------------
11
2 files changed, 22 deletions(-)
12
delete mode 100644 erts/etc/darwin/Info.plist
13
14
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in
15
index 979f76c4c6..c73c3bc1c7 100644
16
--- a/erts/emulator/Makefile.in
17
+++ b/erts/emulator/Makefile.in
18
19
endif
20
21
OPSYS=@OPSYS@
22
-ifeq ($(OPSYS),darwin)
23
-LDFLAGS += -sectcreate __TEXT __info_plist "$(ERL_TOP)/erts/etc/darwin/Info.plist"
24
-endif
25
26
sol2CFLAGS=
27
linuxCFLAGS=
28
diff --git a/erts/etc/darwin/Info.plist b/erts/etc/darwin/Info.plist
29
deleted file mode 100644
30
index 3896524588..0000000000
31
--- a/erts/etc/darwin/Info.plist
32
+++ /dev/null
33
34
-<?xml version="1.0" encoding="UTF-8"?>
35
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
36
-<plist version="1.0">
37
-<dict>
38
- <key>NSAppTransportSecurity</key>
39
- <dict>
40
- <key>NSExceptionDomains</key>
41
- <dict>
42
- <key>localhost</key>
43
- <dict>
44
- <key>NSExceptionAllowsInsecureHTTPLoads</key>
45
- <true/>
46
- <key>NSIncludesSubdomains</key>
47
- <true/>
48
- </dict>
49
- </dict>
50
- </dict>
51
-</dict>
52
-</plist>
53
--
54
2.35.3
55
56