Files
gentoo/dev-vcs/subversion/files/subversion-1.5.6-aix-dso.patch
Sam James dd9f5a0b35 dev-vcs/subversion: add 1.14.3
* Inline patches from tarball in SRC_URI (404'd). We were already deleting
  some patches from it and there was a lot of fuzz in another (obsolete patch
  for interix).
* EAPI 8
* Add support for ruby32 (comes with this release).
* Drop old libutf8proc hack & depend on newer version so we can drop that hack.
* Run tests in parallel which helps a fair bit.
* Run tests with -Onone so it doesn't look like they're hanging.
* Add misc. missing || dies.

Closes: https://bugs.gentoo.org/919090
Signed-off-by: Sam James <sam@gentoo.org>
2024-02-06 04:56:14 +00:00

22 lines
734 B
Diff

On AIX, load shared libraries even when created with full aix-soname support:
http://lists.gnu.org/archive/html/libtool/2011-01/msg00023.html
http://lists.gnu.org/archive/html/libtool/2011-02/msg00000.html
Once there is an agreement on that, this patch eventually is for upstream too.
--- a/subversion/libsvn_ra/ra_loader.c
+++ b/subversion/libsvn_ra/ra_loader.c
@@ -164,6 +164,13 @@
/* find/load the specified library */
SVN_ERR(svn_dso_load(&dso, libname));
+#ifdef _AIX
+ if (! dso) {
+ libname = apr_psprintf(pool, "libsvn_ra_%s-%d.so.0(shr.o)",
+ ra_name, SVN_VER_MAJOR);
+ SVN_ERR(svn_dso_load(&dso, libname));
+ }
+#endif
if (! dso)
return SVN_NO_ERROR;