Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 493514

Summary: app-text/qpdfview-0.4.7 USE=-sqlite - sources/database.cpp:514:32: error: no ‘QString Database::instanceName()’ member function declared in class ‘Database’
Product: Gentoo Linux Reporter: Franz Trischberger <franz.trischberger>
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: adam.reichold, grozin, hwoarang, kredba, proteuss, rzubaly, v_2e
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch that fixes the build issue

Description Franz Trischberger 2013-12-07 11:48:10 UTC
Created attachment 364782 [details, diff]
Patch that fixes the build issue

#ifdef in sources/database.cpp is set differently then in database.h.
Patch attached.
Comment 1 Adam Reichold 2013-12-07 12:29:56 UTC
Hello Franz,

thank you the patch fixing the inconsistency. I just committed this to revision 1391 of qpdfview's trunk, noting your help in the change log. (However, I moved the #ifdef in the header since I did not intend the method declaration to be defined conditionally.)

Best regards, Adam.
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2013-12-14 11:04:08 UTC
I applied the patch myself. Hopefully the Qt will don't mind. Thanks for fixing it!

+  14 Dec 2013; Markos Chandras <hwoarang@gentoo.org>
+  +files/qpdfview-0.4.7-fix-sqlite-build.patch, qpdfview-0.4.7.ebuild:
+  Add upstream patch to fix build with USE=-sqlite. Bug #493514. Patch by Franz
+  Fellner <alpine.art.de@googlemail.com>
+