summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-23 10:02:54 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-23 10:02:54 +0000
commitaf489dd9e2983777fa051c7931a8d2770af0461c (patch)
tree2d892e8e29422ca8bbeaadf6663908cc84b9f7b0 /meta
parent4c5f7e3a1ee9d63c2828c033d4ce115ddbe562ba (diff)
downloadopenembedded-core-af489dd9e2983777fa051c7931a8d2770af0461c.tar.gz
openembedded-core-af489dd9e2983777fa051c7931a8d2770af0461c.tar.bz2
openembedded-core-af489dd9e2983777fa051c7931a8d2770af0461c.tar.xz
openembedded-core-af489dd9e2983777fa051c7931a8d2770af0461c.zip
gdb: Add missing patch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3210 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/gdb/files/ignore_whitespace_changes.patch46
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/packages/gdb/files/ignore_whitespace_changes.patch b/meta/packages/gdb/files/ignore_whitespace_changes.patch
new file mode 100644
index 000000000..80480f280
--- /dev/null
+++ b/meta/packages/gdb/files/ignore_whitespace_changes.patch
@@ -0,0 +1,46 @@
+gdb configure checks CFLAGS haven't changed. Sadly if CFLAGS have a double
+space in, this gets lost somewhere and convinces gdb the flags have changed.
+Wipe out the test for now...
+
+RP - 23/11/2007
+---
+ gdb/gdbserver/configure | 7 -------
+ gdb/testsuite/configure | 7 -------
+ 2 files changed, 14 deletions(-)
+
+Index: gdb-6.6/gdb/testsuite/configure
+===================================================================
+--- gdb-6.6.orig/gdb/testsuite/configure 2007-11-23 10:25:08.000000000 +0000
++++ gdb-6.6/gdb/testsuite/configure 2007-11-23 10:27:36.000000000 +0000
+@@ -1271,13 +1271,6 @@ echo "$as_me: current value: $ac_new_v
+ esac
+ fi
+ done
+-if $ac_cache_corrupted; then
+- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+- { (exit 1); exit 1; }; }
+-fi
+
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'
+Index: gdb-6.6/gdb/gdbserver/configure
+===================================================================
+--- gdb-6.6.orig/gdb/gdbserver/configure 2007-11-23 10:29:06.000000000 +0000
++++ gdb-6.6/gdb/gdbserver/configure 2007-11-23 10:29:20.000000000 +0000
+@@ -1262,13 +1262,6 @@ echo "$as_me: current value: $ac_new_v
+ esac
+ fi
+ done
+-if $ac_cache_corrupted; then
+- { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
+-echo "$as_me: error: changes in the environment can compromise the build" >&2;}
+- { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
+-echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
+- { (exit 1); exit 1; }; }
+-fi
+
+ ac_ext=c
+ ac_cpp='$CPP $CPPFLAGS'