Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2015 17:27:30 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384669 - in head/devel/p5-Cdk: . files
Message-ID:  <201504241727.t3OHRUhT008419@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Fri Apr 24 17:27:29 2015
New Revision: 384669
URL: https://svnweb.freebsd.org/changeset/ports/384669

Log:
  Fix build with Perl 5.18+
  
  Sponsored by:	Absolight

Added:
  head/devel/p5-Cdk/files/patch-Cdk.xs   (contents, props changed)
Modified:
  head/devel/p5-Cdk/Makefile

Modified: head/devel/p5-Cdk/Makefile
==============================================================================
--- head/devel/p5-Cdk/Makefile	Fri Apr 24 16:52:29 2015	(r384668)
+++ head/devel/p5-Cdk/Makefile	Fri Apr 24 17:27:29 2015	(r384669)
@@ -23,13 +23,4 @@ INSTALL_TARGET=	pure_install
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-DEPRECATED=	Does not work with 5.18 or above
-EXPIRATION_DATE=2015-07-31
-
-.include <bsd.port.pre.mk>
-
-.if ${PERL_VER} >= 5.18
-BROKEN=		Does not build with Perl 5.18 or above
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Added: head/devel/p5-Cdk/files/patch-Cdk.xs
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Cdk/files/patch-Cdk.xs	Fri Apr 24 17:27:29 2015	(r384669)
@@ -0,0 +1,37 @@
+--- Cdk.xs.orig	2012-03-24 11:42:10 UTC
++++ Cdk.xs
+@@ -2436,10 +2436,9 @@ PostProcess(object,functionRef)
+ void
+ Draw(object)
+ 	CDKMENU *	object
+-	int		Box = sv2int ($arg);
+ 	CODE:
+ 	{
+-	   drawCDKMenu (object, Box);
++	   drawCDKMenu (object, TRUE);
+ 	}
+ 
+ void
+@@ -6587,18 +6586,20 @@ SetContents(object,list)
+ void
+ SetFillerChar(object,fille)
+ 	CDKALPHALIST*	object
+-	chtype	filler = sv2chtype ($arg);
++	SV * fille
+ 	CODE:
+ 	{
++	   chtype	filler = sv2chtype (fille);
+ 	   setCDKAlphalistFillerChar (object,filler);
+ 	}
+ 
+ void
+ SetHighlight(object,highlight)
+ 	CDKALPHALIST*	object
+-	chtype	filler = sv2chtype ($arg);
++	SV * highlight
+ 	CODE:
+ 	{
++	   chtype	filler = sv2chtype (highlight);
+ 	   setCDKAlphalistHighlight (object,filler);
+ 	}
+ 



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