ec4c2d75fa
```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 ```
28 lines
595 B
Diff
28 lines
595 B
Diff
From 4807a44c793a61bb3eb7aa110c08db51938d4502 Mon Sep 17 00:00:00 2001
|
|
From: Joshua Jensch <jenschjoshua@gmail.com>
|
|
Date: Sun, 7 Jan 2018 16:54:18 +0100
|
|
Subject: [PATCH] remove redundant ncursesw include
|
|
|
|
fixes #37
|
|
---
|
|
src/pamix_ui.cpp | 8 --------
|
|
1 file changed, 8 deletions(-)
|
|
|
|
diff --git a/src/pamix_ui.cpp b/src/pamix_ui.cpp
|
|
index ed2d65e..16a2e34 100644
|
|
--- a/src/pamix_ui.cpp
|
|
+++ b/src/pamix_ui.cpp
|
|
@@ -1,13 +1,5 @@
|
|
#include <pamix_ui.hpp>
|
|
|
|
-#ifdef FEAT_UNICODE
|
|
-
|
|
-#include <ncursesw/ncurses.h>
|
|
-
|
|
-#else
|
|
-#include <ncurses.h>
|
|
-#endif
|
|
-
|
|
#include <pamix.hpp>
|
|
|
|
void pamix_ui::reset() {
|