DBD::cego fails to compile with DBI > 1.622 with the error ./Cego.xsi: In function 'void XS_DBD__Cego__db__login(CV*)': ./Cego.xsi:96: error: invalid conversion from 'const char*' to 'char*' ./Cego.xsi:97: error: invalid conversion from 'const char*' to 'char*' The real problem seems to be in DBI. How-To-Repeat: cd /usr/ports/databases/p5-DBD-cego make
Responsible Changed From-To: freebsd-ports-bugs->perl perl@ wants this port PRs (via the GNATS Auto Assign Tool)
Responsible Changed From-To: perl->miwi I'll take it.
State Changed From-To: open->closed Committed. Thanks!
Author: miwi Date: Sat Mar 30 04:40:54 2013 New Revision: 315593 URL: http://svnweb.freebsd.org/changeset/ports/315593 Log: - Unbreak build PR: 177473 Submitted by: maintainer Reported by: pointyhat Modified: head/databases/p5-DBD-cego/Makefile (contents, props changed) head/databases/p5-DBD-cego/files/patch-makefile-pl (contents, props changed) Modified: head/databases/p5-DBD-cego/Makefile ============================================================================== --- head/databases/p5-DBD-cego/Makefile Sat Mar 30 04:37:26 2013 (r315592) +++ head/databases/p5-DBD-cego/Makefile Sat Mar 30 04:40:54 2013 (r315593) @@ -1,7 +1,4 @@ -# New ports collection makefile for: p5-DBD-cego -# Date created: Jul 2, 2010 -# Whom: Kurt Jaeger <fbsd-ports@opsec.eu> -# +# Created by: Kurt Jaeger <fbsd-ports@opsec.eu> # $FreeBSD$ PORTNAME= DBD-cego @@ -24,4 +21,7 @@ CC:= ${CXX} MAN3= DBD::Cego.3 +post-configure: + @${REINPLACE_CMD} -e 's|fno-strict-aliasing|fno-strict-aliasing -fpermissive|g' ${WRKSRC}/Makefile + .include <bsd.port.mk> Modified: head/databases/p5-DBD-cego/files/patch-makefile-pl ============================================================================== --- head/databases/p5-DBD-cego/files/patch-makefile-pl Sat Mar 30 04:37:26 2013 (r315592) +++ head/databases/p5-DBD-cego/files/patch-makefile-pl Sat Mar 30 04:40:54 2013 (r315593) @@ -1,6 +1,6 @@ ---- Makefile.PL 2010-09-17 10:14:49.000000000 +0200 -+++ /tmp/bla/Makefile.PL 2011-04-24 22:00:03.000000000 +0200 -@@ -25,30 +25,21 @@ +--- Makefile.PL.orig 2010-09-17 10:14:49.000000000 +0200 ++++ Makefile.PL 2013-03-29 14:42:20.000000000 +0100 +@@ -25,30 +25,22 @@ Getopt::Long::GetOptions( $opt, "help", @@ -28,15 +28,17 @@ - 'MYEXTLIB' => $opt->{'prefix'} . "/lib/libcego.a " - . $opt->{'prefix'} . "/lib/liblfcxml.a " - . $opt->{'prefix'} . "/lib/liblfc.a", +- "CC" => "g++", +- "LD" => "g++", + 'INC' => '-I$(DBI_INSTARCH_DIR) -I/usr/local/include', + 'MYEXTLIB' => '-lcego -llfcxml -llfc', - "CC" => "g++", -- "LD" => "g++", ++ 'CC' => 'g++', ++ 'CCFLAGS' => '-O2 -pipe -fno-strict-aliasing -fpermissive', + "LD" => "g++ -L/usr/local/lib", "XSPROTOARG" => "-noprototypes", 'OPTIMIZE' => '-O6 -DNDEBUG=1', 'XSOPT' => '-C++', -@@ -59,12 +50,6 @@ +@@ -59,12 +51,6 @@ sub Usage { print STDERR <<"USAGE"; Usage: perl $0 [options] _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"