Bug 91600

Summary: [PATCH] fix mysql50-server build on FreeBSD 4.x
Product: Ports & Packages Reporter: loschert <loschert>
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description loschert 2006-01-10 15:20:04 UTC
In order to detect the presence of a system zlib installation, the configure script for MySQL 5.0.18 checks for the zlib function zlibCompileFlags.  This function only exists in zlib 1.2.x and above.  The included version of zlib in FreeBSD 4.x is 1.1.4.  This version of zlib exports the function zlibVersion which can instead be used for library detection.

Fix: The following updated port file fixes the problem.  Replace /usr/ports/databases/mysql50-server/files/patch-configure with:
How-To-Repeat: Attempt to build databases/mysql50-server or databases/mysql50-client on a FreeBSD 4.x server.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-01-10 17:59:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2006-01-11 07:19:45 UTC
State Changed
From-To: open->closed

A different patch has been committed, thanks.