File fix-ncurses.patch of Package plebtracker

diff -wru PLEBTracker-master/Tracker/include/cmdbar.h PLEBTracker-master.fix/Tracker/include/cmdbar.h
--- PLEBTracker-master/Tracker/include/cmdbar.h	2018-06-05 17:05:32.000000000 +0200
+++ PLEBTracker-master.fix/Tracker/include/cmdbar.h	2020-05-08 14:12:41.000000000 +0200
@@ -1,6 +1,6 @@
 #ifndef CMDBAR_H_
 #define CMDBAR_H_
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 #include <vector>
 #include "tables.h"
 #include "patternedtr.h"
diff -wru PLEBTracker-master/Tracker/include/instedtr.h PLEBTracker-master.fix/Tracker/include/instedtr.h
--- PLEBTracker-master/Tracker/include/instedtr.h	2018-06-05 17:05:32.000000000 +0200
+++ PLEBTracker-master.fix/Tracker/include/instedtr.h	2020-05-08 14:14:36.000000000 +0200
@@ -6,7 +6,7 @@
 
 #ifndef INSTEDTR_H_
 #define INSTEDTR_H_
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 #include <cmath>
 #include "tables.h"
 #include "patternedtr.h"
diff -wru PLEBTracker-master/Tracker/include/tables.h PLEBTracker-master.fix/Tracker/include/tables.h
--- PLEBTracker-master/Tracker/include/tables.h	2018-06-05 17:05:32.000000000 +0200
+++ PLEBTracker-master.fix/Tracker/include/tables.h	2020-05-08 14:13:50.000000000 +0200
@@ -10,7 +10,7 @@
 #define TABLES_H_
 #include <map>
 #include <cstring>
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 #include <unistd.h>
 #include <stdio.h>
 
diff -wru PLEBTracker-master/Tracker/src/main.cpp PLEBTracker-master.fix/Tracker/src/main.cpp
--- PLEBTracker-master/Tracker/src/main.cpp	2018-06-05 17:05:32.000000000 +0200
+++ PLEBTracker-master.fix/Tracker/src/main.cpp	2020-05-08 14:18:12.122458615 +0200
@@ -1,4 +1,4 @@
-#include <ncurses.h>
+#include <ncursesw/ncurses.h>
 #include "tables.h"
 #include "instedtr.h"
 #include "patternedtr.h"
diff -wru PLEBTracker-master/Tracker/src/Makefile PLEBTracker-master.fix/Tracker/src/Makefile
--- PLEBTracker-master/Tracker/src/Makefile	2018-06-05 17:05:32.000000000 +0200
+++ PLEBTracker-master.fix/Tracker/src/Makefile	2020-05-08 14:18:04.503757815 +0200
@@ -7,7 +7,7 @@
 #Library directory for project (non-system libs)
 LDIR=../lib
 #Include libraries e.g. -lncurses
-LIBS=-lncurses
+LIBS=-lncursesw
 
 #Header files that need to be tracked//////////////////////////////////////////
 _DEPS = cmdbar.h instedtr.h instrument.h pattern.h patternedtr.h song.h tables.h daemoncomm.h
openSUSE Build Service is sponsored by