diff options
author | Javier Villavicencio <the_paya@gentoo.org> | 2006-08-25 10:05:30 +0000 |
---|---|---|
committer | Javier Villavicencio <the_paya@gentoo.org> | 2006-08-25 10:05:30 +0000 |
commit | b7f84f389d15b674f7e720dc6fd739485b7bbfa9 (patch) | |
tree | 2108779a1260eeb61c239f45ed71cbe2674603f1 /dev-python/psycopg | |
parent | Stable on x86, security bug #144946. (diff) | |
download | gentoo-2-b7f84f389d15b674f7e720dc6fd739485b7bbfa9.tar.gz gentoo-2-b7f84f389d15b674f7e720dc6fd739485b7bbfa9.tar.bz2 gentoo-2-b7f84f389d15b674f7e720dc6fd739485b7bbfa9.zip |
Added tiny fix for compilation in freebsd, and ~x86-fbsd keyword.
(Portage version: 2.1.1_pre5-r2)
Diffstat (limited to 'dev-python/psycopg')
-rw-r--r-- | dev-python/psycopg/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/psycopg/files/digest-psycopg-1.1.18 | 6 | ||||
-rw-r--r-- | dev-python/psycopg/files/psycopg-2.0.4-fbsd.patch | 11 | ||||
-rw-r--r-- | dev-python/psycopg/psycopg-2.0.4.ebuild | 6 |
4 files changed, 23 insertions, 6 deletions
diff --git a/dev-python/psycopg/ChangeLog b/dev-python/psycopg/ChangeLog index 89128e6e487c..e728a05406b2 100644 --- a/dev-python/psycopg/ChangeLog +++ b/dev-python/psycopg/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/psycopg # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.46 2006/08/17 19:43:51 corsair Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/ChangeLog,v 1.47 2006/08/25 10:05:30 the_paya Exp $ + + 25 Aug 2006; Javier Villavicencio <the_paya@gentoo.org> + +files/psycopg-2.0.4-fbsd.patch, psycopg-2.0.4.ebuild: + Added fix for compilation in freebsd, and ~x86-fbsd keyword. 17 Aug 2006; Markus Rothe <corsair@gentoo.org> psycopg-1.1.21.ebuild: Stable on ppc64 diff --git a/dev-python/psycopg/files/digest-psycopg-1.1.18 b/dev-python/psycopg/files/digest-psycopg-1.1.18 index d066c3fcb43b..374ff44ea95b 100644 --- a/dev-python/psycopg/files/digest-psycopg-1.1.18 +++ b/dev-python/psycopg/files/digest-psycopg-1.1.18 @@ -1,3 +1,3 @@ -MD5 e15aa883732f4152f2e078854951284c psycopg-1.1.18.tar.gz 60328 -RMD160 46928a9fcf852bdd93aaa3fee87d943670d8fd48 psycopg-1.1.18.tar.gz 60328 -SHA256 9f86402a2fa8dd295c18b1e8137d1debe0ce492cf7488b25b31af0672fa205af psycopg-1.1.18.tar.gz 60328 +MD5 8e5cd2925a25a5aa80cd83418d6a5f09 psycopg-1.1.18.tar.gz 210061 +RMD160 822cf1c590f298ace424d8ced4a8e7eb418c72d0 psycopg-1.1.18.tar.gz 210061 +SHA256 dd8d81674d2503a2ec5f0f898a2c8c287536838382c9f3141759d29cdb721a0f psycopg-1.1.18.tar.gz 210061 diff --git a/dev-python/psycopg/files/psycopg-2.0.4-fbsd.patch b/dev-python/psycopg/files/psycopg-2.0.4-fbsd.patch new file mode 100644 index 000000000000..7faa6f36ffd1 --- /dev/null +++ b/dev-python/psycopg/files/psycopg-2.0.4-fbsd.patch @@ -0,0 +1,11 @@ +--- psycopg2-2.0.4/psycopg/config.h.orig 2006-02-11 15:56:19 -0300 ++++ psycopg2-2.0.4/psycopg/config.h 2006-08-25 06:44:48 -0300 +@@ -102,7 +102,7 @@ + #define inline + #endif + +-#if defined(__FreeBSD__) || defined(_WIN32) || defined(__sun__) ++#if defined(_WIN32) || defined(__sun__) + /* what's this, we have no round function either? */ + static double round(double num) + { diff --git a/dev-python/psycopg/psycopg-2.0.4.ebuild b/dev-python/psycopg/psycopg-2.0.4.ebuild index ee8ce7c3efa4..8627f5f7f6d3 100644 --- a/dev-python/psycopg/psycopg-2.0.4.ebuild +++ b/dev-python/psycopg/psycopg-2.0.4.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-python/psycopg/psycopg-2.0.4.ebuild,v 1.2 2006/08/10 21:20:18 liquidx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/psycopg/psycopg-2.0.4.ebuild,v 1.3 2006/08/25 10:05:30 the_paya Exp $ inherit eutils distutils @@ -14,7 +14,7 @@ DEPEND=">=dev-lang/python-2.4 >=dev-db/libpq-7.4" SLOT="2" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" LICENSE="GPL-2" IUSE="debug" @@ -28,6 +28,8 @@ src_unpack() { if use debug; then epatch ${FILESDIR}/${P}-debug.patch fi + # Fixes compilation issue in fbsd. + epatch "${FILESDIR}/${P}-fbsd.patch" } src_install() { |