Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  5 Sep 2013 11:23:34 +0200 (CEST)
From:      Geoffroy Desvernay <dgeo@centrale-marseille.fr>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/181833: [MAINTAINER] databases/mariadb-server: [SUMMARIZE CHANGES]
Message-ID:  <20130905092334.48E401CD6E@dgeo.sysadm.ec-m.fr>
Resent-Message-ID: <201309050930.r859U0DS033185@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         181833
>Category:       ports
>Synopsis:       [MAINTAINER] databases/mariadb-server: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 05 09:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Geoffroy Desvernay
>Release:        FreeBSD 9.2-RC3 amd64
>Organization:
Ecole Centrale de Marseille
>Environment:
System: FreeBSD dgeo.sysadm.ec-m.fr 9.2-RC3 FreeBSD 9.2-RC3 #0: Tue Aug 27 00:17:08 CEST 2013
>Description:
Disabling build on FreeBSD 10, as I can't correct it now. (no CURRENT machine and lack of time)

Error is: 
manager.c:133:10: error: too few arguments to function call, expected 6, have 5
    hp = my_gethostbyname_r(host,&tmp_hostent,buff2,sizeof(buff2),
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/my_net.h:113:74: note: expanded from macro 'my_gethostbyname_r'
#define my_gethostbyname_r(A,B,C,D,E) gethostbyname_r((A),(B),(C),(D),(E))
                                      ~~~~~~~~~~~~~~~                    ^
/usr/include/netdb.h:250:1: note: 'gethostbyname_r' declared here
int             gethostbyname_r(const char *, struct hostent *, char *, size_t,
^
1 warning and 1 error generated.
*** Error code 1

Generated with FreeBSD Port Tools 0.99_8 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- mariadb-server-5.3.12.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 326373)
+++ Makefile	(working copy)
@@ -45,7 +45,6 @@
 SSL_DESC=	Activate SSL support
 OPENSSL_DESC=	Use OpenSSL instead of bundled yassl
 
-
 .if !defined(MARIADB_CLIENT_SLAVE)
 CONFIGURE_ARGS+=	--with-libevent=${LOCALBASE}
 LIB_DEPENDS+=	event-1:${PORTSDIR}/devel/libevent
@@ -85,6 +84,10 @@
 
 .include <bsd.port.options.mk>
 
+.if ${OSVERSION} >= 1000000
+IGNORE=	Does not build under FreeBSD 10
+.endif
+
 .if ${OSVERSION} > 900000 && ${PORT_OPTIONS:MSTATIC}
 BROKEN=	WITH_STATIC is not functional on 9-current
 .endif
--- mariadb-server-5.3.12.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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