76acfa2dd2
```sh git grep -l '^patch_args=-Np0' "srcpkgs/$1*/template" | while read template; do for p in ${template%/template}/patches/*; do sed -i ' \,^[+-][+-][+-] /dev/null,b /^[*-]\+ [0-9]\+\(,[0-9]\+\)\? [*-]\+$/b s,^[*][*][*] ,&a/, /^--- /{ s,\(^--- \)\(./\)*,\1a/, s,[.-][Oo][Rr][Ii][Gg]\([ /]\),\1, s/[.-][Oo][Rr][Ii][Gg]$// s/[.]patched[.]\([^.]\)/.\1/ h } /^+++ -/{ g s/^--- a/+++ b/ b } s,\(^+++ \)\(./\)*,\1b/, ' "$p" done sed -i '/^patch_args=/d' $template done ```
27 lines
926 B
Diff
27 lines
926 B
Diff
From ba413dcbc1914c511d03e1d95f3663a91daf349a Mon Sep 17 00:00:00 2001
|
|
From: "Sean Francis N. Ballais" <sfballais123@gmail.com>
|
|
Date: Wed, 27 May 2020 00:44:21 +0800
|
|
Subject: [PATCH] Fixes #271 (#276)
|
|
|
|
* Add support for werkzeug 1.0.
|
|
|
|
|
|
Co-authored-by: zcutlip <uid000@gmail.com>
|
|
---
|
|
voltron/core.py | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/voltron/core.py b/voltron/core.py
|
|
index f22f375..351a0ea 100644
|
|
--- a/voltron/core.py
|
|
+++ b/voltron/core.py
|
|
@@ -15,7 +15,8 @@
|
|
import voltron
|
|
from flask import Flask, Response, make_response, redirect, render_template, request
|
|
from werkzeug.serving import BaseWSGIServer, ThreadedWSGIServer, WSGIRequestHandler
|
|
-from werkzeug.wsgi import DispatcherMiddleware, SharedDataMiddleware
|
|
+from werkzeug.middleware.dispatcher import DispatcherMiddleware
|
|
+from werkzeug.middleware.shared_data import SharedDataMiddleware
|
|
from requests import ConnectionError
|
|
|
|
|