freebsd-ports/graphics/showimg/files/patch-showimg-showimg-imagelistview.cpp
Markus Brueffer c278838e50 - Unbreak by updating to version 0.9.5
- Add OPTIONS for database plugins, kexif and kipi support
- Add additional mastersite

PR:		ports/92720
Submitted by:	Jason E. Hale <bsdkaffee@gmail.com>
Approved by:	maintainer
2006-03-24 20:59:09 +00:00

21 lines
615 B
C++

--- showimg/showimg/imagelistview.cpp.orig Sat Jan 28 23:00:28 2006
+++ showimg/showimg/imagelistview.cpp Sat Jan 28 23:01:24 2006
@@ -28,6 +28,8 @@
* *
***************************************************************************/
+#include <stdlib.h>
+
#include "imagelistview.h"
// Local
@@ -542,7 +542,9 @@
////////
m_popup->insertSeparator();
aImageInfo->plug(m_popup);
+#ifdef WANT_LIBKEXIDB
if(mw->getCategoryDBManager()->isConnected()) aCategoryProperties->plug(m_popup);
+#endif
aFileProperties->plug(m_popup);
}