diff options
Diffstat (limited to 'sys-apps/eject/files/eject-2.1.0-toggle.patch')
-rw-r--r-- | sys-apps/eject/files/eject-2.1.0-toggle.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/sys-apps/eject/files/eject-2.1.0-toggle.patch b/sys-apps/eject/files/eject-2.1.0-toggle.patch deleted file mode 100644 index 857622cd9a6a..000000000000 --- a/sys-apps/eject/files/eject-2.1.0-toggle.patch +++ /dev/null @@ -1,40 +0,0 @@ -Patch by Stuart W. Finlayson - -http://bugs.gentoo.org/122256 - ---- eject.c -+++ eject.c -@@ -1028,16 +1028,6 @@ - exit(0); - } - -- /* handle -T option */ -- if (T_option) { -- if (v_option) -- printf(_("%s: toggling tray\n"), programName); -- fd = OpenDevice(deviceName); -- ToggleTray(fd); -- HandleXOption(deviceName); -- exit(0); -- } -- - /* handle -x option only */ - if (!c_option) HandleXOption(deviceName); - -@@ -1054,6 +1044,16 @@ - if ((m_option != 1) && (pattern != 0)) - UnmountDevices(pattern); - -+ /* handle -T option */ -+ if (T_option) { -+ if (v_option) -+ printf(_("%s: toggling tray\n"), programName); -+ fd = OpenDevice(deviceName); -+ ToggleTray(fd); -+ HandleXOption(deviceName); -+ exit(0); -+ } -+ - /* handle -c option */ - if (c_option) { - if (v_option) |