From 76ef832ce5348d12a871223d4c034c7daeaddb82 Mon Sep 17 00:00:00 2001 From: Tim Williams Date: Mon, 17 Oct 2011 18:47:27 +0100 Subject: Adding the remaining Mandriva patches and spec files --- .../applications/kmetabar/kmetabar-kdemacros.diff | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff (limited to 'mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff') diff --git a/mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff b/mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff new file mode 100644 index 000000000..1b796a0a6 --- /dev/null +++ b/mandriva/2010.2/applications/kmetabar/kmetabar-kdemacros.diff @@ -0,0 +1,52 @@ +--- src/kmetabar.h.orig 2005-09-06 12:12:39.000000000 +0200 ++++ src/kmetabar.h 2005-09-06 12:12:59.000000000 +0200 +@@ -8,10 +8,15 @@ + #include + #include + #include ++#include + + #include "kmetabar_widget.h" + #include "metascrollview.h" + ++#ifndef KDE_EXPORT ++#define KDE_EXPORT ++#endif ++ + class Metabar : public KonqSidebarPlugin + { + Q_OBJECT +--- src/kmetabar.cpp.orig 2005-09-06 12:00:33.000000000 +0200 ++++ src/kmetabar.cpp 2005-09-06 12:16:13.000000000 +0200 +@@ -2,9 +2,13 @@ + #include + #include + #include ++#include + #include "kmetabar.h" + #include "kmetabar.moc" + ++#ifndef KDE_EXPORT ++#define KDE_EXPORT ++#endif + + Metabar::Metabar(KInstance *inst,QObject *parent,QWidget *widgetParent, QString &desktopName, const char* name): + KonqSidebarPlugin(inst,parent,widgetParent,desktopName,name) +@@ -40,7 +44,7 @@ + + + extern "C" { +- KDE_EXPORT bool add_konqsidebar_kmetabar(QString* fn, QString* param, QMap *map) { ++ bool add_konqsidebar_kmetabar(QString* fn, QString* param, QMap *map) { + Q_UNUSED(param); + + map->insert("Type", "Link"); +@@ -55,7 +59,7 @@ + + extern "C" + { +- KDE_EXPORT void* create_konqsidebar_kmetabar(KInstance *instance,QObject *par,QWidget *widp,QString &desktopname,const char *name) ++ void* create_konqsidebar_kmetabar(KInstance *instance,QObject *par,QWidget *widp,QString &desktopname,const char *name) + { + return new Metabar(instance,par,widp,desktopname,name); + } -- cgit v1.2.1