Projects
Essentials
lightspark
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 109
View file
lightspark.spec
Changed
@@ -27,6 +27,7 @@ Group: Productivity/Multimedia/Other Url: https://launchpad.net/lightspark/ Source0: lightspark.tar.xz +Source1: 0001-Fix-LOG_CALL-macro.patch BuildRequires: boost-devel BuildRequires: cmake BuildRequires: desktop-file-utils @@ -85,6 +86,7 @@ %prep %setup -q -n %{name} +patch --merge -p1 < %{S:1} %build export CFLAGS='%{optflags}'
View file
0001-Fix-LOG_CALL-macro.patch
Added
@@ -0,0 +1,25 @@ +From 44a1aa3548c101d8d7620295c758bda1145b32f5 Mon Sep 17 00:00:00 2001 +From: Johannes Obermayr <johannesobermayr@gmx.de> +Date: Sun, 5 Jun 2016 19:15:15 +0200 +Subject: [PATCH] Fix LOG_CALL macro. + +--- + src/logger.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/logger.h b/src/logger.h +index 30e2483..72eff0e 100644 +--- a/src/logger.h ++++ b/src/logger.h +@@ -36,7 +36,7 @@ enum LOG_LEVEL { LOG_ERROR=0, LOG_INFO=1, LOG_NOT_IMPLEMENTED=2,LOG_CALLS=3,LOG_ + do { \ + if(LOG_CALLS<=Log::getLevel()) \ + { \ +- Log l(level); \ ++ Log l(LOG_CALLS); \ + l() << esp << std::endl; \ + } \ + } while(0) +-- +2.8.3 +
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.