X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Ftmux%2F0001-Makefile.am-remove-unsafe-headers-path.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Ftmux%2F0001-Makefile.am-remove-unsafe-headers-path.patch;h=4a2094577ee5064c0a42ea33a37b7f9f43d67543;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/tmux/0001-Makefile.am-remove-unsafe-headers-path.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/tmux/0001-Makefile.am-remove-unsafe-headers-path.patch new file mode 100644 index 0000000..4a20945 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/tmux/0001-Makefile.am-remove-unsafe-headers-path.patch @@ -0,0 +1,35 @@ +From 4095ee95141063ff3f91153e84bd029b019b8dad Mon Sep 17 00:00:00 2001 +From: Romain Naour +Date: Fri, 26 Dec 2014 17:44:15 +0100 +Subject: [PATCH] Makefile.am: remove unsafe headers path + +/usr/local/include is probably not needed and it's unsafe for +cross-compilation. + +Signed-off-by: Romain Naour +--- + Makefile.am | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile.am b/Makefile.am +index a9ad5b9..0109e5d 100644 +--- a/Makefile.am ++++ b/Makefile.am +@@ -38,12 +38,12 @@ else + CFLAGS += -O2 + endif + if IS_GCC4 +-CPPFLAGS += -iquote. -I/usr/local/include ++CPPFLAGS += -iquote. + if IS_DEBUG + CFLAGS += -Wno-pointer-sign + endif + else +-CPPFLAGS += -I. -I- -I/usr/local/include ++CPPFLAGS += -I. -I- + endif + endif + +-- +1.9.3 +