Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131309 Details for
Bug 176050
net-fs/openafs-1.4.4 for sparc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch attempting to fix the gpl syscall problem
openafs-sparc.patch (text/plain), 1.53 KB, created by
Stefaan De Roeck (RETIRED)
on 2007-09-19 16:22:46 UTC
(
hide
)
Description:
Patch attempting to fix the gpl syscall problem
Filename:
MIME Type:
Creator:
Stefaan De Roeck (RETIRED)
Created:
2007-09-19 16:22:46 UTC
Size:
1.53 KB
patch
obsolete
>From http://www.openafs.org/pipermail/openafs-devel/2007-February/014914.html > >--- openafs-1.4.4/src/afs/LINUX/osi_probe.c.old 2007-09-19 18:15:09.000000000 +0200 >+++ openafs-1.4.4/src/afs/LINUX/osi_probe.c 2007-09-19 18:16:53.000000000 +0200 >@@ -228,7 +228,9 @@ > ) __attribute__((weak)); > #endif > >+#ifdef LINUX_EXPORTS_SYS_CALL_TABLE > extern SYSCALLTYPE sys_call_table[] __attribute__((weak)); >+#endif > extern SYSCALLTYPE ia32_sys_call_table[] __attribute__((weak)); > extern SYSCALLTYPE sys_call_table32[] __attribute__((weak)); > extern SYSCALLTYPE sys_call_table_emu[] __attribute__((weak)); >@@ -505,7 +507,11 @@ > 0, > #endif > >- sys_call_table, /* weak symbol ref */ >+#ifdef LINUX_EXPORTS_SYS_CALL_TABLE >+ sys_call_table, /* weak symbol ref */ >+#else >+ 0, >+#endif > 0, 0, /* module parameter answers */ > #ifdef AFS_LINUX_sys_call_table > AFS_LINUX_sys_call_table, /* compiled-in answer, if any */ >--- openafs-1.4.4/src/cf/linux-test4.m4.old 2007-09-19 18:16:49.000000000 +0200 >+++ openafs-1.4.4/src/cf/linux-test4.m4 2007-09-19 18:16:53.000000000 +0200 >@@ -111,9 +111,9 @@ > AC_CACHE_VAL([ac_cv_linux_exports_sys_call_table], [ > AC_TRY_KBUILD( > [#include <linux/modversions.h>], >-[#ifndef __ver_sys_call_table >-#error sys_call_table not exported >-#endif], >+[ >+extern SYSCALLTYPE sys_call_table[] __attribute__((weak)); >+], > ac_cv_linux_exports_sys_call_table=yes, > ac_cv_linux_exports_sys_call_table=no)]) > AC_MSG_RESULT($ac_cv_linux_exports_sys_call_table)])
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 176050
:
117280
|
117281
|
117282
|
117283
|
117463
|
117465
|
117712
| 131309 |
134841
|
134845