X-Git-Url: https://review.fuel-infra.org/gitweb?a=blobdiff_plain;f=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fwireshark%2F0001-fix-wrong-cflags-for-build-assumption.patch;fp=cirros-testvm%2Fsrc-cirros%2Fbuildroot-2015.05%2Fpackage%2Fwireshark%2F0001-fix-wrong-cflags-for-build-assumption.patch;h=14cb957c37a576a9ef60bc534e609bc56bb410ef;hb=b0a0f15dfaa205161a7fcb20cf1b8cd4948c2ef3;hp=0000000000000000000000000000000000000000;hpb=c6ac3cd55ee2da956195eee393b0882105dfad4e;p=packages%2Ftrusty%2Fcirros-testvm.git diff --git a/cirros-testvm/src-cirros/buildroot-2015.05/package/wireshark/0001-fix-wrong-cflags-for-build-assumption.patch b/cirros-testvm/src-cirros/buildroot-2015.05/package/wireshark/0001-fix-wrong-cflags-for-build-assumption.patch new file mode 100644 index 0000000..14cb957 --- /dev/null +++ b/cirros-testvm/src-cirros/buildroot-2015.05/package/wireshark/0001-fix-wrong-cflags-for-build-assumption.patch @@ -0,0 +1,38 @@ +AC_WIRESHARK_GCC_CFLAGS_CHECK checks for valid CFLAGS against CC and pushes +them into CFLAGS and CFLAGS_FOR_BUILD. +This is wrong since CC_FOR_BUILD might be wildly different and older than CC +leading to build errors. + +Upstream status: reported in tracker +https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=9507 + +Patch status: Interim to fix: +http://autobuild.buildroot.net/results/2b1/2b1a0654b649618422d65edf370b82476ba84491/ + +Signed-off-by: Gustavo Zacarias + +diff -Nura wireshark-1.12.0.orig/acinclude.m4 wireshark-1.12.0/acinclude.m4 +--- wireshark-1.12.0.orig/acinclude.m4 2014-09-04 15:45:38.365255309 -0300 ++++ wireshark-1.12.0/acinclude.m4 2014-09-04 15:46:23.349810353 -0300 +@@ -1755,10 +1755,6 @@ + # just the new option. + # + CFLAGS="$CFLAGS_saved $GCC_OPTION" +- # +- # Add it to the flags we use when building build tools. +- # +- CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD $GCC_OPTION" + ], + [ + AC_MSG_RESULT(yes) +@@ -1771,10 +1767,6 @@ + # just the new option. + # + CFLAGS="$CFLAGS_saved $GCC_OPTION" +- # +- # Add it to the flags we use when building build tools. +- # +- CFLAGS_FOR_BUILD="$CFLAGS_FOR_BUILD $GCC_OPTION" + fi + ], + [