Date: Sun, 7 Jan 2007 18:28:30 GMT From: Fredrik Lindberg<fli@shapeshifter.se> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/107658: Update port: security/bioapi Fix bild with gcc 4.1 and optimization issues Message-ID: <200701071828.l07ISUap038419@www.freebsd.org> Resent-Message-ID: <200701071830.l07IUGGk040129@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 107658 >Category: ports >Synopsis: Update port: security/bioapi Fix bild with gcc 4.1 and optimization issues >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 07 18:30:16 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Fredrik Lindberg >Release: >Organization: >Environment: >Description: Fix build with gcc 4.x, reported by Kris http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.7.2006121307/bioapi-1.2.2_4.log Also, add -O last in CFLAGS as some users have reported issues with higher optimization levels. The real cause has not been found. >How-To-Repeat: >Fix: Patch attached with submission follows: --- /dev/null Sun Jan 7 18:22:00 2007 +++ files/patch-addins-dal-mds-dal_classes.h Sun Jan 7 17:42:29 2007 @@ -0,0 +1,11 @@ +--- addins/dl/mds/dal_classes.h Sun Jan 7 17:36:41 2007 ++++ addins/dl/mds/dal_classes.h Sun Jan 7 17:38:54 2007 +@@ -455,7 +455,7 @@ + DAL_DATABASE_INFO_REF_PTR &prefDatabase, + PORT_MUTEX_HANDLE &Mutex); + +- CSSM_RETURN DAL_DATABASE_INFO_LIST::GetDBNamesAndParameters( ++ CSSM_RETURN GetDBNamesAndParameters( + CSSM_DL_DB_HANDLE DLDBHandle, + DAL_DB_OPEN_PARAM_PTR pParam); + }; ? files/patch-addins-dal-mds-dal_classes.h Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/bioapi/Makefile,v retrieving revision 1.5 diff -u -r1.5 Makefile --- Makefile 28 Mar 2006 16:08:37 -0000 1.5 +++ Makefile 7 Jan 2007 17:22:58 -0000 @@ -7,7 +7,7 @@ PORTNAME= bioapi PORTVERSION= 1.2.2 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= security MASTER_SITES= http://www.qrivy.net/~michael/blua/bioapi/ \ http://shapeshifter.se/pub/bioapi/ @@ -17,6 +17,8 @@ USE_BZIP2= yes GNU_CONFIGURE= yes +# Problems reported with higher optimization levels +CONFIGURE_ENV=CFLAGS="${CFLAGS} -O" CONFIGURE_ARGS= --localstatedir=/var/db/ --with-Qt-dir=no INSTALLS_SHLIB= yes >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701071828.l07ISUap038419>