[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

r4151 - in glibc-package/branches/eglibc-2.11/debian: . patches patches/kfreebsd



Author: aurel32
Date: 2010-02-07 16:59:29 +0000 (Sun, 07 Feb 2010)
New Revision: 4151

Added:
   glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-syscalls_2.11.patch
Modified:
   glibc-package/branches/eglibc-2.11/debian/changelog
   glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-amd64
   glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-i386
Log:
  * Add debian/patches/kfreebsd/local-syscalls_2.11.patch to add chflags, 
    fchflags, lchflags syscalls on GNU/kFreeBSD.



Modified: glibc-package/branches/eglibc-2.11/debian/changelog
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/changelog	2010-02-07 16:43:28 UTC (rev 4150)
+++ glibc-package/branches/eglibc-2.11/debian/changelog	2010-02-07 16:59:29 UTC (rev 4151)
@@ -45,6 +45,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.
 
   [ Samuel Thibault ]
   * debian/patches/hurd-i386/submitted-rtld_lock_recursive.diff: New patch to
@@ -61,7 +63,7 @@
   * Add kfreebsd/local-dosavesse.diff, which does not work,
     so rather use also added kfreebsd/local-nosavesse.diff
 
- -- Clint Adams <schizo@debian.org>  Sat, 30 Jan 2010 14:29:37 -0500
+ -- Aurelien Jarno <aurel32@debian.org>  Sun, 07 Feb 2010 17:58:42 +0100
 
 eglibc (2.10.2-6) UNRELEASED; urgency=low
 

Added: 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	                        (rev 0)
+++ glibc-package/branches/eglibc-2.11/debian/patches/kfreebsd/local-syscalls_2.11.patch	2010-02-07 16:59:29 UTC (rev 4151)
@@ -0,0 +1,51 @@
+To be merged in the kfreebsd/ directory when 2.11 is the default
+
+--- a/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Makefile
+--- b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Makefile
+@@ -36,7 +36,7 @@
+ # For <fcntl.h>.
+ 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
+ # 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 @@
+ kldunload		-	kldunload		i:i		kldunload
+ kldunloadf		-	kldunloadf		i:ii		kldunloadf
+ ktrace			-	ktrace			i:siii		ktrace
++lchflags		-	lchflags		i:si		lchflags
+ lchmod			-	lchmod			i:si		__lchmod lchmod
+ lchown			-	lchown			i:sii		__lchown lchown
+ sys_lio_listio		-	lio_listio		i:ibnP		__syscall_lio_listio
+--- a/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions
++++ b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions
+@@ -87,6 +87,9 @@
+     kenv;
+     sysctlnametomib;
+   }
++  GLIBC_2.11 {
++    chflags; fchflags; lchflags;
++  }
+   GLIBC_PRIVATE {
+     # needed by libpthread.
+     __clone; __libc_fork; __libc_sigaction;

Modified: glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-amd64
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-amd64	2010-02-07 16:43:28 UTC (rev 4150)
+++ glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-amd64	2010-02-07 16:59:29 UTC (rev 4151)
@@ -9,3 +9,4 @@
 kfreebsd/local-sys_queue_h.diff
 kfreebsd/local-sysdeps.diff
 kfreebsd/local-undef-glibc.diff
+kfreebsd/local-syscalls_2.11.patch

Modified: glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-i386
===================================================================
--- glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-i386	2010-02-07 16:43:28 UTC (rev 4150)
+++ glibc-package/branches/eglibc-2.11/debian/patches/series.kfreebsd-i386	2010-02-07 16:59:29 UTC (rev 4151)
@@ -9,3 +9,4 @@
 kfreebsd/local-sys_queue_h.diff
 kfreebsd/local-sysdeps.diff
 kfreebsd/local-undef-glibc.diff
+kfreebsd/local-syscalls_2.11.patch


Reply to: