r4163 - in glibc-package/branches/eglibc-2.11/debian: . patches/kfreebsd
Author: aurel32
Date: 2010-02-08 22:06:29 +0000 (Mon, 08 Feb 2010)
New Revision: 4163
Modified:
glibc-package/branches/eglibc-2.11/debian/changelog
glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-syscalls_2.11.patch
Log:
Only add the lchflags syscall, chflags and fchflags were already present
Modified: glibc-package/branches/eglibc-2.11/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/changelog 2010-02-08 21:21:38 UTC (rev 4162)
+++ glibc-package/branches/eglibc-2.11/debian/changelog 2010-02-08 22:06:29 UTC (rev 4163)
@@ -46,8 +46,8 @@
* Enable multi-arch.
* Add debian/patches/s390/cvs-longjmp.diff from upstream to
fix ____longjmp_chk on s390 and s390x.
- * Add debian/patches/kfreebsd/local-syscalls_2.11.patch to add chflags,
- fchflags, lchflags syscalls on GNU/kFreeBSD.
+ * Add debian/patches/kfreebsd/local-syscalls_2.11.patch to add the
+ lchflag syscalls on GNU/kFreeBSD.
* Add debian/patches/alpha/local-longjmp-chk.diff and
debian/patches/alpha/cvs-timer_settime.diff to fix FTBFS on alpha.
Modified: glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-syscalls_2.11.patch
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-syscalls_2.11.patch 2010-02-08 21:21:38 UTC (rev 4162)
+++ glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-syscalls_2.11.patch 2010-02-08 22:06:29 UTC (rev 4163)
@@ -7,29 +7,13 @@
sysdep_routines += sys_open sys_openat open_2
# For <sys/stat.h>.
-sysdep_routines += sys_fchmodat sys_fstat sys_fstatat sys_lstat sys_mkdirat sys_mkfifoat sys_mknod sys_mknodat sys_nfstat sys_nlstat sys_nstat sys_stat
-+sysdep_routines += sys_fchmodat sys_fstat sys_fstatat sys_lstat sys_mkdirat sys_mkfifoat sys_mknod sys_mknodat sys_nfstat sys_nlstat sys_nstat sys_stat chflags fchflags lchflags
++sysdep_routines += sys_fchmodat sys_fstat sys_fstatat sys_lstat sys_mkdirat sys_mkfifoat sys_mknod sys_mknodat sys_nfstat sys_nlstat sys_nstat sys_stat lchflags
# For <sys/statfs.h>.
sysdep_routines += fstatfs64 statfs64 sys_fstatfs sys_statfs
# For <stdio.h>
--- a/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/syscalls.list
+++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/syscalls.list
-@@ -15,6 +15,7 @@
- sys_aio_suspend - aio_suspend i:bnP __syscall_aio_suspend
- sys_aio_waitcomplete - aio_waitcomplete i:pp __syscall_aio_waitcomplete
- sys_aio_write - aio_write i:p __syscall_aio_write
-+chflags - chflags i:si chflags
- sys_clock_getres - clock_getres i:ip __syscall_clock_getres
- sys_clock_gettime - clock_gettime i:ip __syscall_clock_gettime
- sys_clock_settime - clock_settime i:ip __syscall_clock_settime
-@@ -23,6 +24,7 @@
- extattr_delete_file - extattr_delete_file i:ss extattr_delete_file
- extattr_get_file - extattr_get_file i:ssbn extattr_get_file
- extattr_set_file - extattr_set_file i:ssbn extattr_set_file
-+fchflags - fchflags i:ii fchflags
- fhopen - fhopen i:pi fhopen
- sys_fork - fork i: __syscall_fork fork
- sys_fhstat - fhstat i:pp __syscall_fhstat
-@@ -57,6 +59,7 @@
+@@ -15,6 +15,7 @@@ -57,6 +59,7 @@
kldunload - kldunload i:i kldunload
kldunloadf - kldunloadf i:ii kldunloadf
ktrace - ktrace i:siii ktrace
@@ -44,7 +28,7 @@
sysctlnametomib;
}
+ GLIBC_2.11 {
-+ chflags; fchflags; lchflags;
++ lchflags;
+ }
GLIBC_PRIVATE {
# needed by libpthread.
Reply to: