Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 95800 Details for
Bug 24213
sys-auth/pam_mount (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
pam_mount-0.17-visibility.patch
pam_mount-0.17-visibility.patch (text/plain), 2.13 KB, created by
postmodern
on 2006-09-02 17:47:13 UTC
(
hide
)
Description:
pam_mount-0.17-visibility.patch
Filename:
MIME Type:
Creator:
postmodern
Created:
2006-09-02 17:47:13 UTC
Size:
2.13 KB
patch
obsolete
>--- src/compiler.h (revision 113) >+++ src/compiler.h (revision 114) >@@ -26,7 +26,9 @@ > extern "C" { > #endif > >-#if defined(__GNUC__) && __GNUC__ >= 4 >+#include <config.h> >+ >+#ifdef HAVE_VISIBILITY_HIDDEN > # define EXPORT_SYMBOL __attribute__((visibility("default"))) > #else > # define EXPORT_SYMBOL >--- src/Makefile.am (revision 113) >+++ src/Makefile.am (revision 114) >@@ -36,7 +36,11 @@ > > INCLUDES = -I$(srcdir)/../include > >-AM_CFLAGS = $(GLIB_CFLAGS) -DG_DISABLE_DEPRECATED -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline -pipe $(FVISIBILITY) >+AM_CFLAGS = $(GLIB_CFLAGS) -DG_DISABLE_DEPRECATED \ >+ -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 \ >+ -D_REENTRANT -Wall -Waggregate-return -Wmissing-declarations \ >+ -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes \ >+ -Winline -pipe @GCC_FVISIBILITY_HIDDEN@ > > install-data-hook: > ( \ >--- configure.ac (revision 113) >+++ configure.ac (revision 114) >@@ -48,20 +48,30 @@ > AC_PROG_CC > > # GCC 4.x -fvisibility=hidden { >-FVISIBILITY="" >+AC_DEFUN([CHECK_GCC_FVISIBILITY], >+[ > AC_LANG_PUSH(C) >-saved_cflags="$CFLAGS" >-CFLAGS="$CFLAGS -fvisibility=hidden" >-AC_CACHE_CHECK([whether $CC supports -fvisibility=hidden], [ac_cv_gcc_fvis], >- [AC_COMPILE_IFELSE([ ], [ac_cv_gcc_fvis=yes], [ac_cv_gcc_fvis=no])]) >-CFLAGS="$saved_cflags" >-if test "$ac_cv_gcc_fvis" = yes; then >- FVISIBILITY="-fvisibility=hidden" >-else >- FVISIBILITY="" >+saved_CFLAGS="$CFLAGS" >+CFLAGS="$saved_CFLAGS -fvisibility=hidden" >+AC_CACHE_CHECK([whether compiler accepts -fvisibility=hidden], >+[cv_fvisibility_hidden], >+ AC_COMPILE_IFELSE( >+ AC_LANG_PROGRAM( >+ [], >+ []), >+ [cv_fvisibility_hidden=yes], >+ [cv_fvisibility_hidden=no] >+ ) >+) >+if test "$cv_fvisibility_hidden" = "yes"; then >+AC_DEFINE(HAVE_VISIBILITY_HIDDEN, [], >+ [True if compiler supports -fvisibility=hidden]) >+AC_SUBST(GCC_FVISIBILITY_HIDDEN, [-fvisibility=hidden]) > fi >-AC_SUBST(FVISIBILITY) >+CFLAGS="$saved_CFLAGS" > AC_LANG_POP(C) >+])dnl >+CHECK_GCC_FVISIBILITY() > # } > > AC_PROG_INSTALL
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 24213
:
21301
|
22230
|
22231
|
22232
|
24578
|
33293
|
37524
|
41525
|
41526
|
48462
|
48463
|
48486
|
49305
|
51530
|
51582
|
57980
|
64090
|
75487
|
75599
|
75777
|
75904
|
78138
|
78170
|
78181
|
78182
|
84836
|
91625
|
91626
|
93975
|
93976
|
95798
|
95800
|
112458
|
112460
|
115329