aboutsummaryrefslogtreecommitdiff
path: root/x11/kde4-runtime
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2000-12-01 07:36:07 +0000
committerKevin Lo <kevlo@FreeBSD.org>2000-12-01 07:36:07 +0000
commit54fa8c1be3799734694e019c82378d4a23aec8d6 (patch)
tree8a09efaabe83a8ccf0c2654a44ba67d5473a8f5e /x11/kde4-runtime
parentee1b4beff5b30e60a658601c3317736f072925c2 (diff)
downloadports-54fa8c1be3799734694e019c82378d4a23aec8d6.tar.gz
ports-54fa8c1be3799734694e019c82378d4a23aec8d6.zip
Notes
Diffstat (limited to 'x11/kde4-runtime')
-rw-r--r--x11/kde4-runtime/files/patch-kdeeject12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/kde4-runtime/files/patch-kdeeject b/x11/kde4-runtime/files/patch-kdeeject
new file mode 100644
index 000000000000..38c12b5eafbf
--- /dev/null
+++ b/x11/kde4-runtime/files/patch-kdeeject
@@ -0,0 +1,12 @@
+--- kdesktop/kdeeject.orig Fri Dec 1 15:25:26 2000
++++ kdesktop/kdeeject Fri Dec 1 15:25:33 2000
+@@ -8,7 +8,8 @@
+ # kmessage, to show a message box in case of error.
+ #
+ if [ $# = 1 -a "$1" != "--help" ]; then
+- if eject $1; then
++ dev=`echo $1 | sed -E -e 's#/dev/##' -e 's/([0-9])./\1/'`
++ if cdcontrol -f $dev eject; then
+ # Success -> update icon
+ dcop kdesktop default refreshIcons
+ exit 0