Ticket #24947: kdebase4-runtime-build-with-attica-0.1.4.diff

File kdebase4-runtime-build-with-attica-0.1.4.diff, 1.9 KB (added by bjoern.ricks@…, 14 years ago)
  • kdebase4-runtime/files/patch-attica-0.1.4-compat.diff

     
     1Description: make kdebase-runtime compile with attica >= 0.1.4
     2 No new features added. The patch just fixes FTBFS.
     3Author: Thibaut Gridel <tgridel@free.fr>
     4Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583019
     5Forwarded: not-needed
     6Last-Update: 2010-05-29
     7
     8--- attica/kdeplugin/kdeplatformdependent.h
     9+++ attica/kdeplugin/kdeplatformdependent.h
     10@@ -47,6 +47,11 @@ public:
     11     KdePlatformDependent();
     12     virtual ~KdePlatformDependent();
     13     virtual QList<QUrl> getDefaultProviderFiles() const;
     14+    virtual void addDefaultProviderFile(const QUrl& url){}
     15+    virtual void removeDefaultProviderFile(const QUrl& url){}
     16+    virtual void enableProvider(const QUrl& baseUrl, bool enabled) const{}
     17+    virtual bool isEnabled(const QUrl& baseUrl) const{return true;}
     18+
     19     virtual QNetworkReply* post(const QNetworkRequest& request, const QByteArray& data);
     20     virtual QNetworkReply* post(const QNetworkRequest& request, QIODevice* data);
     21     virtual QNetworkReply* get(const QNetworkRequest& request);
  • kdebase4-runtime/Portfile

     
    66
    77name                kdebase4-runtime
    88version             4.4.3
     9revision            1
    910categories          kde kde4
    1011maintainers         snc sharky
    1112description         Shared data needed by KDE4 programs
     
    4041}
    4142
    4243patch.dir           ${workpath}/${distname}
     44patchfiles-append   patch-attica-0.1.4-compat.diff
    4345
    4446variant no_slp description {Remove SLP support in the network:/ kioslave} {
    4547    depends_lib-delete  port:openslp