From 3a45f9a13d4fa2c985d69ea9847e8ce30e541f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Fri, 15 Jun 2012 11:22:28 +0000 Subject: [PATCH] allow old openssl for debian builds, due to old debian versions; refs #157 --- debian/rules | 2 +- src/qbrowserlib/log.hxx | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/debian/rules b/debian/rules index 80675d7..4ecb686 100755 --- a/debian/rules +++ b/debian/rules @@ -30,7 +30,7 @@ endif ifneq "$(wildcard /usr/share/misc/config.guess)" "" cp -f /usr/share/misc/config.guess config.guess endif - ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-qt-install-plugins=\$${prefix}/share/qt4/plugins/designer CFLAGS="$(CFLAGS)" + CPPFLAGS=-DALLOW_SSL_0_8 ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-qt-install-plugins=\$${prefix}/share/qt4/plugins/designer CFLAGS="$(CFLAGS)" build: build-stamp diff --git a/src/qbrowserlib/log.hxx b/src/qbrowserlib/log.hxx index d7947a2..7871e8f 100644 --- a/src/qbrowserlib/log.hxx +++ b/src/qbrowserlib/log.hxx @@ -27,9 +27,11 @@ namespace qbrowserlib { #ifndef LOG -#define LOG \ - QBROWSERLIB_LOCAL_TRACER -#endif +// #define LOG \ +// QBROWSERLIB_LOCAL_TRACER + #define LOG \ + qbrowserlib::Log(1, __PRETTY_FUNCTION__, __FILE__, __LINE__) + #endif #ifndef TRC #define TRC \