summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-base/kdebase/files/startkde-3.0.2-gentoo.diff42
-rw-r--r--kde-base/kdemultimedia/files/kdemultimedia-3.0.2-gentoo-timidity.diff21
2 files changed, 63 insertions, 0 deletions
diff --git a/kde-base/kdebase/files/startkde-3.0.2-gentoo.diff b/kde-base/kdebase/files/startkde-3.0.2-gentoo.diff
new file mode 100644
index 000000000000..178e9e48c384
--- /dev/null
+++ b/kde-base/kdebase/files/startkde-3.0.2-gentoo.diff
@@ -0,0 +1,42 @@
+--- startkde.orig Wed May 15 15:01:19 2002
++++ startkde Wed May 15 15:07:02 2002
+@@ -1,8 +1,20 @@
+-#!/bin/sh
++#!/bin/sh --login
+ #
+-# DEFAULT KDE STARTUP SCRIPT ( KDE-3.0.1 )
++# Gentoo KDE Startup Script ( KDE-3.0.1 )
+ #
+
++# Gentoo part:
++export PATH="_KDEDIR_/bin:${PATH}"
++export KDEDIR="_KDEDIR_"
++export KDEDIRS="_KDEDIR_:${KDEDIRS}"
++export KDEMAINDIR="_KDEDIR_"
++rm -rf ~/.kde
++ln -fs ~/.kde3 ~/.kde
++[ -e "~/.kde3" ] || mkdir ~/.kde3
++
++
++# Original KDE part:
++
+ # Boot sequence:
+ #
+ # kdeinit is used to fork off processes which improves memory usage
+@@ -30,14 +42,14 @@
+ # people's heads. We use colours from the standard KDE palette for those with
+ # palettised displays.
+
+-test "$XDM_MANAGED" || bkg="-solid #C0C0C0"
++test "$XDM_MANAGED" || bkg="-solid #5477A0"
+ xsetroot -cursor_name left_ptr $bkg
+
+ # The user's personal KDE directory is usually ~/.kde, but this setting
+ # may be overridden by setting KDEHOME.
+
+ kdehome=$HOME/.kde
+-test -n "$KDEHOME" && kdehome=`echo "$KDEHOME"|sed "s,^\~/,$HOME/,"`
++test -n "$KDEHOME" && eval kdehome=$KDEHOME
+
+ # Activate the kde font directories.
+ #
diff --git a/kde-base/kdemultimedia/files/kdemultimedia-3.0.2-gentoo-timidity.diff b/kde-base/kdemultimedia/files/kdemultimedia-3.0.2-gentoo-timidity.diff
new file mode 100644
index 000000000000..f392a244212e
--- /dev/null
+++ b/kde-base/kdemultimedia/files/kdemultimedia-3.0.2-gentoo-timidity.diff
@@ -0,0 +1,21 @@
+diff -ru kdemultimedia-2.2.1.orig/kmidi/TIMIDITY/motif_p.c kdemultimedia-2.2.1/kmidi/TIMIDITY/motif_p.c
+--- kmidi/TIMIDITY/motif_p.c Mon Feb 28 19:07:37 2000
++++ kmidi/TIMIDITY/motif_p.c Fri Oct 19 04:00:10 2001
+@@ -22,6 +22,7 @@
+ pipe communication between motif interface and sound generator
+
+ */
++#include <sys/errno.h>
+ #ifdef IA_MOTIF
+
+ #include <stdio.h>
+--- kmidi/TIMIDITY/tk_c.c 2002-04-04 21:15:35.000000000 -0600
++++ kmidi/TIMIDITY/tk_c.c 2002-04-04 21:17:06.000000000 -0600
+@@ -12,6 +12,7 @@
+ *================================================================*/
+ #ifdef TCLTK
+
++#include <sys/errno.h>
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <unistd.h>