summaryrefslogtreecommitdiff
path: root/data/ncurses5-libs/clang.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 11:10:57 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 11:10:57 -1000
commit3c2e7cb049da35fff8715d510814dd55a1b5b697 (patch)
treeba8332459d128a86c4ff30914263717b0265b074 /data/ncurses5-libs/clang.diff
parent1a78e13b7e37dca20f2d985a00010cc43d6a2a99 (diff)
Add debianutils, libfdk-aac, libgmp10, libidn2, libtasn1, libunistring, lz4, ncurses5-libs, and openpam to replace pam
Diffstat (limited to 'data/ncurses5-libs/clang.diff')
-rw-r--r--data/ncurses5-libs/clang.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/data/ncurses5-libs/clang.diff b/data/ncurses5-libs/clang.diff
new file mode 100644
index 000000000..407410221
--- /dev/null
+++ b/data/ncurses5-libs/clang.diff
@@ -0,0 +1,43 @@
+diff -ruNp ncurses-5.8.orig/c++/cursesf.h ncurses-5.8/c++/cursesf.h
+--- ncurses-5.8.orig/c++/cursesf.h 2005-08-13 21:08:24.000000000 +0300
++++ ncurses-5.8/c++/cursesf.h 2011-04-03 18:29:29.000000000 +0300
+@@ -681,7 +681,7 @@ public:
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE,
+ bool autoDelete_Fields=FALSE)
+- : NCursesForm (Fields, with_frame, autoDelete_Fields) {
++ : NCursesForm (&Fields, with_frame, autoDelete_Fields) {
+ if (form)
+ set_user (const_cast<void *>(p_UserData));
+ };
+@@ -694,7 +694,7 @@ public:
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE,
+ bool autoDelete_Fields=FALSE)
+- : NCursesForm (Fields, nlines, ncols, begin_y, begin_x,
++ : NCursesForm (&Fields, nlines, ncols, begin_y, begin_x,
+ with_frame, autoDelete_Fields) {
+ if (form)
+ set_user (const_cast<void *>(p_UserData));
+diff -ruNp ncurses-5.8.orig/c++/cursesm.h ncurses-5.8/c++/cursesm.h
+--- ncurses-5.8.orig/c++/cursesm.h 2005-08-13 21:10:36.000000000 +0300
++++ ncurses-5.8/c++/cursesm.h 2011-04-03 18:31:42.000000000 +0300
+@@ -639,7 +639,7 @@ public:
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE,
+ bool autoDelete_Items=FALSE)
+- : NCursesMenu (Items, with_frame, autoDelete_Items) {
++ : NCursesMenu (&Items, with_frame, autoDelete_Items) {
+ if (menu)
+ set_user (const_cast<void *>(p_UserData));
+ };
+@@ -651,7 +651,7 @@ public:
+ int begin_x = 0,
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE)
+- : NCursesMenu (Items, nlines, ncols, begin_y, begin_x, with_frame) {
++ : NCursesMenu (&Items, nlines, ncols, begin_y, begin_x, with_frame) {
+ if (menu)
+ set_user (const_cast<void *>(p_UserData));
+ };
+