libxo.patch 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. Index: configure.ac
  2. --- configure.ac.orig 2017-06-03 17:28:36.014048000 +0200
  3. +++ configure.ac 2017-06-03 17:29:17.640834000 +0200
  4. @@ -13,7 +13,7 @@
  5. AC_PREREQ(2.2)
  6. AC_INIT([libxo], [0.8.4], [phil@juniper.net])
  7. -AM_INIT_AUTOMAKE([-Wall -Werror foreign -Wno-portability])
  8. +AM_INIT_AUTOMAKE([foreign -Wno-portability])
  9. # Support silent build rules. Requires at least automake-1.11.
  10. # Disable with "configure --disable-silent-rules" or "make V=1"
  11. Index: libxo/xo.h
  12. --- libxo/xo.h.orig 2017-06-03 15:07:19.000000000 +0200
  13. +++ libxo/xo.h 2017-06-03 17:28:36.014446000 +0200
  14. @@ -49,6 +49,8 @@
  15. #define PRINTFLIKE(_x, _y)
  16. #endif /* NO_PRINTFLIKE */
  17. +#include <stdarg.h>
  18. +
  19. /** Formatting types */
  20. typedef unsigned short xo_style_t;
  21. #define XO_STYLE_TEXT 0 /** Generate text output */
  22. Index: warnings.mk
  23. --- warnings.mk.orig 2014-08-30 04:46:54.000000000 +0200
  24. +++ warnings.mk 2017-06-03 17:28:36.014620000 +0200
  25. @@ -11,12 +11,9 @@
  26. # Commonly used sets of warnings
  27. #
  28. -MIN_WARNINGS?= -W -Wall
  29. +MIN_WARNINGS?=
  30. -LOW_WARNINGS?= ${MIN_WARNINGS} \
  31. - -Wstrict-prototypes \
  32. - -Wmissing-prototypes \
  33. - -Wpointer-arith
  34. +LOW_WARNINGS?= ${MIN_WARNINGS}
  35. MEDIUM_WARNINGS?= ${LOW_WARNINGS} -Werror