init: pristine aerc 0.20.0 source
This commit is contained in:
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
--- a/GNUmakefile
|
||||
+++ b/GNUmakefile
|
||||
@@ -162,7 +162,7 @@
|
||||
define install_filter
|
||||
ifneq ($(wildcard filters/$1.c),)
|
||||
$1: filters/$1.c
|
||||
- $$(CC) $$(CFLAGS) $$(LDFLAGS) -o $$@ $$<
|
||||
+ $$(CC) $$(CFLAGS) $$(CPPFLAGS) $$(LDFLAGS) -o $$@ $$<
|
||||
|
||||
all: $1
|
||||
endif
|
||||
+22
@@ -0,0 +1,22 @@
|
||||
--- a/commands/msgview/open.go
|
||||
+++ b/commands/msgview/open.go
|
||||
@@ -5,6 +5,7 @@
|
||||
"io"
|
||||
"mime"
|
||||
"os"
|
||||
+ "path"
|
||||
"path/filepath"
|
||||
|
||||
"git.sr.ht/~rjarry/aerc/app"
|
||||
@@ -56,9 +57,9 @@
|
||||
app.PushError(err.Error())
|
||||
return
|
||||
}
|
||||
- filename := part.FileName()
|
||||
+ filename := path.Base(part.FileName())
|
||||
var tmpFile *os.File
|
||||
- if filename == "" {
|
||||
+ if filename == "." {
|
||||
extension := ""
|
||||
if exts, _ := mime.ExtensionsByType(mimeType); len(exts) > 0 {
|
||||
extension = exts[0]
|
||||
Vendored
+2
@@ -0,0 +1,2 @@
|
||||
fix-blhc.patch
|
||||
fix-temp-file-creation.patch
|
||||
Reference in New Issue
Block a user