aboutsummaryrefslogtreecommitdiff
path: root/devel/ncurses
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2012-10-08 14:19:46 +0000
committerRong-En Fan <rafan@FreeBSD.org>2012-10-08 14:19:46 +0000
commitd9f5f42f01f1d8916be693ac1d4f2cbcffaf45b5 (patch)
treeb25b81c0118bf87661538d4724c806b21aaa44b9 /devel/ncurses
parent9d0b742cb39b88063b1e6ee95c4687ce92b1ef6c (diff)
downloadports-d9f5f42f01f1d8916be693ac1d4f2cbcffaf45b5.tar.gz
ports-d9f5f42f01f1d8916be693ac1d4f2cbcffaf45b5.zip
Notes
Diffstat (limited to 'devel/ncurses')
-rw-r--r--devel/ncurses/Makefile1
-rw-r--r--devel/ncurses/files/patch-c++-clang40
2 files changed, 41 insertions, 0 deletions
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index 1eb17b4601ec..99dfda554f05 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ncurses
PORTVERSION= ${RELEASE}
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
diff --git a/devel/ncurses/files/patch-c++-clang b/devel/ncurses/files/patch-c++-clang
new file mode 100644
index 000000000000..a201ecc4e328
--- /dev/null
+++ b/devel/ncurses/files/patch-c++-clang
@@ -0,0 +1,40 @@
+--- c++/cursesf.h.orig 2012-10-07 15:21:40.000000000 +0800
++++ c++/cursesf.h 2012-10-07 15:22:12.000000000 +0800
+@@ -677,7 +677,7 @@
+ }
+
+ public:
+- NCursesUserForm (NCursesFormField Fields[],
++ NCursesUserForm (NCursesFormField* Fields[],
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE,
+ bool autoDelete_Fields=FALSE)
+@@ -686,7 +686,7 @@
+ set_user (const_cast<void *>(p_UserData));
+ };
+
+- NCursesUserForm (NCursesFormField Fields[],
++ NCursesUserForm (NCursesFormField* Fields[],
+ int nlines,
+ int ncols,
+ int begin_y = 0,
+--- c++/cursesm.h.orig 2012-10-07 15:21:44.000000000 +0800
++++ c++/cursesm.h 2012-10-07 15:22:55.000000000 +0800
+@@ -635,7 +635,7 @@
+ }
+
+ public:
+- NCursesUserMenu (NCursesMenuItem Items[],
++ NCursesUserMenu (NCursesMenuItem* Items[],
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE,
+ bool autoDelete_Items=FALSE)
+@@ -644,7 +644,7 @@
+ set_user (const_cast<void *>(p_UserData));
+ };
+
+- NCursesUserMenu (NCursesMenuItem Items[],
++ NCursesUserMenu (NCursesMenuItem* Items[],
+ int nlines,
+ int ncols,
+ int begin_y = 0,