Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65825 Details for
Bug 102356
[patch] app-misc/mc-4.6.0-r14 smb-vfs built without LFS support on amd64, 2 segfaults in configure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mc-4.6.0-smb-amd64.patch
mc-4.6.0-smb-amd64.patch (text/plain), 1.41 KB, created by
Holger Thon
on 2005-08-13 05:38:10 UTC
(
hide
)
Description:
mc-4.6.0-smb-amd64.patch
Filename:
MIME Type:
Creator:
Holger Thon
Created:
2005-08-13 05:38:10 UTC
Size:
1.41 KB
patch
obsolete
>diff -urN mc-4.6.0-orig/vfs/smb/configure mc-4.6.0/vfs/smb/configure >--- mc-4.6.0-orig/vfs/smb/configure 2005-08-13 13:00:45.000000000 +0200 >+++ mc-4.6.0/vfs/smb/configure 2005-08-13 13:34:45.000000000 +0200 >@@ -3546,6 +3546,8 @@ > cat >>conftest.$ac_ext <<_ACEOF > /* end confdefs.h. */ > >+#include <stdlib.h> >+#include <string.h> > #include <unistd.h> > #include <sys/utsname.h> > main() { >diff -urN mc-4.6.0-orig/vfs/smb/configure.in mc-4.6.0/vfs/smb/configure.in >--- mc-4.6.0-orig/vfs/smb/configure.in 2005-08-13 13:00:45.000000000 +0200 >+++ mc-4.6.0/vfs/smb/configure.in 2005-08-13 13:34:16.000000000 +0200 >@@ -458,6 +458,8 @@ > old_CPPFLAGS="$CPPFLAGS" > CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS" > AC_TRY_RUN([ >+#include <stdlib.h> >+#include <string.h> > #include <unistd.h> > #include <sys/utsname.h> > main() { >diff -urN mc-4.6.0-orig/vfs/smb/tests/crypttest.c mc-4.6.0/vfs/smb/tests/crypttest.c >--- mc-4.6.0-orig/vfs/smb/tests/crypttest.c 2005-08-13 13:00:45.000000000 +0200 >+++ mc-4.6.0/vfs/smb/tests/crypttest.c 2005-08-13 13:35:23.000000000 +0200 >@@ -803,9 +803,9 @@ > strcpy(passwd, "12345678"); > strcpy(salt, "12345678"); > >- strcpy(c_out1, crypt(passwd, salt)); >+ strcpy(c_out1, (const char *) crypt(passwd, salt)); > salt[2] = '\0'; >- strcpy(c_out2, crypt(passwd, salt)); >+ strcpy(c_out2, (const char *) crypt(passwd, salt)); > > /* > * If the non-trucated salt fails but the
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 102356
: 65825 |
65826
|
73067
|
80298
|
82576