Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 355852 Details for
Bug 480850
=dev-libs/glib-2.36.* has a buggy check for presence of fallocate on alpha/glibc-2.15
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for glib-2.36.3
glib_2.36.3_configure_fallocate.patch (text/plain), 1.96 KB, created by
Tobias Klausmann (RETIRED)
on 2013-08-13 08:32:33 UTC
(
hide
)
Description:
Patch for glib-2.36.3
Filename:
MIME Type:
Creator:
Tobias Klausmann (RETIRED)
Created:
2013-08-13 08:32:33 UTC
Size:
1.96 KB
patch
obsolete
>--- a/dev-libs/glib/glib-2.36.3-r2.ebuild 11 Aug 2013 20:42:09 -0000 >+++ b/dev-libs/glib/glib-2.36.3-r2.ebuild 12 Aug 2013 20:31:34 -0000 >@@ -140,6 +140,8 @@ > # Revert "g_file_set_contents(): don't fsync on ext3/4" (from 2.36 branch) > epatch "${FILESDIR}/${P}-revert-ext34.patch" > >+ epatch "${FILESDIR}"/${P}-fix-fallocate-config.patch >+ > epatch_user > > # Needed for the punt-python-check patch, disabling timeout test >--- /dev/null 2013-08-01 17:25:28.310890105 -0400 >+++ b/dev-libs/glib/files/glib-2.36.3-fix-fallocate-config.patch 2013-08-12 16:00:20.000000000 -0400 >@@ -0,0 +1,32 @@ >+--- a/configure.ac 2013-08-12 12:27:28.089113116 -0400 >++++ b/configure.ac 2013-08-12 12:27:17.150112916 -0400 >+@@ -992,7 +992,28 @@ >+ # Check for some functions >+ AC_CHECK_FUNCS(lstat strerror strsignal memmove vsnprintf stpcpy strcasecmp strncasecmp poll getcwd vasprintf setenv unsetenv getc_unlocked readlink symlink fdwalk memmem) >+ AC_CHECK_FUNCS(chown lchmod lchown fchmod fchown link utimes getgrgid getpwuid getresuid) >+-AC_CHECK_FUNCS(getmntent_r setmntent endmntent hasmntopt getfsstat getvfsstat fallocate) >++AC_CHECK_FUNCS(getmntent_r setmntent endmntent hasmntopt getfsstat getvfsstat) >++ >++# Check for fallocate based on existence in headers >++AC_MSG_CHECKING([for function fallocate in fcntl.h]) >++dnl This is necessary because glibc may provide the symbol even though it is not declared >++glib_save_CFLAGS="$CFLAGS" >++CFLAGS="$CFLAGS -Wimplicit-function-declaration" >++GLIB_CHECK_COMPILE_WARNINGS([AC_LANG_SOURCE([[ >++#if defined(_AIX) && !defined(__GNUC__) >++#pragma options langlvl=stdc89 >++#endif >++#include <fcntl.h> >++int main (void) >++{ >++ return fallocate(0,0,0,0); >++} >++]])],[ >++ AC_DEFINE([HAVE_FALLOCATE],[1],[Define if fallocate exists]) >++ have_fallocate_in_fnctl="yes"],[have_fallocate_in_fnctl="no"]) >++CFLAGS="$glib_save_CFLAGS" >++AC_MSG_RESULT([$have_fallocate_in_fnctl]) >++ >+ # Check for high-resolution sleep functions >+ AC_CHECK_FUNCS(splice) >+ AC_CHECK_FUNCS(prlimit)
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 480850
: 355852