components/stunnel/patches/stunnel-4.56-studio.patch
changeset 3926 11b6c9d02e9e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/stunnel/patches/stunnel-4.56-studio.patch	Mon Mar 09 15:38:36 2015 -0500
@@ -0,0 +1,20 @@
+#
+# Studio gets confused by -pedantic.  This won't go upstream as newer versions
+# change the compiler flag test and this will no longer be needed .
+#
+
+--- stunnel-4.56/configure.ac.orig	Mon Mar  9 12:33:03 2015
++++ stunnel-4.56/configure.ac	Mon Mar  9 12:33:20 2015
+@@ -88,12 +88,6 @@
+     [AC_MSG_RESULT([yes])],
+     [AC_MSG_RESULT([no]); CFLAGS="$valid_CFLAGS"])
+ 
+-AC_MSG_CHECKING([whether $CC accepts -pedantic])
+-valid_CFLAGS="$CFLAGS"; CFLAGS="$CFLAGS -pedantic"
+-AC_LINK_IFELSE([int main() {return 0;}],
+-    [AC_MSG_RESULT([yes])],
+-    [AC_MSG_RESULT([no]); CFLAGS="$valid_CFLAGS"])
+-
+ AC_MSG_NOTICE([**************************************** libtool])
+ LT_INIT([disable-static])
+ AC_SUBST([LIBTOOL_DEPS])