100-libxml-no-force-included.patch 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. --- a/libtextstyle/gnulib-local/modules/libxml.diff
  2. +++ /dev/null
  3. @@ -1,28 +0,0 @@
  4. -*** libxml.orig 2018-10-28 14:37:07.007164889 +0100
  5. ---- libxml 2019-02-14 22:19:29.994771110 +0100
  6. -***************
  7. -*** 118,124 ****
  8. - fabs
  9. -
  10. - configure.ac:
  11. -! gl_LIBXML
  12. -
  13. - Makefile.am:
  14. - if INCLUDED_LIBXML
  15. ---- 118,133 ----
  16. - fabs
  17. -
  18. - configure.ac:
  19. -! # In libtextstyle, we don't want to use an external libxml, because its
  20. -! # dependencies and their dynamic relocations have an impact on the startup
  21. -! # time of a program that is linked with it. As you can see by using
  22. -! # 'readelf -r ... | wc -l' and 'readelf -d ... | grep NEEDED':
  23. -! # - libxml2.so has more than 3300 relocations and depends on libicuuc.
  24. -! # - libicuuc.so has more than 4900 relocations and depends on libstdc++.
  25. -! # - libstdc++.so has more than 4600 relocations.
  26. -! # These are more than 12800 relocations, to perform at program startup.
  27. -! # So, force the use of the included libxml part.
  28. -! gl_LIBXML([yes])
  29. -
  30. - Makefile.am:
  31. - if INCLUDED_LIBXML