summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntti Jarvinen <antti.jarvinen@katiska.org>2017-12-02 13:21:11 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-01-26 22:43:37 +0100
commitd2beaf0948c16eb8026d846e9c981df26646131d (patch)
tree3d5d4d32e95799a2b68b4379d50ced5a829a1452 /net-p2p/classified-ads/files
parentdev-util/nvidia-cuda-sdk: Drop unused eutils.eclass from 9.1.85 (diff)
downloadgentoo-d2beaf0948c16eb8026d846e9c981df26646131d.tar.gz
gentoo-d2beaf0948c16eb8026d846e9c981df26646131d.tar.bz2
gentoo-d2beaf0948c16eb8026d846e9c981df26646131d.zip
net-p2p/classified-ads: version bump to upstream version 0.12.
Package-Manager: Portage-2.3.13, Repoman-2.3.1 Closes: https://github.com/gentoo/gentoo/pull/6398
Diffstat (limited to 'net-p2p/classified-ads/files')
-rw-r--r--net-p2p/classified-ads/files/classified-ads-0.12-unit-tests.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/net-p2p/classified-ads/files/classified-ads-0.12-unit-tests.patch b/net-p2p/classified-ads/files/classified-ads-0.12-unit-tests.patch
new file mode 100644
index 000000000000..1a1ec45f130f
--- /dev/null
+++ b/net-p2p/classified-ads/files/classified-ads-0.12-unit-tests.patch
@@ -0,0 +1,48 @@
+Patch-by: Antti Järvinen <antti.jarvinen@katiska.org>
+Fixes unit-tests that are in non-compiling condition in released source code.
+
+--- a/test/testca.pro 2017-11-17 18:30:27.000000000 +0300
++++ b/test/testca.pro 2017-11-21 21:55:00.000000000 +0300
+@@ -1,5 +1,5 @@
+ #
+-# Classified Ads is Copyright (c) Antti Järvinen 2013-2016.
++# Classified Ads is Copyright (c) Antti Järvinen 2013-2017.
+ #
+ # This file is part of Classified Ads.
+ #
+@@ -42,7 +42,8 @@ SOURCES = testca.cpp ../util/hash.cpp mockup_controller.cpp \
+ ../datamodel/voicecall.cpp ../datamodel/cadbrecord.cpp \
+ ../datamodel/cadbrecordmodel.cpp ../tcl/tclWrapper.cpp \
+ ../datamodel/tclprogram.cpp ../datamodel/tclmodel.cpp \
+- ../tcl/tclCallbacks.cpp ../tcl/tclUtil.cpp ../ui/tclConsole.cpp
++ ../tcl/tclCallbacks.cpp ../tcl/tclUtil.cpp ../ui/tclConsole.cpp \
++ ../util/ungzip.cpp
+ HEADERS = ../util/hash.h ../mcontroller.h mockup_controller.h \
+ ../datamodel/model.h ../datamodel/nodemodel.h \
+ ../datamodel/contentencryptionmodel.h ../net/networklistener.h \
+@@ -68,13 +69,13 @@ HEADERS = ../util/hash.h ../mcontroller.h mockup_controller.h \
+ ../net/mvoicecallengine.h ../datamodel/voicecall.h ../datamodel/cadbrecord.h \
+ ../datamodel/cadbrecordmodel.h ../tcl/tclWrapper.h \
+ ../datamodel/tclprogram.h ../datamodel/tclmodel.h ../tcl/tclCallbacks.h \
+- ../tcl/tclUtil.h ../ui/tclConsole.h
++ ../tcl/tclUtil.h ../ui/tclConsole.h ../util/ungzip.h
+ CONFIG += debug qtestlib
+ QT += core network sql
+ greaterThan(QT_MAJOR_VERSION, 4) {
+ QT += widgets
+ }
+-LIBS = -lssl -lcrypto -lgcrypt -lnatpmp -lgcov -lminiupnpc -ltcl -ltk
++LIBS = -lssl -lcrypto -lgcrypt -lnatpmp -lgcov -lminiupnpc -ltcl -ltk -lz
+ lessThan(QT_MAJOR_VERSION, 5) {
+ LIBS += -lqjson
+ }
+--- a/util/ungzip.cpp 2017-11-17 18:30:27.000000000 +0300
++++ b/util/ungzip.cpp 2017-11-21 21:55:00.000000000 +0300
+@@ -23,6 +23,6 @@ static const unsigned KZLibBlockSize ( 1024 ) ;
+#include "ungzip.h"
+#include <zlib.h> // actual gzip functions and data-types
+-#include "log.h"
++#include "../log.h"
+
+ UnGZip::UnGZip() {
+ // not really used