Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 337202 Details for
Bug 454504
>=media-sound/mpg123-1.14.4 x32 ABI built with wrong LFS alias
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix configure/configure.ac to pick up lfs-alias from sizeof(off_t) instead of sizeof(long)
mpg123-x32.patch (text/plain), 1.15 KB, created by
camper
on 2013-01-29 10:22:35 UTC
(
hide
)
Description:
fix configure/configure.ac to pick up lfs-alias from sizeof(off_t) instead of sizeof(long)
Filename:
MIME Type:
Creator:
camper
Created:
2013-01-29 10:22:35 UTC
Size:
1.15 KB
patch
obsolete
>--- a/configure.ac >+++ b/configure.ac >@@ -916,7 +916,10 @@ > > # The alias functions want to know the native off_t bits. > # "Native" also means large file offsets, if enabled, it's what is native to the mpg123 library. >-if test "x$ac_cv_sizeof_long" = "x"; then >+if test "x$ac_cv_sizeof_off_t" != "x"; then >+ LFS_ALIAS_BITS=`expr "$ac_cv_sizeof_off_t" "*" "8"` >+ AC_DEFINE_UNQUOTED([LFS_ALIAS_BITS], $LFS_ALIAS_BITS, >+elif test "x$ac_cv_sizeof_long" = "x"; then > AC_MSG_ERROR([Cannot determine sizeof(long)?]) > else > LFS_ALIAS_BITS=`expr "$ac_cv_sizeof_long" "*" "8"` >--- a/configure >+++ b/configure >@@ -14836,7 +14836,14 @@ > > # The alias functions want to know the native off_t bits. > # "Native" also means large file offsets, if enabled, it's what is native to the mpg123 library. >-if test "x$ac_cv_sizeof_long" = "x"; then >+if test "x$ac_cv_sizeof_off_t" != "x"; then >+ LFS_ALIAS_BITS=`expr "$ac_cv_sizeof_off_t" "*" "8"` >+ >+cat >>confdefs.h <<_ACEOF >+#define LFS_ALIAS_BITS $LFS_ALIAS_BITS >+_ACEOF >+ >+elif test "x$ac_cv_sizeof_long" = "x"; then > as_fn_error $? "Cannot determine sizeof(long)?" "$LINENO" 5 > else > LFS_ALIAS_BITS=`expr "$ac_cv_sizeof_long" "*" "8"`
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 454504
: 337202