]> git.pld-linux.org Git - packages/strigi.git/commitdiff
- added log4cxx patch (fixes build with log4cxx 1.0.0); release 16 auto/th/strigi-0.7.8-16
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 8 Feb 2023 20:40:10 +0000 (21:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 8 Feb 2023 20:40:10 +0000 (21:40 +0100)
strigi-log4cxx.patch [new file with mode: 0644]
strigi.spec

diff --git a/strigi-log4cxx.patch b/strigi-log4cxx.patch
new file mode 100644 (file)
index 0000000..32d6364
--- /dev/null
@@ -0,0 +1,35 @@
+--- strigi-0.7.8/strigidaemon/bin/daemon/strigilogging.h.orig  2013-01-25 18:49:35.000000000 +0100
++++ strigi-0.7.8/strigidaemon/bin/daemon/strigilogging.h       2023-02-08 21:09:30.215047101 +0100
+@@ -38,27 +38,27 @@
+ #define STRIGI_LOG_DEBUG(loggerName, message) { \
+     log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(loggerName); \
+-    LOG4CXX_DEBUG(logger, message) \
++    LOG4CXX_DEBUG(logger, message); \
+ }
+ #define STRIGI_LOG_INFO(loggerName, message) { \
+     log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(loggerName); \
+-    LOG4CXX_INFO(logger, message) \
++    LOG4CXX_INFO(logger, message); \
+ }
+ #define STRIGI_LOG_WARNING(loggerName, message) { \
+     log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(loggerName); \
+-    LOG4CXX_WARN(logger, message) \
++    LOG4CXX_WARN(logger, message); \
+ }
+ #define STRIGI_LOG_ERROR(loggerName, message) { \
+     log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(loggerName); \
+-    LOG4CXX_ERROR(logger, message) \
++    LOG4CXX_ERROR(logger, message); \
+ }
+ #define STRIGI_LOG_FATAL(loggerName, message) { \
+     log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(loggerName); \
+-    LOG4CXX_FATAL(logger, message) \
++    LOG4CXX_FATAL(logger, message); \
+ }
+ #else
index 3cc48e58b7bb382f1f8528cbde8e334355aebc02..d435e2aaafd76e05f61a7f9cbca849f868d84b17 100644 (file)
@@ -8,7 +8,7 @@ Summary:        Strigi desktop search
 Summary(pl.UTF-8):     System wyszukiwania Strigi
 Name:          strigi
 Version:       0.7.8
-Release:       15
+Release:       16
 License:       LGPL v2+
 Group:         X11/Applications
 Source0:       http://www.vandenoever.info/software/strigi/%{name}-%{version}.tar.bz2
@@ -21,6 +21,7 @@ Patch4:               gcc8.patch
 Patch5:                exiv2.patch
 Patch6:                %{name}-gccversion.patch
 Patch7:                %{name}-includes.patch
+Patch8:                %{name}-log4cxx.patch
 URL:           http://strigi.sourceforge.net/
 BuildRequires: QtDBus-devel >= %{qtver}
 BuildRequires: QtGui-devel >= %{qtver}
@@ -104,6 +105,7 @@ Pliki nagłówkowe dla strigi.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 install -d build
This page took 0.220792 seconds and 4 git commands to generate.