summaryrefslogtreecommitdiffstats
path: root/patches/blackbox-0.70.1
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2006-02-27 22:19:51 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2006-02-27 22:19:51 +0000
commitfbf6049c43aab01c538e8ee4516fa40966721034 (patch)
tree6eeb92d148facecfa6fef287b6f3405db962e6ae /patches/blackbox-0.70.1
parente1bc9962d822abd31d5e9178b1e5b753bde11e53 (diff)
downloadptxdist-fbf6049c43aab01c538e8ee4516fa40966721034.tar.gz
ptxdist-fbf6049c43aab01c538e8ee4516fa40966721034.tar.xz
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-0.10-trunk@4797 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches/blackbox-0.70.1')
-rw-r--r--patches/blackbox-0.70.1/generic/blackbox-0.70.1-cppflags.diff41
1 files changed, 41 insertions, 0 deletions
diff --git a/patches/blackbox-0.70.1/generic/blackbox-0.70.1-cppflags.diff b/patches/blackbox-0.70.1/generic/blackbox-0.70.1-cppflags.diff
new file mode 100644
index 000000000..2efb911f4
--- /dev/null
+++ b/patches/blackbox-0.70.1/generic/blackbox-0.70.1-cppflags.diff
@@ -0,0 +1,41 @@
+#
+# Submitted-By: Robert Schwebel, 2006-02-27
+# Committed-By: Robert Schwebel
+#
+# Error:
+#
+# Unspecified include paths are leaking in.
+#
+# Description:
+#
+# I'm not sure how somebody can invent such a braindamaged mechanism...
+# Note: prefix is specifying the run path, which isn't necessarily the
+# install path.
+#
+# State:
+#
+# Make configure.ac patch for upstream (not done yet).
+#
+
+diff -urN blackbox-0.70.1/configure blackbox-0.70.1-ptx/configure
+--- blackbox-0.70.1/configure 2005-11-03 09:27:16.000000000 +0100
++++ blackbox-0.70.1-ptx/configure 2006-02-27 20:06:54.000000000 +0100
+@@ -1980,12 +1980,12 @@
+
+ test "x$prefix" = "xNONE" && prefix="$ac_default_prefix"
+
+-CPPFLAGS="$CPPFLAGS -I$prefix/include"
+-LDFLAGS="$LDFLAGS -L$prefix/lib"
+-if test "x$prefix" != "x/usr/local"; then
+- CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+- LDFLAGS="$LDFLAGS -L/usr/local/lib"
+-fi
++# CPPFLAGS="$CPPFLAGS -I$prefix/include"
++# LDFLAGS="$LDFLAGS -L$prefix/lib"
++# if test "x$prefix" != "x/usr/local"; then
++# CPPFLAGS="$CPPFLAGS -I/usr/local/include"
++# LDFLAGS="$LDFLAGS -L/usr/local/lib"
++# fi
+
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'