summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/fbida/files/fbida-2.03-fbgs.patch')
-rw-r--r--media-gfx/fbida/files/fbida-2.03-fbgs.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-gfx/fbida/files/fbida-2.03-fbgs.patch b/media-gfx/fbida/files/fbida-2.03-fbgs.patch
new file mode 100644
index 000000000000..f0c95fb24fa0
--- /dev/null
+++ b/media-gfx/fbida/files/fbida-2.03-fbgs.patch
@@ -0,0 +1,14 @@
+diff -Naurp fbida-2.03-orig/fbgs fbida-2.03/fbgs
+--- fbida-2.03-orig/fbgs 2006-04-15 22:40:55.000000000 +0200
++++ fbida-2.03/fbgs 2006-04-15 22:41:56.000000000 +0200
+@@ -1,8 +1,8 @@
+ #!/bin/bash
+
+ # tmp dir
+-DIR="${TMPDIR-/var/tmp}/fbps-$$"
+-mkdir -p $DIR || exit 1
++DIR=`mktemp -dtp /tmp fbgs-XXXXXX`
++[ -d $DIR ] || exit 1
+ trap "rm -rf $DIR" EXIT
+
+ # parse options