diff options
author | Stefan Jones <cretin@gentoo.org> | 2003-09-01 20:35:35 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2003-09-01 20:35:35 +0000 |
commit | 7744625468d6c8d146c4e037a5ad5007f88a0320 (patch) | |
tree | 037098ef854f8d4d8d84327a0d7a31df992a2b69 /dev-libs/elfutils/files | |
parent | Initial import (diff) | |
download | gentoo-2-7744625468d6c8d146c4e037a5ad5007f88a0320.tar.gz gentoo-2-7744625468d6c8d146c4e037a5ad5007f88a0320.tar.bz2 gentoo-2-7744625468d6c8d146c4e037a5ad5007f88a0320.zip |
fix bug 27372, compile on alpha, and up to >=glibc-2.3.2
Diffstat (limited to 'dev-libs/elfutils/files')
-rw-r--r-- | dev-libs/elfutils/files/elfutils-0.84-atime.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/elfutils/files/elfutils-0.84-atime.diff b/dev-libs/elfutils/files/elfutils-0.84-atime.diff new file mode 100644 index 000000000000..e01de380fb5f --- /dev/null +++ b/dev-libs/elfutils/files/elfutils-0.84-atime.diff @@ -0,0 +1,18 @@ +--- elfutils-0.84/src/strip.c.jj 2003-09-01 21:26:01.969396280 +0100 ++++ elfutils-0.84/src/strip.c 2003-09-01 21:26:11.984873696 +0100 +@@ -271,8 +271,15 @@ + format utimes() understands. */ + struct timeval tv[2]; + ++/* + TIMESPEC_TO_TIMEVAL (&tv[0], &st.st_atim); + TIMESPEC_TO_TIMEVAL (&tv[1], &st.st_mtim); ++ */ ++ ++ tv[0].tv_sec = st.st_atime; ++ tv[0].tv_usec = 0; ++ tv[1].tv_sec = st.st_mtime; ++ tv[1].tv_usec = 0; + + int result = handle_elf (fd, elf, NULL, fname, + st.st_mode & ACCESSPERMS, |