MINGW-packages/mingw-w64-OpenSceneGraph/0010-fix-build-with-glib2-2.83.patch
مهدي شينون (Mehdi Chinoune) 4d5e739278 OpenSceneGraph: Fix build with glib2>=2.83
2025-05-30 19:23:39 +01:00

17 lines
366 B
Diff

--- a/src/osgPlugins/svg/ReaderWriterSVG.cpp
+++ b/src/osgPlugins/svg/ReaderWriterSVG.cpp
@@ -21,13 +21,11 @@
#include <osgDB/FileUtils>
#include <osgDB/ImageOptions>
-extern "C" {
#include <librsvg/rsvg.h>
#ifndef LIBRSVG_CHECK_VERSION
#include <librsvg/rsvg-cairo.h>
#endif
-}
class ReaderWriterSVG : public osgDB::ReaderWriter
{