OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../colordiff/colordiff-1.0.9-xmlto-skip-validation.patch
  5. # Copyright (C) 2011 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Description: Do not attempt to validate the input before processing
  17. This is a workaround to get the man pages generated, because they do not
  18. validate correctly.
  19. --- colordiff-1.0.9/Makefile.orig 2011-05-11 12:07:50.776002080 +0200
  20. +++ colordiff-1.0.9/Makefile 2011-05-11 12:08:33.900002073 +0200
  21. @@ -10,10 +10,10 @@
  22. doc: colordiff.xml cdiff.xml
  23. - xmlto -vv man colordiff.xml
  24. - xmlto -vv man cdiff.xml
  25. - xmlto -vv txt colordiff.xml
  26. - xmlto -vv html-nochunks colordiff.xml
  27. + xmlto -vv --skip-validation man colordiff.xml
  28. + xmlto -vv --skip-validation man cdiff.xml
  29. + xmlto -vv --skip-validation txt colordiff.xml
  30. + xmlto -vv --skip-validation html-nochunks colordiff.xml
  31. mv colordiff.txt README
  32. perl -p -i -e 's#<head>#<head><link rel=\"stylesheet\" type=\"text/css\" href=\"colordiff.css\">#' colordiff.html
  33. perl -p -i -e 's#</body>#</div></body>#' colordiff.html