diff options
author | Aron Griffis <agriffis@gentoo.org> | 2003-10-27 03:31:57 +0000 |
---|---|---|
committer | Aron Griffis <agriffis@gentoo.org> | 2003-10-27 03:31:57 +0000 |
commit | adddb68328b88c27c49362b7bd050eb9bad632f5 (patch) | |
tree | 1b099743f21a4c8432269495e9e6d417c0ea369f /dev-libs/elfutils/files | |
parent | *** empty log message *** (diff) | |
download | historical-adddb68328b88c27c49362b7bd050eb9bad632f5.tar.gz historical-adddb68328b88c27c49362b7bd050eb9bad632f5.tar.bz2 historical-adddb68328b88c27c49362b7bd050eb9bad632f5.zip |
fix on alpha
Diffstat (limited to 'dev-libs/elfutils/files')
-rw-r--r-- | dev-libs/elfutils/files/elfutils-0.89-atime.diff | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-libs/elfutils/files/elfutils-0.89-atime.diff b/dev-libs/elfutils/files/elfutils-0.89-atime.diff new file mode 100644 index 000000000000..489eb8a6b107 --- /dev/null +++ b/dev-libs/elfutils/files/elfutils-0.89-atime.diff @@ -0,0 +1,18 @@ +--- elfutils-0.89/src/strip.c.old 2003-10-26 22:08:04.000000000 -0500 ++++ elfutils-0.89/src/strip.c 2003-10-26 22:08:12.000000000 -0500 +@@ -265,8 +265,15 @@ + + /* If we have to preserve the timestamp, we need it in the + format utimes() understands. */ ++#ifndef __alpha + TIMESPEC_TO_TIMEVAL (&tv[0], &pre_st.st_atim); + TIMESPEC_TO_TIMEVAL (&tv[1], &pre_st.st_mtim); ++#else ++ tv[0].tv_sec = pre_st.st_atime; ++ tv[0].tv_usec = 0; ++ tv[1].tv_sec = pre_st.st_mtime; ++ tv[1].tv_usec = 0; ++#endif + } + + /* Open the file. */ |