Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2012 14:19:46 +0000 (UTC)
From:      Rong-En Fan <rafan@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305536 - in head/devel/ncurses: . files
Message-ID:  <201210081419.q98EJk0n015403@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rafan
Date: Mon Oct  8 14:19:46 2012
New Revision: 305536
URL: http://svn.freebsd.org/changeset/ports/305536

Log:
  - Fix build with clang
  
  PR:		ports/172357
  Submitted by:	arrowdodger <6yearold at gmail.com>
  Obtained from:	upstream (20110409 and 20120608 patch)

Added:
  head/devel/ncurses/files/
  head/devel/ncurses/files/patch-c++-clang   (contents, props changed)
Modified:
  head/devel/ncurses/Makefile

Modified: head/devel/ncurses/Makefile
==============================================================================
--- head/devel/ncurses/Makefile	Mon Oct  8 13:47:58 2012	(r305535)
+++ head/devel/ncurses/Makefile	Mon Oct  8 14:19:46 2012	(r305536)
@@ -7,6 +7,7 @@
 
 PORTNAME=	ncurses
 PORTVERSION=	${RELEASE}
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GNU}
 MASTER_SITE_SUBDIR=	${PORTNAME}

Added: head/devel/ncurses/files/patch-c++-clang
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/ncurses/files/patch-c++-clang	Mon Oct  8 14:19:46 2012	(r305536)
@@ -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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210081419.q98EJk0n015403>