Date: Friday, July 16, 2010 @ 04:55:54
  Author: andrea
Revision: 85601

pyqt patch

Added:
  kdebindings/kde-unstable/pyqt-4.7.4-fix.patch
Modified:
  kdebindings/kde-unstable/PKGBUILD

----------------------+
 PKGBUILD             |    6 +++++-
 pyqt-4.7.4-fix.patch |   15 +++++++++++++++
 2 files changed, 20 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2010-07-16 08:55:05 UTC (rev 85600)
+++ PKGBUILD    2010-07-16 08:55:54 UTC (rev 85601)
@@ -15,12 +15,16 @@
 makedepends=('pkgconfig' 'cmake' 'automoc4' 'pyqt' 'kdepim-runtime' 'mono'
        'kdegraphics-okular' 'qwt' 'docbook-xsl' 'boost')
 # ruby
-source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2";)
+source=("http://download.kde.org/unstable/${pkgver}/src/${pkgbase}-${pkgver}.tar.bz2";
+       'pyqt-4.7.4-fix.patch')
 sha1sums=('d067cc7a8f06f320c5b28cb7ff004d5837d60188')
 
 build() {
        cd ${srcdir}/${pkgbase}-${pkgver}
 
+       # Already fixed upstream
+       patch -Np0 -i ${srcdir}/pyqt-4.7.4-fix.patch
+
        sed -i -e "s#smoke/smoke.h#smoke.h#" \
                ruby/qtruby/src/handlers.cpp \
                ruby/qtruby/src/marshall.h \

Added: pyqt-4.7.4-fix.patch
===================================================================
--- pyqt-4.7.4-fix.patch                                (rev 0)
+++ pyqt-4.7.4-fix.patch        2010-07-16 08:55:54 UTC (rev 85601)
@@ -0,0 +1,15 @@
+Index: python/pykde4/sip/akonadi/addressattribute.sip
+===================================================================
+--- python/pykde4/sip/akonadi/addressattribute.sip     (revision 1150375)
++++ python/pykde4/sip/akonadi/addressattribute.sip     (revision 1150562)
+@@ -57,6 +57,10 @@
+     else if (dynamic_cast<Akonadi::MessageThreadingAttribute*>(sipCpp))
+         sipType = sipType_Akonadi_MessageThreadingAttribute;
+ %End
++private:
++//force
++Akonadi::AddressAttribute& operator = (const Akonadi::AddressAttribute&);
++//end
+ };
+ };
+ %ModuleHeaderCode

Reply via email to