ncurses-5.9-fix-clang-build.patch 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. diff --git a/ncurses-5.9/c++/cursesf.h b/ncurses-5.9/c++/cursesf.h
  2. index 70a30c3..db38063 100644
  3. --- a/ncurses-5.9/c++/cursesf.h
  4. +++ b/ncurses-5.9/c++/cursesf.h
  5. @@ -677,7 +677,7 @@ protected:
  6. }
  7. public:
  8. - NCursesUserForm (NCursesFormField Fields[],
  9. + NCursesUserForm (NCursesFormField* Fields[],
  10. const T* p_UserData = STATIC_CAST(T*)(0),
  11. bool with_frame=FALSE,
  12. bool autoDelete_Fields=FALSE)
  13. @@ -686,7 +686,7 @@ public:
  14. set_user (const_cast<void *>(p_UserData));
  15. };
  16. - NCursesUserForm (NCursesFormField Fields[],
  17. + NCursesUserForm (NCursesFormField* Fields[],
  18. int nlines,
  19. int ncols,
  20. int begin_y = 0,
  21. diff --git a/ncurses-5.9/c++/cursesm.h b/ncurses-5.9/c++/cursesm.h
  22. index d9c2273..2d5b79a 100644
  23. --- a/ncurses-5.9/c++/cursesm.h
  24. +++ b/ncurses-5.9/c++/cursesm.h
  25. @@ -635,7 +635,7 @@ protected:
  26. }
  27. public:
  28. - NCursesUserMenu (NCursesMenuItem Items[],
  29. + NCursesUserMenu (NCursesMenuItem* Items[],
  30. const T* p_UserData = STATIC_CAST(T*)(0),
  31. bool with_frame=FALSE,
  32. bool autoDelete_Items=FALSE)
  33. @@ -644,7 +644,7 @@ public:
  34. set_user (const_cast<void *>(p_UserData));
  35. };
  36. - NCursesUserMenu (NCursesMenuItem Items[],
  37. + NCursesUserMenu (NCursesMenuItem* Items[],
  38. int nlines,
  39. int ncols,
  40. int begin_y = 0,