summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libircclient/files/libircclient-1.6-build.patch')
-rw-r--r--net-libs/libircclient/files/libircclient-1.6-build.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-libs/libircclient/files/libircclient-1.6-build.patch b/net-libs/libircclient/files/libircclient-1.6-build.patch
new file mode 100644
index 000000000000..d3d6c0f3edf9
--- /dev/null
+++ b/net-libs/libircclient/files/libircclient-1.6-build.patch
@@ -0,0 +1,13 @@
+--- libircclient-1.6/configure.in
++++ libircclient-1.6.new/configure.in
+@@ -61,9 +61,7 @@ AC_CHECK_FUNCS([localtime_r socket])
+ AC_CHECK_LIB(socket, socket, AC_DEFINE(HAVE_SOCKET) LIBS="$LIBS -lsocket")
+
+ if test "$use_debug" = "yes"; then
+- CFLAGS="${CFLAGS} -g -DENABLE_DEBUG"
+-else
+- CFLAGS="${CFLAGS} -O3"
++ CFLAGS="${CFLAGS} -DENABLE_DEBUG"
+ fi
+
+ # Choosing the target