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.

41 lines
1.6 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../e2fsprogs/util-fix-subst-compile.patch
  5. # Copyright (C) 2014 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. CPPFLAGS are not used and thus it cannot find the generated config.h in lib
  17. util/Makefile snippet:
  18. -------------------------------------------------------------------
  19. CPPFLAGS = -I. -I$(top_builddir)/lib -I$(top_srcdir)/lib
  20. ALL_CFLAGS = $(CPPFLAGS) $(CFLAGS)
  21. -------------------------------------------------------------------
  22. This is a workaround for avoiding this compile time error:
  23. -------------------------------------------------------------------
  24. CC ../../util/subst.c
  25. ../../util/subst.c:8:20: error: config.h: No such file or directory
  26. -------------------------------------------------------------------
  27. --- ./util/Makefile.in.orig 2014-07-06 21:32:04.537691351 +0200
  28. +++ ./util/Makefile.in 2014-07-06 21:33:07.791169071 +0200
  29. @@ -15,7 +15,7 @@
  30. .c.o:
  31. $(E) " CC $<"
  32. - $(Q) $(BUILD_CC) -c $(BUILD_CFLAGS) $< -o $@
  33. + $(Q) $(BUILD_CC) -c $(BUILD_CFLAGS) $(ALL_CFLAGS) $< -o $@
  34. $(Q) $(CHECK_CMD) $(ALL_CFLAGS) $<
  35. PROGS= subst symlinks