summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Short <zul@gentoo.org>2004-02-04 03:16:27 +0000
committerChuck Short <zul@gentoo.org>2004-02-04 03:16:27 +0000
commit2beb02a5a2ddde13b86283cb62b27908b1c1cb22 (patch)
tree12e98d294e3b0ff3b8fa7c8b8b7dfd86c03cc2ff /net-irc/eggdrop
parentmark stable for amd64 (bug 40335) (diff)
downloadgentoo-2-2beb02a5a2ddde13b86283cb62b27908b1c1cb22.tar.gz
gentoo-2-2beb02a5a2ddde13b86283cb62b27908b1c1cb22.tar.bz2
gentoo-2-2beb02a5a2ddde13b86283cb62b27908b1c1cb22.zip
Re-enabled mysql support. closes #40330.
Diffstat (limited to 'net-irc/eggdrop')
-rw-r--r--net-irc/eggdrop/ChangeLog7
-rw-r--r--net-irc/eggdrop/eggdrop-1.6.15-r2.ebuild8
-rw-r--r--net-irc/eggdrop/files/eggdrop-1.6.15-mysql-use_ssl-fix.patch10
3 files changed, 21 insertions, 4 deletions
diff --git a/net-irc/eggdrop/ChangeLog b/net-irc/eggdrop/ChangeLog
index 6d840e48800d..366beda514c0 100644
--- a/net-irc/eggdrop/ChangeLog
+++ b/net-irc/eggdrop/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-irc/eggdrop
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.11 2004/02/03 03:02:49 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/ChangeLog,v 1.12 2004/02/04 03:16:26 zul Exp $
+
+ 03 Feb 2004; Chuck Short <zul@gentoo.org> eggdrop-1.6.15-r2.ebuild,
+ files/eggdrop-1.6.15-mysql-use_ssl-fix.patch:
+ Re-enabled mysql support. Patch thanks to Sven Wegener
+ <sven.wegener -at- stealer.net>. Closes #40330.
*eggdrop-1.6.15-r2 (02 Feb 2004)
diff --git a/net-irc/eggdrop/eggdrop-1.6.15-r2.ebuild b/net-irc/eggdrop/eggdrop-1.6.15-r2.ebuild
index 4db0a22bb03e..c5f4e46718ed 100644
--- a/net-irc/eggdrop/eggdrop-1.6.15-r2.ebuild
+++ b/net-irc/eggdrop/eggdrop-1.6.15-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.15-r2.ebuild,v 1.1 2004/02/03 03:02:49 zul Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/eggdrop/eggdrop-1.6.15-r2.ebuild,v 1.2 2004/02/04 03:16:26 zul Exp $
inherit fixheadtails
@@ -14,9 +14,10 @@ KEYWORDS="~x86 ~sparc ~mips ~ia64"
LICENSE="GPL-2"
SLOT="0"
-IUSE="debug static ipv6 ssl"
+IUSE="debug static ipv6 ssl mysql"
DEPEND="dev-lang/tcl
- ssl? ( dev-libs/openssl )"
+ ssl? ( dev-libs/openssl )
+ mysql? ( dev-db/mysql )"
pre_pkg() {
use ipv6 && \
@@ -39,6 +40,7 @@ src_unpack() {
epatch ${FILESDIR}/${P}-configure-in.patch
epatch ${FILESDIR}/${P}-potential-undef-tm-struct.patch
epatch ${P}-STEALER.net.patch
+ epatch ${FILESDIR}/${P}-mysql-use_ssl-fix.patch
cd ${WORKDIR}/${P}
ht_fix_file configure aclocal.m4
diff --git a/net-irc/eggdrop/files/eggdrop-1.6.15-mysql-use_ssl-fix.patch b/net-irc/eggdrop/files/eggdrop-1.6.15-mysql-use_ssl-fix.patch
new file mode 100644
index 000000000000..b4b7e53ed106
--- /dev/null
+++ b/net-irc/eggdrop/files/eggdrop-1.6.15-mysql-use_ssl-fix.patch
@@ -0,0 +1,10 @@
+--- eggdrop-1.6.15.orig/src/mod/mysql.mod/mysql.h 2004-02-04 01:10:52.390343385 +0000
++++ eggdrop-1.6.15/src/mod/mysql.mod/mysql.h 2004-02-04 01:09:15.103521295 +0000
+@@ -28,6 +28,7 @@
+ }
+
+ #include "src/mod/module.h"
++#undef use_ssl
+ #include <mysql/mysql.h>
+
+ EXPORT_SCOPE char *mysql_start();