summaryrefslogtreecommitdiff
path: root/network/gq/gcc-4.7.patch
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2012-09-16 19:07:51 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:42:18 -0400
commitbfcae663de5e52aef2e39febc8a7b3281b6c1d14 (patch)
tree91b4e0c7181b9bd54f7e1200fc501f40fae82757 /network/gq/gcc-4.7.patch
parent4abefb44e4b41d5334b225cb239691260ecd630c (diff)
downloadslackbuilds-bfcae663de5e52aef2e39febc8a7b3281b6c1d14.tar.gz
network/gq: Patched for glib 2.32 and gcc 4.7
Diffstat (limited to 'network/gq/gcc-4.7.patch')
-rw-r--r--network/gq/gcc-4.7.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/network/gq/gcc-4.7.patch b/network/gq/gcc-4.7.patch
new file mode 100644
index 0000000000..4e6da28e65
--- /dev/null
+++ b/network/gq/gcc-4.7.patch
@@ -0,0 +1,22 @@
+Index: gq-1.2.3/configure
+===================================================================
+--- gq-1.2.3.orig/configure
++++ gq-1.2.3/configure
+@@ -6167,7 +6167,7 @@ if test "${ac_cv_lib_ssl_SSL_new+set}" =
+ echo $ECHO_N "(cached) $ECHO_C" >&6
+ else
+ ac_check_lib_save_LIBS=$LIBS
+-LIBS="-lssl $LIBS"
++LIBS="`pkg-config --libs openssl` $LIBS"
+ cat >conftest.$ac_ext <<_ACEOF
+ /* confdefs.h. */
+ _ACEOF
+@@ -6223,7 +6223,7 @@ fi
+ { echo "$as_me:$LINENO: result: $ac_cv_lib_ssl_SSL_new" >&5
+ echo "${ECHO_T}$ac_cv_lib_ssl_SSL_new" >&6; }
+ if test $ac_cv_lib_ssl_SSL_new = yes; then
+- LIBS="-lssl $LIBS"
++ LIBS="`pkg-config --libs openssl` $LIBS"
+
+ fi
+