summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasatomo Nakano <nakano@gentoo.org>2005-05-09 15:29:39 +0000
committerMasatomo Nakano <nakano@gentoo.org>2005-05-09 15:29:39 +0000
commit8af31c468ce8ffc59a08b0811690a7e5dec172c6 (patch)
tree56d5d29c741416016a174fd4971854664d429eef /sys-libs/libnss-pgsql
parentversion bump (diff)
downloadgentoo-2-8af31c468ce8ffc59a08b0811690a7e5dec172c6.tar.gz
gentoo-2-8af31c468ce8ffc59a08b0811690a7e5dec172c6.tar.bz2
gentoo-2-8af31c468ce8ffc59a08b0811690a7e5dec172c6.zip
Fixed libpq header location.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'sys-libs/libnss-pgsql')
-rw-r--r--sys-libs/libnss-pgsql/ChangeLog6
-rw-r--r--sys-libs/libnss-pgsql/files/libnss-pgsql-1.3-gentoo.patch12
-rw-r--r--sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild6
3 files changed, 21 insertions, 3 deletions
diff --git a/sys-libs/libnss-pgsql/ChangeLog b/sys-libs/libnss-pgsql/ChangeLog
index b19b8527f71e..2b33a63e6451 100644
--- a/sys-libs/libnss-pgsql/ChangeLog
+++ b/sys-libs/libnss-pgsql/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-libs/libnss-pgsql
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnss-pgsql/ChangeLog,v 1.2 2005/05/09 00:36:32 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnss-pgsql/ChangeLog,v 1.3 2005/05/09 15:29:39 nakano Exp $
+
+ 09 May 2005; Masatomo Nakano <nakano@gentoo.org>
+ +files/libnss-pgsql-1.3-gentoo.patch, libnss-pgsql-1.3.ebuild:
+ Fixed libpq header location.
*libnss-pgsql-1.3 (09 May 2005)
diff --git a/sys-libs/libnss-pgsql/files/libnss-pgsql-1.3-gentoo.patch b/sys-libs/libnss-pgsql/files/libnss-pgsql-1.3-gentoo.patch
new file mode 100644
index 000000000000..2da817f62afb
--- /dev/null
+++ b/sys-libs/libnss-pgsql/files/libnss-pgsql-1.3-gentoo.patch
@@ -0,0 +1,12 @@
+diff -Nur libnss-pgsql-1.0.0.orig/src/backend.c libnss-pgsql-1.0.0/src/backend.c
+--- libnss-pgsql-1.0.0.orig/src/backend.c 2001-10-18 13:32:52.000000000 +0200
++++ libnss-pgsql-1.0.0/src/backend.c 2003-11-28 16:14:38.000000000 +0100
+@@ -9,7 +9,7 @@
+ */
+
+ #include "nss-pgsql.h"
+-#include <postgresql/libpq-fe.h>
++#include <libpq-fe.h>
+ #include <stdlib.h>
+ #include <string.h>
+ #include <stdio.h>
diff --git a/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild b/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild
index 017d2bef07ec..7c359b6bb860 100644
--- a/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild
+++ b/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild,v 1.1 2005/05/09 00:36:32 nakano Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libnss-pgsql/libnss-pgsql-1.3.ebuild,v 1.2 2005/05/09 15:29:39 nakano Exp $
inherit eutils
@@ -13,11 +13,13 @@ SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="virtual/libc
- dev-db/libpq"
+ dev-db/libpq
+ app-text/xmlto"
src_unpack() {
unpack ${A}
cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
}
src_compile() {