diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-06-16 04:25:50 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-06-16 04:25:50 +0000 |
commit | fa60e15535fe7bb0ffbdf70c0ba214ef98daba88 (patch) | |
tree | d9ba08d8ce04871a5ef9fdcef851bf756bba327d /sys-apps/eject | |
parent | - added cacti-0.8.6e but masked by request. (diff) | |
download | gentoo-2-fa60e15535fe7bb0ffbdf70c0ba214ef98daba88.tar.gz gentoo-2-fa60e15535fe7bb0ffbdf70c0ba214ef98daba88.tar.bz2 gentoo-2-fa60e15535fe7bb0ffbdf70c0ba214ef98daba88.zip |
allow patch to compile with gcc2 #96191
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-apps/eject')
-rw-r--r-- | sys-apps/eject/files/eject-2.0.13-toggle.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/eject/files/eject-2.0.13-toggle.patch b/sys-apps/eject/files/eject-2.0.13-toggle.patch index d095fad57e5c..a454130218aa 100644 --- a/sys-apps/eject/files/eject-2.0.13-toggle.patch +++ b/sys-apps/eject/files/eject-2.0.13-toggle.patch @@ -81,10 +81,10 @@ or the 4th and 5th hunks will fail. + /* handle -T option */ + if (T_option) { ++ struct timeval tv, tv2; + if (v_option) + printf(_("%s: trying to eject\n"), programName); + fd = OpenDevice(deviceName); -+ struct timeval tv, tv2; + gettimeofday(&tv, NULL); + EjectCdrom(fd); + gettimeofday(&tv2, NULL); |