Author: sthibault
Date: 2015-03-08 16:58:05 +0000 (Sun, 08 Mar 2015)
New Revision: 6370

Modified:
   glibc-package/trunk/debian/patches/hurd-i386/cvs-libpthread-dlopen.diff
Log:
hurd: Fix static link of programs using pthread

Modified: 
glibc-package/trunk/debian/patches/hurd-i386/cvs-libpthread-dlopen.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/cvs-libpthread-dlopen.diff     
2015-03-08 11:01:33 UTC (rev 6369)
+++ glibc-package/trunk/debian/patches/hurd-i386/cvs-libpthread-dlopen.diff     
2015-03-08 16:58:05 UTC (rev 6370)
@@ -411,7 +411,7 @@
 +  __libc_ptf_call (_IO_flockfile, (stream), 0);
 +#endif
 +}
-+strong_alias (__flockfile, _IO_flockfile)
++weak_alias (__flockfile, _IO_flockfile)
 +weak_alias (__flockfile, flockfile)
 diff --git a/libpthread/sysdeps/pthread/ftrylockfile.c 
b/libpthread/sysdeps/pthread/ftrylockfile.c
 new file mode 100644
@@ -453,7 +453,7 @@
 +  return 0;
 +#endif
 +}
-+strong_alias (__ftrylockfile, _IO_ftrylockfile)
++weak_alias (__ftrylockfile, _IO_ftrylockfile)
 +weak_alias (__ftrylockfile, ftrylockfile)
 diff --git a/libpthread/sysdeps/pthread/funlockfile.c 
b/libpthread/sysdeps/pthread/funlockfile.c
 new file mode 100644
@@ -493,5 +493,5 @@
 +  __libc_ptf_call (_IO_funlockfile, (stream), 0);
 +#endif
 +}
-+strong_alias (__funlockfile, _IO_funlockfile)
++weak_alias (__funlockfile, _IO_funlockfile)
 +weak_alias (__funlockfile, funlockfile)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: https://lists.debian.org/[email protected]

Reply via email to