Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 362404 Details for
Bug 474492
>=net-fs/samba-4.0 automagically depends on sys-apps/dmapi (libdm.so)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
samba-4.1.0-remove-dmapi-automagic.patch
samba-4.1.0-remove-dmapi-automagic.patch (text/plain), 2.75 KB, created by
Andreas Sturmlechner
on 2013-11-01 19:54:27 UTC
(
hide
)
Description:
samba-4.1.0-remove-dmapi-automagic.patch
Filename:
MIME Type:
Creator:
Andreas Sturmlechner
Created:
2013-11-01 19:54:27 UTC
Size:
2.75 KB
patch
obsolete
>--- a/source3/wscript 2013-11-01 20:09:09.989048655 +0100 >+++ b/source3/wscript 2013-11-01 20:10:24.425118075 +0100 >@@ -193,28 +193,29 @@ > elif check_for_fam: > Logs.warn('no suitable FAM library found') > >- # check for DMAPI libs >- Logs.info("Checking for DMAPI library existence") >- conf.env['dmapi_lib'] = '' >- samba_dmapi_lib = '' >- if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'dm'): >- samba_dmapi_lib = 'dm' >- else: >- if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'jfsdm'): >- samba_dmapi_lib = 'jfsdm' >+ if Options.options.with_dmapi == True: >+ # check for DMAPI libs >+ Logs.info("Checking for DMAPI library existence") >+ conf.env['dmapi_lib'] = '' >+ samba_dmapi_lib = '' >+ if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'dm'): >+ samba_dmapi_lib = 'dm' > else: >- if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'dmapi'): >- samba_dmapi_lib = 'dmapi' >+ if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'jfsdm'): >+ samba_dmapi_lib = 'jfsdm' > else: >- if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'xdsm'): >- samba_dmapi_lib = 'xdsm' >- # only bother to test headers and compilation when a candidate >- # library has been found >- if Options.options.with_dmapi == True and samba_dmapi_lib == '': >- conf.fatal('DMAPI support requested, but no suitable DMAPI library found') >- else: >- conf.CHECK_HEADERS('sys/dmi.h xfs/dmapi.h sys/jfsdmapi.h sys/dmapi.h dmapi.h') >- conf.CHECK_CODE(''' >+ if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'dmapi'): >+ samba_dmapi_lib = 'dmapi' >+ else: >+ if conf.CHECK_FUNCS_IN('dm_get_eventlist', 'xdsm'): >+ samba_dmapi_lib = 'xdsm' >+ # only bother to test headers and compilation when a candidate >+ # library has been found >+ if samba_dmapi_lib == '': >+ conf.fatal('DMAPI support requested, but no suitable DMAPI library found') >+ else: >+ conf.CHECK_HEADERS('sys/dmi.h xfs/dmapi.h sys/jfsdmapi.h sys/dmapi.h dmapi.h') >+ conf.CHECK_CODE(''' > #include <time.h> /* needed by Tru64 */ > #include <sys/types.h> /* needed by AIX */ > #ifdef HAVE_XFS_DMAPI_H >@@ -253,8 +254,7 @@ > if conf.CONFIG_SET('USE_DMAPI'): > conf.env['dmapi_lib'] = samba_dmapi_lib > else: >- if Options.options.with_dmapi == True: >- conf.fatal('DMAPI support requested but not found'); >+ conf.fatal('DMAPI support requested but not found'); > > # Check for various members of the stat structure > conf.CHECK_STRUCTURE_MEMBER('struct stat', 'st_blocks', define='HAVE_STAT_ST_BLOCKS',
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 474492
:
351746
|
362404
|
362406
|
362408