Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 205132 Details for
Bug 285953
postgresql-base-8.4.1 failed to compile
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use pg implementation of strlcpy and strlcat
285953a.patch (text/plain), 1.02 KB, created by
Martin von Gagern
on 2009-09-24 18:09:42 UTC
(
hide
)
Description:
Use pg implementation of strlcpy and strlcat
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2009-09-24 18:09:42 UTC
Size:
1.02 KB
patch
obsolete
>Use postgresql's implementation of strlcpy and strlcat. >http://bugs.gentoo.org/285953 >2009-09-24 Martin von Gagern > >--- /usr/portage/dev-db/postgresql-base/postgresql-base-8.4.1.ebuild 2009-09-10 00:11:26.000000000 +0200 >+++ dev-db/postgresql-base/postgresql-base-8.4.1.ebuild 2009-09-24 20:02:46.000000000 +0200 >@@ -7,7 +7,7 @@ EAPI="1" > WANT_AUTOCONF="latest" > WANT_AUTOMAKE="none" > >-inherit eutils multilib toolchain-funcs versionator autotools >+inherit eutils multilib toolchain-funcs versionator autotools flag-o-matic > > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" > >@@ -66,6 +66,13 @@ src_unpack() { > } > > src_compile() { >+ # Bug #285953: don't use strlcat and friends from kerberos or similar >+ local func >+ for func in strlcat strlcpy; do >+ eval "export ac_cv_func_${func}=no" >+ append-cppflags -D${func}=pg_${func} >+ done >+ > econf --prefix=/usr/$(get_libdir)/postgresql-${SLOT} \ > --datadir=/usr/share/postgresql-${SLOT} \ > --docdir=/usr/share/doc/postgresql-${SLOT} \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 285953
:
204985
|
204987
| 205132 |
214023
|
214024