[Bug 199556] databases/mariadb100-client patch for several path errors
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Apr 20 10:31:53 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199556
Bug ID: 199556
Summary: databases/mariadb100-client patch for several path
errors
Product: Ports & Packages
Version: Latest
Hardware: amd64
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: zaphod at berentweb.com
CC: spil.oss at gmail.com
CC: spil.oss at gmail.com
Flags: maintainer-feedback?(spil.oss at gmail.com)
I came accross this bug while trying to build databases/mysql-udf, which would
fail to compile with "fatal error: 'mysql/<module_name>' file not found".
Examination of the mariadb100-client modules showed path-prefix being specified
in the "#include" statements. Removing the "mysql/" prefix corrects the
problem.
My patch does not resolve all path problems (I did NOT do a grep search through
all files in the mysql folder), it only addresses path issues with regards to
compiling databases/mysql-udf. Other path issues may exist.
The semi-patch for this path problem is:
#1: include/my_global.h
@@ -1033 +1033 @@
- #include <mysql/plugin.h> /* my_bool */
+ #include <plugin.h> /* my_bool */
#2: include/mysql/plugin.h
@@ -51 +51 @@
- #include <mysql/services.h>
+ #include <services.h>
#3: include/mysql/services.h
@@ -22,32 +22,32 @@
- #include <mysql/service_my_snprintf.h>
- #include <mysql/service_thd_alloc.h>
- #include <mysql/service_thd_wait.h>
- #include <mysql/service_progress_report.h>
- #include <mysql/service_debug_sync.h>
- #include <mysql/service_kill_statement.h>
- #include <mysql/service_thd_timezone.h>
- #include <mysql/service_sha1.h>
- #include <mysql/service_logger.h>
- #include <mysql/service_thd_autoinc.h>
- #include <mysql/service_thd_error_context.h>
+ #include <service_my_snprintf.h>
+ #include <service_thd_alloc.h>
+ #include <service_thd_wait.h>
+ #include <service_progress_report.h>
+ #include <service_debug_sync.h>
+ #include <service_kill_statement.h>
+ #include <service_thd_timezone.h>
+ #include <service_sha1.h>
+ #include <service_logger.h>
+ #include <service_thd_autoinc.h>
+ #include <service_thd_error_context.h>
#4: include/mysql/my_pthread.h
@@ -721 +721 @@
- #include <mysql/psi/mysql_thread.h>
+ #include <psi/mysql_thread.h>
#5: include/mysql/psi/mysql_thread.h
@@ -57 +57 @@
- #include "mysql/psi/psi.h"
+ #include "psi/psi.h"
#6: include/mysql/my_sys.h
@@ -42, +42 @@
- #include <mysql/plugin.h>
+ #include <plugin.h>
@@ -1010, +1010 @@
- #include <mysql/psi/psi.h>
+ #include <psi/psi.h>
#7: include/mysql/m_string.h
@@ -207 +207 @@
- #include <mysql/plugin.h>
+ #include <plugin.h>
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list