diff options
author | Hanno Böck <hanno@gentoo.org> | 2005-11-28 19:13:40 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2005-11-28 19:13:40 +0000 |
commit | 8097078dbff6a9e2f963d16b6b93d5d5a216c1b3 (patch) | |
tree | b3cce56470019dc72d43dccb4d537d37fc03e8dc /media-gfx/inkscape/files | |
parent | gcc41 fix for boehm-gc (diff) | |
download | gentoo-2-8097078dbff6a9e2f963d16b6b93d5d5a216c1b3.tar.gz gentoo-2-8097078dbff6a9e2f963d16b6b93d5d5a216c1b3.tar.bz2 gentoo-2-8097078dbff6a9e2f963d16b6b93d5d5a216c1b3.zip |
gcc41 fix for inkscape
(Portage version: 2.0.53_rc7)
Diffstat (limited to 'media-gfx/inkscape/files')
-rw-r--r-- | media-gfx/inkscape/files/inkscape-0.43-gcc41.patch | 94 |
1 files changed, 94 insertions, 0 deletions
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 index 000000000000..e11de06b645c --- /dev/null +++ b/media-gfx/inkscape/files/inkscape-0.43-gcc41.patch @@ -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 { |