gcc41 fix for inkscape
authorHanno Boeck <hanno@gentoo.org>
Mon, 28 Nov 2005 19:13:40 +0000 (19:13 +0000)
committerHanno Boeck <hanno@gentoo.org>
Mon, 28 Nov 2005 19:13:40 +0000 (19:13 +0000)
Package-Manager: portage-2.0.53_rc7

media-gfx/inkscape/ChangeLog
media-gfx/inkscape/Manifest
media-gfx/inkscape/files/inkscape-0.43-gcc41.patch [new file with mode: 0644]
media-gfx/inkscape/inkscape-0.43.ebuild

index 72aa4c405bd84a4fae966e47f921e6283fcf8d4b..447d03dff69083bcbec56064b4c28193b83a5df5 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for media-gfx/inkscape
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.42 2005/11/27 19:53:31 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.43 2005/11/28 19:13:39 hanno Exp $
+
+  28 Nov 2005; Hanno Boeck <hanno@gentoo.org>
+  +files/inkscape-0.43-gcc41.patch, inkscape-0.43.ebuild:
+  Fix for gcc 4.1.
 
   27 Nov 2005; Joseph Jezak <josejx@gentoo.org> inkscape-0.43.ebuild:
   Marked ppc stable for bug #109993.
index fa8ca46ca65046a06a6ee3dffe883cc070e973aa..ebe0963efc9399992f93ee6b1dffac9865d71cf4 100644 (file)
@@ -1,7 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 a38f7700fd767c2c66cac6bb5d0c13d2 ChangeLog 4728
+MD5 a4c62a612783c63d2f2711e4af4c71da ChangeLog 4851
 MD5 5a2e7c990f27ecf4a864bc72a8324695 files/0.40-radial.patch 487
 MD5 43383d33f039e916a8092b3703f3ede2 files/digest-inkscape-0.37 66
 MD5 2351ba855aa9cbb514d6b9d61c29158b files/digest-inkscape-0.38 66
@@ -16,6 +13,7 @@ MD5 2d24a0a0111fe735750b605a505f2813 files/digest-inkscape-0.42.2 69
 MD5 f26304c2cdbb3d60e92ec483a23d6bf4 files/digest-inkscape-0.43 67
 MD5 6d1db27dd1b71567662b3e58b3bfed8b files/inkscape-0.41-configure.ac.patch 514
 MD5 2a6db3de949e36fe3ec3ecbca9c26f3e files/inkscape-0.41_gnome-print.patch 404
+MD5 376b7c16ca8dce7cbc7335c995f8ee0a files/inkscape-0.43-gcc41.patch 3283
 MD5 96ffe3671e95f776e9e90718e5e3132a files/string.patch 489
 MD5 43f345619b8fb7c94ce9a6839d5b1ce4 inkscape-0.37.ebuild 1018
 MD5 c1fc5c1332bb5b9d342a077d86f7ed15 inkscape-0.38.1.ebuild 1100
@@ -27,12 +25,5 @@ MD5 4c583041c079432faa856dc42cf0c117 inkscape-0.41-r1.ebuild 2294
 MD5 240974d91790d179edb2b847e002b2d6 inkscape-0.41.ebuild 2120
 MD5 dc737b2039d3e51cf505eea83e106b33 inkscape-0.42.2.ebuild 1819
 MD5 b7eec73faa910b3210eabe052f56dcb1 inkscape-0.42.ebuild 1823
