From owner-freebsd-apache@FreeBSD.ORG Fri Sep 26 10:44:57 2014 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7C325CB6 for ; Fri, 26 Sep 2014 10:44:57 +0000 (UTC) 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 mx1.freebsd.org (Postfix) with ESMTPS id 5C5A5605 for ; Fri, 26 Sep 2014 10:44:57 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s8QAiv9T013482 for ; Fri, 26 Sep 2014 10:44:57 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: apache@FreeBSD.org Subject: [Bug 193941] New: /usr/ports/www/mod_auth_mysql_another patch to work with apache24 Date: Fri, 26 Sep 2014 10:44:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dan@sunsaturn.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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.18-1 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 10:44:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193941 Bug ID: 193941 Summary: /usr/ports/www/mod_auth_mysql_another patch to work with apache24 Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: dan@sunsaturn.com CC: apache@FreeBSD.org CC: apache@FreeBSD.org /usr/ports/www/mod_auth_mysql_another Makefile will not allow port to compile against apache24, following patch allows it to work with apache24 http://sourceforge.net/p/modauthmysql/patches/13/attachment/mod_auth_mysql_3.0.0_patch_apache2.4.diff Proof of working(running fine on my system): sunsaturn:/root # tar fvxz mod_auth_mysql-3.0.0.tar.gz x mod_auth_mysql-3.0.0/BUILD x mod_auth_mysql-3.0.0/CHANGES x mod_auth_mysql-3.0.0/CONFIGURE x mod_auth_mysql-3.0.0/README x mod_auth_mysql-3.0.0/mod_auth_mysql.c sunsaturn:/root # patch -p0 < mod_auth_mysql_3.0.0_patch_apache2.4.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- mod_auth_mysql-3.0.0/mod_auth_mysql.c 2005-06-22 12:17:45.000000000 -0400 |+++ mod_auth_mysql-3.0.0_patch_apache_2.4/mod_auth_mysql.c 2013-12-30 18:07:27.646704470 -0500 -------------------------- Patching file mod_auth_mysql-3.0.0/mod_auth_mysql.c using Plan A... Hunk #1 succeeded at 206. Hunk #2 succeeded at 237. Hunk #3 succeeded at 589. Hunk #4 succeeded at 905. Hunk #5 succeeded at 1270. done sunsaturn:/root # cd mod_auth_mysql-3.0.0 sunsaturn:/root/mod_auth_mysql-3.0.0 # ls BUILD CHANGES CONFIGURE README mod_auth_mysql.c mod_auth_mysql.c.orig sunsaturn:/root/mod_auth_mysql-3.0.0 # apxs -c -I/usr/local/include/mysql -L/usr/local/lib/mysql -lmysqlclient -lz -lm mod_auth_mysql.c /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -I/usr/include -fno-strict-aliasing -I/usr/local/include/apache24 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/usr/local/include/db5 -I/usr/local/include/mysql -c -o mod_auth_mysql.lo mod_auth_mysql.c && touch mod_auth_mysql.slo mod_auth_mysql.c:892:9: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] pos-output, output); ^~~~~~~~~~ mod_auth_mysql.c:228:53: note: expanded from macro 'LOG_ERROR_2' ap_log_rerror (APLOG_MARK, lvl, stat, rqst, msg, parm1, parm2) ^ /usr/local/include/apache24/http_log.h:448:44: note: expanded from macro 'ap_log_rerror' #define ap_log_rerror(...) ap_log_rerror__(__VA_ARGS__) ^ /usr/local/include/apache24/http_log.h:451:63: note: expanded from macro 'ap_log_rerror__' ap_log_rerror_(file, line, mi, level, status, r, __VA_ARGS__); \ ^ 1 warning generated. /usr/local/share/apr/build-1/libtool --silent --mode=link cc -L/usr/lib -Wl,-rpath,/usr/lib:/usr/local/lib -o mod_auth_mysql.la -L/usr/local/lib/mysql -lmysqlclient -lz -lm -rpath /usr/local/libexec/apache24 -module -avoid-version mod_auth_mysql.lo sunsaturn:/root/mod_auth_mysql-3.0.0 # apxs -i mod_auth_mysql.la /usr/local/share/apache24/build/instdso.sh SH_LIBTOOL='/usr/local/share/apr/build-1/libtool' mod_auth_mysql.la /usr/local/libexec/apache24 /usr/local/share/apr/build-1/libtool --mode=install install mod_auth_mysql.la /usr/local/libexec/apache24/ libtool: install: install .libs/mod_auth_mysql.so /usr/local/libexec/apache24/mod_auth_mysql.so libtool: install: install .libs/mod_auth_mysql.lai /usr/local/libexec/apache24/mod_auth_mysql.la libtool: install: install .libs/mod_auth_mysql.a /usr/local/libexec/apache24/mod_auth_mysql.a libtool: install: chmod 644 /usr/local/libexec/apache24/mod_auth_mysql.a libtool: install: ranlib /usr/local/libexec/apache24/mod_auth_mysql.a chmod 755 /usr/local/libexec/apache24/mod_auth_mysql.so sunsaturn:/root/mod_auth_mysql-3.0.0 # --- Comment #1 from Bugzilla Automation --- Maintainers CC'd -- You are receiving this mail because: You are on the CC list for the bug.