Explorar o código

Merge remote-tracking branch 'origin/maint-0.2.2'

Nick Mathewson %!s(int64=14) %!d(string=hai) anos
pai
achega
8c643b51bf
Modificáronse 2 ficheiros con 13 adicións e 0 borrados
  1. 4 0
      changes/bug3643
  2. 9 0
      configure.in

+ 4 - 0
changes/bug3643

@@ -0,0 +1,4 @@
+  o Minor bugfixes:
+    - Selectively disable deprecation warnings on OS X because Lion started
+      deprecating the shipped copy of openssl. Fixes bug 3643.
+

+ 9 - 0
configure.in

@@ -1123,6 +1123,15 @@ else
   enable_gcc_warnings_advisory=no
 fi
 
+# OS X Lion started deprecating the system openssl. Let's just disable
+# all deprecation warnings on OS X.
+case "$host_os" in
+
+ darwin*)
+    CFLAGS="$CFLAGS -Wno-deprecated-declarations"
+    ;;
+esac
+
 # Add some more warnings which we use in development but not in the
 # released versions.  (Some relevant gcc versions can't handle these.)
 if test x$enable_gcc_warnings = xyes || test x$enable_gcc_warnings_advisory = xyes; then