diff options
author | Erich Eckner <git@eckner.net> | 2020-03-09 10:43:12 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-03-09 10:43:12 +0100 |
commit | 32407bd2ed842efb1c5bce63469f5ef64bdb763b (patch) | |
tree | 330f6e88e2b7efb184a8e1f9a083fdc23b5ad75c /alpine | |
parent | 26adc21ae15e2ca271c01cbd0ff0e2c4c0b71761 (diff) | |
download | archlinuxewe-32407bd2ed842efb1c5bce63469f5ef64bdb763b.tar.xz |
alpine: change patch format
Diffstat (limited to 'alpine')
-rw-r--r-- | alpine/PKGBUILD | 2 | ||||
-rw-r--r-- | alpine/default-pipe.patch | 11 |
2 files changed, 7 insertions, 6 deletions
diff --git a/alpine/PKGBUILD b/alpine/PKGBUILD index 928b757bc..619ce32c8 100644 --- a/alpine/PKGBUILD +++ b/alpine/PKGBUILD @@ -25,7 +25,7 @@ source=( 'topal-patch.patch' ) sha512sums=('SKIP' - 'b8020dc98f10db89f64f8865ee30237cf0fb19e5e90508374fdacf1a9e3eec71e962251856b4dfdcdbbc0441956c009c1e2b2e7e2886b84ed2ae2ac59e8b9303' + '15f2143d7fd33b16eedac778aebcff8b89a2c6fdad65e100ad643f397f3d85207c66325975ad73f5189c187d8420f5e7c811e54257c67f97ee69b2ccf50d63e2' 'b6719c245e5539af07d18b14e4e30e47c8ac1fcd91b431de40e8c0968c09707c1476adb1d322567e0683f28923022aed07291781de055298b49e39d897dbec23' 'bdaf9f0ed2bb9d10eaf4b456e24684cd09eb9e97ae2cf6eb4a2bc2bb5e231e8254d79efa63da9918022302fd970180f2dcd90a69d8c8d817c729c6a18fd6d506') diff --git a/alpine/default-pipe.patch b/alpine/default-pipe.patch index 147f5bce9..76acce604 100644 --- a/alpine/default-pipe.patch +++ b/alpine/default-pipe.patch @@ -1,14 +1,15 @@ diff --git a/alpine/mailpart.c b/alpine/mailpart.c -index df1de5d..73f08d1 100644 +index df1de5d..c19e44a 100644 --- a/alpine/mailpart.c +++ b/alpine/mailpart.c -@@ -3882,6 +3882,9 @@ pipe_attachment(long int msgno, ATTACH_S *a) - raw = (flagsforhist & 0x2) ? 1 : 0; +@@ -3883,6 +3883,10 @@ pipe_attachment(long int msgno, ATTACH_S *a) capture = (flagsforhist & 0x1) ? 1 : 0; } -+ } else { + } ++ else{ + snprintf(pipe_command, sizeof(pipe_command), "gpg -d -o - - 2>/dev/null"); + pipe_command[sizeof(pipe_command)-1] = '\0'; - } ++ } pipe_opt[j].ch = 0; + pipe_opt[j].rval = 0; |