summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy/celestia/files/celestia-1.5.1-kde-3.5.patch')
-rw-r--r--sci-astronomy/celestia/files/celestia-1.5.1-kde-3.5.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sci-astronomy/celestia/files/celestia-1.5.1-kde-3.5.patch b/sci-astronomy/celestia/files/celestia-1.5.1-kde-3.5.patch
new file mode 100644
index 000000000000..472e78e711d6
--- /dev/null
+++ b/sci-astronomy/celestia/files/celestia-1.5.1-kde-3.5.patch
@@ -0,0 +1,23 @@
+diff -Naur celestia-1.5.1/acinclude.m4 celestia-1.5.1.new/acinclude.m4
+--- celestia-1.5.1/acinclude.m4 2008-04-23 17:18:48.000000000 -0400
++++ celestia-1.5.1.new/acinclude.m4 2008-11-05 08:52:30.000000000 -0500
+@@ -1629,8 +1629,8 @@
+ AC_MSG_CHECKING([for KDE])
+
+ if test "${prefix}" != NONE; then
+- kde_includes=${prefix}/include
+- ac_kde_includes=$prefix/include
++ kde_includes=${prefix}/kde/3.5/include
++ ac_kde_includes=$prefix/kde/3.5/include
+
+ if test "${exec_prefix}" != NONE; then
+ kde_libraries=${libdir}
+@@ -1662,7 +1662,7 @@
+
+ if test -z "$1"; then
+
+-kde_incdirs="/usr/lib/kde/include /usr/local/kde/include /usr/local/include /usr/kde/include /usr/include/kde /usr/include /opt/kde3/include /opt/kde/include $x_includes $qt_includes"
++kde_incdirs="/usr/kde/3.5/include $x_includes $qt_includes"
+ test -n "$KDEDIR" && kde_incdirs="$KDEDIR/include $KDEDIR/include/kde $KDEDIR $kde_incdirs"
+ kde_incdirs="$ac_kde_includes $kde_incdirs"
+ AC_FIND_FILE($kde_check_header, $kde_incdirs, kde_incdir)