svn commit: r384669 - in head/devel/p5-Cdk: . files
Mathieu Arnold
mat at FreeBSD.org
Fri Apr 24 17:27:31 UTC 2015
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);
+ }
+
More information about the svn-ports-head
mailing list