-MD5 5eb09b00437d0875f737d447e62efd44 inkscape-0.43.ebuild 1815
+MD5 8b57cdf5f502befd90ec457b68676580 inkscape-0.43.ebuild 1862
 MD5 45828204906035f66f3428b9f2f53eca metadata.xml 223
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDig7McsIHjyDViGQRAk1cAKDUfYdhioU172MGQcsRUAwvnIIf7gCeOpl3
-9kOLVleX1BnbN/SkdQK5lHM=
-=pvQn
------END PGP SIGNATURE-----
diff --git a/media-gfx/inkscape/files/inkscape-0.43-gcc41.patch b/media-gfx/inkscape/files/inkscape-0.43-gcc41.patch
new file mode 100644 (file)
index 0000000..e11de06
--- /dev/null
@@ -0,0 +1,94 @@
+--- src/dialogs/tiledialog.h
++++ src/dialogs/tiledialog.h
+@@ -58,7 +58,7 @@
+     /**
+      * Respond to selection change
+      */
+-    void TileDialog::updateSelection();
++    void updateSelection();
+ 
+ 
+     /**
+--- src/extension/internal/ps.h
++++ src/extension/internal/ps.h
+@@ -36,10 +36,10 @@
+ 
+       void print_bpath (SVGOStringStream &os, const NArtBpath *bp);
+ 
+-      void PrintPS::print_fill_style (SVGOStringStream &os, const SPStyle *style, const NRRect *pbox);
+-      void PrintPS::print_stroke_style (SVGOStringStream &os, const SPStyle *style);
++      void print_fill_style (SVGOStringStream &os, const SPStyle *style, const NRRect *pbox);
++      void print_stroke_style (SVGOStringStream &os, const SPStyle *style);
+ 
+-      const char* PrintPS::PSFontName (const SPStyle *style);
++      const char* PSFontName (const SPStyle *style);
+ 
+       unsigned int print_image (FILE *ofp, guchar *px, unsigned int width, unsigned int height, unsigned int rs,
+                                      const NRMatrix *transform);
+--- src/jabber_whiteboard/pedroxmpp.cpp
++++ src/jabber_whiteboard/pedroxmpp.cpp
+@@ -614,7 +614,7 @@
+     static void hash(unsigned char *dataIn,
+                      unsigned long len, unsigned char *digest);
+ 
+-    static DOMString Md5::hashHex(unsigned char *dataIn, unsigned long len);
++    static DOMString hashHex(unsigned char *dataIn, unsigned long len);
+ 
+     /**
+      *  Initialize the context (also zeroizes contents)
+--- src/jabber_whiteboard/pedroxmpp.h
++++ src/jabber_whiteboard/pedroxmpp.h
+@@ -746,7 +746,7 @@
+      *
+      */
+     virtual std::vector<XmppUser>
+-          XmppClient::groupChatGetUserList(const DOMString &groupJid);
++          groupChatGetUserList(const DOMString &groupJid);
+ 
+     /**
+      *
+--- src/libavoid/connector.h
++++ src/libavoid/connector.h
+@@ -59,7 +59,7 @@
+         bool isInitialised(void);
+         void unInitialise(void);
+         void setCallback(void (*cb)(void *), void *ptr);
+-        void ConnRef::handleInvalid(void);
++        void handleInvalid(void);
+         int generatePath(Point p0, Point p1);
+         void makePathInvalid(void);
+         
+--- src/livarot/Path.h
++++ src/livarot/Path.h
+@@ -198,7 +198,7 @@
+   cut_position*    CurvilignToPosition(int nbCv,double* cvAbs,int &nbCut);
+   cut_position    PointToCurvilignPosition(NR::Point const &pos) const;
+   //Should this take a cut_position as a param?
+-  double           Path::PositionToLength(int piece, double t);
++  double           PositionToLength(int piece, double t);
+   
+   // caution: not tested on quadratic b-splines, most certainly buggy
+   void             ConvertPositionsToMoveTo(int nbPos,cut_position* poss);
+--- src/ui/dialog/aboutbox.h
++++ src/ui/dialog/aboutbox.h
+@@ -28,7 +28,7 @@
+ class AboutBoxChild: public Gtk::Dialog
+ {
+ public:
+-    AboutBoxChild::AboutBoxChild(Gtk::Window& parent, gchar * title)
++    AboutBoxChild(Gtk::Window& parent, gchar * title)
+         : Gtk::Dialog(title,parent) {};
+ protected:
+     virtual void         on_response(int response_id);
+
+--- src/ui/dialog/align-and-distribute.cpp
++++ src/ui/dialog/align-and-distribute.cpp
+@@ -955,7 +955,7 @@
+         break;
+ 
+     } // end of switch statement
+-    return NULL;
++    return (std::list<SPItem *>::iterator)NULL;
+ }
+ 
+ AlignAndDistribute::AlignTarget AlignAndDistribute::getAlignTarget()const {
index a3da550170e01648641e3aee3ee1e6bb0e3b19c3..7d261fd8e43b00fd6e5057703ae89c1e97b0fbf2 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.43.ebuild,v 1.6 2005/11/27 19:53:31 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.43.ebuild,v 1.7 2005/11/28 19:13:39 hanno Exp $
 
 inherit gnome2 eutils
 
@@ -59,6 +59,9 @@ src_unpack() {
        unpack ${A}
 
        cd ${S}
+
+       epatch ${FILESDIR}/inkscape-0.43-gcc41.patch
+
        autoconf || die
        libtoolize --copy --force || die
 }