summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMalcolm Lashley <malc@gentoo.org>2006-08-15 21:34:13 +0000
committerMalcolm Lashley <malc@gentoo.org>2006-08-15 21:34:13 +0000
commit62034eba2a57a2ab03c157d4024133d638e2c9a6 (patch)
tree1d27bdd0e49466a352c98187103c7aa2f035a6a9 /dev-db/mysql-super-smack
parentmark ~ppc (Bug #143609) (diff)
downloadhistorical-62034eba2a57a2ab03c157d4024133d638e2c9a6.tar.gz
historical-62034eba2a57a2ab03c157d4024133d638e2c9a6.tar.bz2
historical-62034eba2a57a2ab03c157d4024133d638e2c9a6.zip
Little patch of pointer->int casting which makes gcc4.x barf on 64bit systems and voila ~amd64 - bug #141984
Package-Manager: portage-2.1.1_pre5-r1
Diffstat (limited to 'dev-db/mysql-super-smack')
-rw-r--r--dev-db/mysql-super-smack/ChangeLog7
-rw-r--r--dev-db/mysql-super-smack/Manifest35
-rw-r--r--dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.32
-rw-r--r--dev-db/mysql-super-smack/files/mysql-super-smack-1.3.amd64.patch20
-rw-r--r--dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild5
5 files changed, 61 insertions, 8 deletions
diff --git a/dev-db/mysql-super-smack/ChangeLog b/dev-db/mysql-super-smack/ChangeLog
index 5c49debba32c..8f0ee1b8a63d 100644
--- a/dev-db/mysql-super-smack/ChangeLog
+++ b/dev-db/mysql-super-smack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-db/mysql-super-smack
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.6 2006/01/15 15:11:59 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/ChangeLog,v 1.7 2006/08/15 21:34:13 malc Exp $
+
+ 15 Aug 2006; <malc@gentoo.org> +files/mysql-super-smack-1.3.amd64.patch,
+ mysql-super-smack-1.3.ebuild:
+ Little patch of pointer->int casting which makes gcc4.x barf on 64bit
+ systems and voila ~amd64 - bug #141984
15 Jan 2006; Tobias Scherbaum <dertobi123@gentoo.org>
mysql-super-smack-1.3.ebuild:
diff --git a/dev-db/mysql-super-smack/Manifest b/dev-db/mysql-super-smack/Manifest
index 311c5cfb5779..030be6e6ce8c 100644
--- a/dev-db/mysql-super-smack/Manifest
+++ b/dev-db/mysql-super-smack/Manifest
@@ -1,7 +1,32 @@
-MD5 507b121997c47447fc272ea54cb1021c ChangeLog 879
-MD5 ffe9980a4253d6b885b1c20fb2de06e5 files/digest-mysql-super-smack-1.2 66
-MD5 20ddb2dc6c360638e1a010d9315e0d50 files/digest-mysql-super-smack-1.3 67
+AUX mysql-super-smack-1.2.destdir.patch 420 RMD160 f2e6c4cf2f8d5472c4b3b1d348c6e9c346b73272 SHA1 2490c73678c5f03d07a4a7d19766bfbaca6868e4 SHA256 584454ce2cf04dddb37a05785a2544e79e7fb141e7619298444969ecdd47b3b7
MD5 d070039b24303c845cbcbf72ed2e088f files/mysql-super-smack-1.2.destdir.patch 420
-MD5 62ae293ebc3602342f798f1b3b044eba metadata.xml 225
+RMD160 f2e6c4cf2f8d5472c4b3b1d348c6e9c346b73272 files/mysql-super-smack-1.2.destdir.patch 420
+SHA256 584454ce2cf04dddb37a05785a2544e79e7fb141e7619298444969ecdd47b3b7 files/mysql-super-smack-1.2.destdir.patch 420
+AUX mysql-super-smack-1.3.amd64.patch 702 RMD160 d944432c9fadc500d9780f05b0b1f6ea5dc0576f SHA1 1a187b45c64c33eabdcdf21ded7b88cb451388ef SHA256 c88a75a35851433689bfa2f2922bd389344643a3ad6bcafa1ce3f4a80e4ef564
+MD5 9c65af01effab93e667e0be53b64c15f files/mysql-super-smack-1.3.amd64.patch 702
+RMD160 d944432c9fadc500d9780f05b0b1f6ea5dc0576f files/mysql-super-smack-1.3.amd64.patch 702
+SHA256 c88a75a35851433689bfa2f2922bd389344643a3ad6bcafa1ce3f4a80e4ef564 files/mysql-super-smack-1.3.amd64.patch 702
+DIST super-smack-1.2.tar.gz 99478
+DIST super-smack-1.3.tar.gz 155375 RMD160 bea82e7b26070f0e6ba0ea2ffb187cc374f6204e SHA1 1db165de4f82c9646e31f393ece56f57670de34d SHA256 969d40e772faa8580f8e8f2dfa2a381fbadbd79fc0c94304347d594dba2a9bd9
+EBUILD mysql-super-smack-1.2.ebuild 1280 RMD160 b7ea96c82e30ea4515d1ff57a36fde1da86ab23b SHA1 d31608622bba419950ce961dab3fc2fe1694835c SHA256 b780ad1304f428a6124cc3b7acf76ad528bb574769e901bee2e2223c46ae70d2
MD5 e03a1c0a4cb07373fd701bd15610e65d mysql-super-smack-1.2.ebuild 1280
-MD5 a0080b36086e9c9443cccda9eaa753a6 mysql-super-smack-1.3.ebuild 1303
+RMD160 b7ea96c82e30ea4515d1ff57a36fde1da86ab23b mysql-super-smack-1.2.ebuild 1280
+SHA256 b780ad1304f428a6124cc3b7acf76ad528bb574769e901bee2e2223c46ae70d2 mysql-super-smack-1.2.ebuild 1280
+EBUILD mysql-super-smack-1.3.ebuild 1346 RMD160 7ea1a7a4fa4095b6a629e2329a0327c04a7891c7 SHA1 4e60c6eeac20fb8535b36d1d80ef4d753333bdf5 SHA256 95b94b334518efa2d00bc655935035d1ba612759799945a0f3bd196e65dc06e8
+MD5 ae41eb43c0d666097d8e2f33a292830b mysql-super-smack-1.3.ebuild 1346
+RMD160 7ea1a7a4fa4095b6a629e2329a0327c04a7891c7 mysql-super-smack-1.3.ebuild 1346
+SHA256 95b94b334518efa2d00bc655935035d1ba612759799945a0f3bd196e65dc06e8 mysql-super-smack-1.3.ebuild 1346
+MISC ChangeLog 1094 RMD160 ee78094bdcc252cd59414fab36fac72388181c02 SHA1 2c43b38397ba0fb79ba6177325de79d5d3eb99b8 SHA256 b3e52369229d03ccd9344ce11fe4d997e3a9972daa278b603597d6b0c6dca5b8
+MD5 f570cfd629dc5856d8269283d74430f3 ChangeLog 1094
+RMD160 ee78094bdcc252cd59414fab36fac72388181c02 ChangeLog 1094
+SHA256 b3e52369229d03ccd9344ce11fe4d997e3a9972daa278b603597d6b0c6dca5b8 ChangeLog 1094
+MISC metadata.xml 225 RMD160 74879797e03923649e534769cbd28d301a84623e SHA1 7d843700f0bf221e490ffba7d31c2361a1ea8394 SHA256 9072914e1f255004795621cc128734730b730ffaabda8ca955d781a0e0398b13
+MD5 62ae293ebc3602342f798f1b3b044eba metadata.xml 225
+RMD160 74879797e03923649e534769cbd28d301a84623e metadata.xml 225
+SHA256 9072914e1f255004795621cc128734730b730ffaabda8ca955d781a0e0398b13 metadata.xml 225
+MD5 ffe9980a4253d6b885b1c20fb2de06e5 files/digest-mysql-super-smack-1.2 66
+RMD160 0aef4e4855f47ea6039e4de63da1bc61ae1a5f2b files/digest-mysql-super-smack-1.2 66
+SHA256 587c09be1dd93b6e6b735a14ae94cf1581e615d18ce3e60053c79babd8c28be0 files/digest-mysql-super-smack-1.2 66
+MD5 6503b37b805807b8a23b3a51b05c092d files/digest-mysql-super-smack-1.3 247
+RMD160 ab4869345e42469b8879886a8df32417fc57e9a5 files/digest-mysql-super-smack-1.3 247
+SHA256 866ba4a1bce301a57450d66bfa6bc14bcf11e66a7721eeaa0b7678f09db0a124 files/digest-mysql-super-smack-1.3 247
diff --git a/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.3 b/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.3
index 34d56709de45..b57c328c2e28 100644
--- a/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.3
+++ b/dev-db/mysql-super-smack/files/digest-mysql-super-smack-1.3
@@ -1 +1,3 @@
MD5 1884be74822d1fa3bcd7f997935a13db super-smack-1.3.tar.gz 155375
+RMD160 bea82e7b26070f0e6ba0ea2ffb187cc374f6204e super-smack-1.3.tar.gz 155375
+SHA256 969d40e772faa8580f8e8f2dfa2a381fbadbd79fc0c94304347d594dba2a9bd9 super-smack-1.3.tar.gz 155375
diff --git a/dev-db/mysql-super-smack/files/mysql-super-smack-1.3.amd64.patch b/dev-db/mysql-super-smack/files/mysql-super-smack-1.3.amd64.patch
new file mode 100644
index 000000000000..c2c5db0c56f0
--- /dev/null
+++ b/dev-db/mysql-super-smack/files/mysql-super-smack-1.3.amd64.patch
@@ -0,0 +1,20 @@
+--- supesmack-1.3/src/query.cc.orig 2005-04-30 14:51:29.000000000 +0100
++++ supesmack-1.3/src/query.cc 2006-08-15 22:06:06.000000000 +0100
+@@ -197,7 +197,7 @@
+ {
+ string s((*i).first);
+ int str_len = (*i).first.length();
+- if((unsigned)p + str_len + 3 *sizeof(int) < (unsigned)p_end )
++ if((unsigned long)p + str_len + 3 *sizeof(int) < (unsigned long)p_end )
+ {
+ *p++ = (char) str_len;
+ const char* q_type_name = s.c_str();
+@@ -216,7 +216,7 @@
+ die(0, "report buffer overflow -- too many query types");
+ }
+
+- len = (unsigned)p - (unsigned)buf;
++ len = (unsigned long)p - (unsigned long)buf;
+ *(buf) = num_recs;
+
+ if(write(fd, buf, len) != len)
diff --git a/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild b/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild
index 4d7b3ad67889..9af197490f44 100644
--- a/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild
+++ b/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild,v 1.2 2006/01/15 15:11:59 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-super-smack/mysql-super-smack-1.3.ebuild,v 1.3 2006/08/15 21:34:13 malc Exp $
inherit eutils
@@ -12,7 +12,7 @@ SRC_URI="http://vegan.net/tony/supersmack/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~ppc ~x86"
+KEYWORDS="~amd64 ~ppc ~x86"
IUSE="mysql postgres"
DEPEND="mysql? ( dev-db/mysql )
@@ -28,6 +28,7 @@ src_unpack() {
unpack ${A}
EPATCH_OPTS="-p1 -d ${S}" epatch ${FILESDIR}/${PN}-1.2.destdir.patch
cd ${S}
+ epatch ${FILESDIR}/${PN}-1.3.amd64.patch
automake
}