components/stunnel/patches/stunnel-4.56-studio.patch
author Drew Fisher <drew.fisher@oracle.com>
Thu, 01 Oct 2015 15:00:59 -0700
changeset 4911 6590570733a1
parent 3926 11b6c9d02e9e
permissions -rw-r--r--
PSARC/2015/368 Common Puppet Modules 21691386 Request to integrate common puppet modules into Userland

#
# 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])