Bas Couwenberg pushed to branch master at Debian GIS Project / gdal-grass
Commits: 43244e38 by Bas Couwenberg at 2022-06-13T21:34:45+02:00 Add patch to fix undefined symbol issues. - - - - - 793d6042 by Bas Couwenberg at 2022-06-13T21:39:41+02:00 Set distribution to unstable. - - - - - d76da79a by Bas Couwenberg at 2022-06-13T21:54:41+02:00 Mark symbol-mangling.patch as Applied-Upstream. - - - - - 3 changed files: - debian/changelog - debian/patches/series - + debian/patches/symbol-mangling.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +libgdal-grass (1:1.0.0-2) unstable; urgency=medium + + * Add patch to fix undefined symbol issues. + + -- Bas Couwenberg <[email protected]> Mon, 13 Jun 2022 21:34:48 +0200 + libgdal-grass (1:1.0.0-1) unstable; urgency=medium * Move from experimental to unstable. ===================================== debian/patches/series ===================================== @@ -1,2 +1,3 @@ destdir.patch debug-symbols.patch +symbol-mangling.patch ===================================== debian/patches/symbol-mangling.patch ===================================== @@ -0,0 +1,30 @@ +Description: Disable C++ symbol name mangling. +Author: Bas Couwenberg <[email protected]> +Bug: https://github.com/OSGeo/gdal-grass/issues/9 +Forwarded: https://github.com/OSGeo/gdal-grass/pull/10 +Applied-Upstream: https://github.com/OSGeo/gdal-grass/commit/0a768b390e849033681d7d6c7cd98c2b40a99954 + +--- a/grass.cpp ++++ b/grass.cpp +@@ -53,6 +53,8 @@ extern "C" { + char *GPJ_grass_to_wkt( const struct Key_Value *, + const struct Key_Value *, + int, int ); ++ ++void GDALRegister_GRASS(); + } + + #define GRASS_MAX_COLORS 100000 // what is the right value +--- a/ogrgrassdriver.cpp ++++ b/ogrgrassdriver.cpp +@@ -30,6 +30,10 @@ + #include "cpl_conv.h" + #include "cpl_string.h" + ++extern "C" { ++ void RegisterOGRGRASS(); ++} ++ + CPL_CVSID("$Id$") + + /************************************************************************/ View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/-/compare/fc9dcc0ec2000e7b94cf09e14ec3148afa3eb8ab...d76da79aabbc4dd5bfd75b7c877c6ba0804cef36 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/gdal-grass/-/compare/fc9dcc0ec2000e7b94cf09e14ec3148afa3eb8ab...d76da79aabbc4dd5bfd75b7c877c6ba0804cef36 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
