From owner-freebsd-apache@freebsd.org Sat Aug 11 20:36:51 2018 Return-Path: Delivered-To: freebsd-apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C43181078EEF for ; Sat, 11 Aug 2018 20:36:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 586929066A for ; Sat, 11 Aug 2018 20:36:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 1D5141078EEE; Sat, 11 Aug 2018 20:36:51 +0000 (UTC) Delivered-To: apache@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C2461078EED for ; Sat, 11 Aug 2018 20:36:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D03F90669 for ; Sat, 11 Aug 2018 20:36:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id D86661605E for ; Sat, 11 Aug 2018 20:36:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w7BKan6p060451 for ; Sat, 11 Aug 2018 20:36:49 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7BKanvD060450 for apache@FreeBSD.org; Sat, 11 Aug 2018 20:36:49 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 230538] devel/apr1 apr-1.6.3.1.6.1_1 fails to install apr_dbd_mysql-1.so Date: Sat, 11 Aug 2018 20:36:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-patch X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: please@forget.me.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: apache@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Aug 2018 20:36:52 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230538 --- Comment #3 from Please --- To make apr1 compile with mysql80-client I found that 2 files need to updat= ed from apr-util: apr-util-1.6.1/dbd/apr_dbd_mysql.c add to after line 50: /* MySQL 8.0 replaces my_bool with C99 bool. Earlier versions of MySQL had * a typedef to char. Gem users reported failures on big endian systems when * using C99 bool types with older MySQLs due to mismatched behavior. */ #ifndef HAVE_TYPE_MY_BOOL #include typedef bool my_bool; #endif second file : apr-util-1.6.1/build/dbd.m4 replace line 178: AC_CHECK_HEADERS([mysql.h my_global.h my_sys.h], with=20 AC_CHECK_HEADERS([mysql.h], replace line 183: AC_CHECK_HEADERS([mysql/mysql.h mysql/my_global.h mysql/my_sys.h], with AC_CHECK_HEADERS([mysql/mysql.h], the same on lines 209 and 215 then replace all occurrence of=20 [#include ])=20 with=20 [#include ]) and [#include ])=20 with=20 [#include ]) then commands to test it :=20 autoconf ./configure make see if dbd/apr_dbd_mysql.o file was generated. I am no expert at doing patches, hope someone will pick it app and apply th= is with some testing, ah this is only when mysql80-client is installed. --=20 You are receiving this mail because: You are the assignee for the bug.=