Author: gotom Date: 2004-12-15 03:48:51 -0700 (Wed, 15 Dec 2004) New Revision: 843
Added: glibc-package/trunk/debian/patches/hppa-drop-utimes.dpatch Modified: glibc-package/trunk/debian/changelog glibc-package/trunk/debian/patches/00list Log: - debian/patches/hppa-drop-utimes.dpatch: Fix sudo breakage because system call utimes() is not defined on hppa. Patched by Randolph Chung <[EMAIL PROTECTED]>. (Closes: #284449) Modified: glibc-package/trunk/debian/changelog =================================================================== --- glibc-package/trunk/debian/changelog 2004-12-14 23:55:59 UTC (rev 842) +++ glibc-package/trunk/debian/changelog 2004-12-15 10:48:51 UTC (rev 843) @@ -1,3 +1,13 @@ +glibc (2.3.2.ds1-20) unstable; urgency=high + + * GOTO Masanori <[EMAIL PROTECTED]> + + - debian/patches/hppa-drop-utimes.dpatch: Fix sudo breakage because + system call utimes() is not defined on hppa. Patched by Randolph Chung + <[EMAIL PROTECTED]>. (Closes: #284449) + + -- GOTO Masanori <[EMAIL PROTECTED]> Wed, 15 Dec 2004 19:44:47 +0900 + glibc (2.3.2.ds1-19) unstable; urgency=high * GOTO Masanori <[EMAIL PROTECTED]> Modified: glibc-package/trunk/debian/patches/00list =================================================================== --- glibc-package/trunk/debian/patches/00list 2004-12-14 23:55:59 UTC (rev 842) +++ glibc-package/trunk/debian/patches/00list 2004-12-15 10:48:51 UTC (rev 843) @@ -115,3 +115,4 @@ glibc232-ia64-unwindinfo s390-pthread-fpic nptl-pthread-c++ +hppa-drop-utimes Added: glibc-package/trunk/debian/patches/hppa-drop-utimes.dpatch =================================================================== --- glibc-package/trunk/debian/patches/hppa-drop-utimes.dpatch 2004-12-14 23:55:59 UTC (rev 842) +++ glibc-package/trunk/debian/patches/hppa-drop-utimes.dpatch 2004-12-15 10:48:51 UTC (rev 843) @@ -0,0 +1,42 @@ +#! /bin/sh -e + +# All lines beginning with `# DP:' are a description of the patch. +# DP: Description: Don't define __ASSUME_UTIMES for hppa +# DP: Related bugs: #284449 +# DP: Dpatch author: Randolph Chung <[EMAIL PROTECTED]> +# DP: Patch author: Randolph Chung <[EMAIL PROTECTED]> +# DP: Upstream status: Pending +# DP: Status Details: +# DP: Date: Thu, 09 Dec 2004 12:01:12 -0800 + + +if [ $# -ne 2 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;; + -unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +2004-12-09 Randolph Chung <[EMAIL PROTECTED]> + + * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Don't + define for hppa, which doesn't support this syscall. + +--- glibc-2.3.2/sysdeps/unix/sysv/linux/kernel-features.h.orig 2004-12-09 11:59:32.138873056 -0800 ++++ glibc-2.3.2/sysdeps/unix/sysv/linux/kernel-features.h 2004-12-09 11:59:49.386251056 -0800 +@@ -351,7 +351,7 @@ + + /* The utimes syscall has been available for some architectures + forever. For x86 it was introduced after 2.5.75. */ +-#if defined __alpha__ || defined __ia64__ || defined __hppa__ \ ++#if defined __alpha__ || defined __ia64__ \ + || defined __sparc__ \ + || (__LINUX_KERNEL_VERSION > 132427 && defined __i386__) + # define __ASSUME_UTIMES 1 + -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]