From 983a7073bff0d39e8d6923146cb5acbebd3e4aa6 Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 30 Dec 2016 11:27:40 -0800 Subject: [PATCH] Use OPENSSL_CFLAGS even if -lcrypto is used directly OpenSSL headers are used even when the full set of OpenSSL libraries is not used. --- xorg/X11R7.6/xorg-server-1.9.3.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 xorg/X11R7.6/xorg-server-1.9.3.patch diff --git a/xorg/X11R7.6/xorg-server-1.9.3.patch b/xorg/X11R7.6/xorg-server-1.9.3.patch new file mode 100644 index 00000000..db6591b9 --- /dev/null +++ b/xorg/X11R7.6/xorg-server-1.9.3.patch @@ -0,0 +1,10 @@ +--- a/configure ++++ b/configure +@@ -21551,6 +21551,7 @@ + if test "x$with_sha1" = xlibcrypto; then + if test "x$HAVE_LIBCRYPTO" = xyes; then + SHA1_LIBS=-lcrypto ++ SHA1_CFLAGS="$OPENSSL_CFLAGS" + else + SHA1_LIBS="$OPENSSL_LIBS" + SHA1_CFLAGS="$OPENSSL_CFLAGS"