summaryrefslogtreecommitdiffstats
path: root/patches/libmemcached-0.44/0002-HACK-remove-check-for-.git-to-prevent-errors.patch
diff options
context:
space:
mode:
authorGeorge McCollister <george.mccollister@gmail.com>2010-11-19 14:17:11 -0600
committerMarc Kleine-Budde <mkl@pengutronix.de>2010-11-23 13:12:54 +0100
commite60c86a20bf452c403f054a4762166974907ce51 (patch)
treedb22f3612e0f19aac04c92a8453c541c38307da4 /patches/libmemcached-0.44/0002-HACK-remove-check-for-.git-to-prevent-errors.patch
parent91114cd75aea461a928d7118d0aa09150c471214 (diff)
downloadptxdist-e60c86a20bf452c403f054a4762166974907ce51.tar.gz
ptxdist-e60c86a20bf452c403f054a4762166974907ce51.tar.xz
libmemcached: added new packet
I added a new packet libmemcached. A client library for memcached. Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'patches/libmemcached-0.44/0002-HACK-remove-check-for-.git-to-prevent-errors.patch')
-rw-r--r--patches/libmemcached-0.44/0002-HACK-remove-check-for-.git-to-prevent-errors.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/patches/libmemcached-0.44/0002-HACK-remove-check-for-.git-to-prevent-errors.patch b/patches/libmemcached-0.44/0002-HACK-remove-check-for-.git-to-prevent-errors.patch
new file mode 100644
index 000000000..281b1b4d4
--- /dev/null
+++ b/patches/libmemcached-0.44/0002-HACK-remove-check-for-.git-to-prevent-errors.patch
@@ -0,0 +1,38 @@
+From 6c31950db7b22f6b55d175814297eeb0bf753a79 Mon Sep 17 00:00:00 2001
+From: George McCollister <george.mccollister@gmail.com>
+Date: Fri, 19 Nov 2010 13:38:53 -0600
+Subject: [PATCH 2/2] HACK remove check for .git to prevent errors
+
+If they see .git they force warnings as errors. Since ptxdist can apply
+patches with git sometimes .git will be detected and on ARM, alignment
+warnings will generate errors. I ran tests and the warnings on io.c:776
+and io.c:792 don't appear to indicate a real alignment issue on ARM
+processors. This hack of a patch removes the check for the .git directory so
+warnings as errors will not be forced.
+
+Signed-off-by: George McCollister <george.mccollister@gmail.com>
+---
+ m4/pandora_vc_build.m4 | 7 +------
+ 1 files changed, 1 insertions(+), 6 deletions(-)
+
+diff --git a/m4/pandora_vc_build.m4 b/m4/pandora_vc_build.m4
+index c1a8fba..df596f6 100644
+--- a/m4/pandora_vc_build.m4
++++ b/m4/pandora_vc_build.m4
+@@ -27,12 +27,7 @@ AC_DEFUN([PANDORA_TEST_VC_DIR],[
+ pandora_building_from_hg=no
+ fi
+
+- if test -d ".git" ; then
+- pandora_building_from_git=yes
+- pandora_building_from_vc=yes
+- else
+- pandora_building_from_git=no
+- fi
++ pandora_building_from_git=no
+ ])
+
+ AC_DEFUN([PANDORA_BUILDING_FROM_VC],[
+--
+1.6.4.2
+