about summary refs log tree commit diff
path: root/pkgs/by-name/xc/xcaddy/use_tmpdir_on_darwin.diff
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/xc/xcaddy/use_tmpdir_on_darwin.diff')
-rw-r--r--pkgs/by-name/xc/xcaddy/use_tmpdir_on_darwin.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkgs/by-name/xc/xcaddy/use_tmpdir_on_darwin.diff b/pkgs/by-name/xc/xcaddy/use_tmpdir_on_darwin.diff
new file mode 100644
index 0000000000000..064d8feb5a05a
--- /dev/null
+++ b/pkgs/by-name/xc/xcaddy/use_tmpdir_on_darwin.diff
@@ -0,0 +1,13 @@
+diff --git a/builder.go b/builder.go
+index ed6c5ef..36e8055 100644
+--- a/builder.go
++++ b/builder.go
+@@ -200,7 +200,7 @@ func NewReplace(old, new string) Replace {
+ // It is the caller's responsibility to remove the folder when finished.
+ func newTempFolder() (string, error) {
+ 	var parentDir string
+-	if runtime.GOOS == "darwin" {
++	if false && runtime.GOOS == "darwin" {
+ 		// After upgrading to macOS High Sierra, Caddy builds mysteriously
+ 		// started missing the embedded version information that -ldflags
+ 		// was supposed to produce. But it only happened on macOS after