libdmtx-0.7.5-c99.patch 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. diff -up libdmtx-0.7.5/test/multi_test/Makefile.am.std libdmtx-0.7.5/test/multi_test/Makefile.am
  2. --- libdmtx-0.7.5/test/multi_test/Makefile.am.std 2018-04-06 13:14:23.000000000 +0200
  3. +++ libdmtx-0.7.5/test/multi_test/Makefile.am 2018-04-06 13:14:27.000000000 +0200
  4. @@ -1,4 +1,4 @@
  5. -AM_CPPFLAGS = -Wshadow -Wall -pedantic -ansi
  6. +AM_CPPFLAGS = -Wshadow -Wall -pedantic -std=c99
  7. check_PROGRAMS = multi_test
  8. diff -up libdmtx-0.7.5/test/rotate_test/Makefile.am.std libdmtx-0.7.5/test/rotate_test/Makefile.am
  9. --- libdmtx-0.7.5/test/rotate_test/Makefile.am.std 2018-04-06 13:14:13.000000000 +0200
  10. +++ libdmtx-0.7.5/test/rotate_test/Makefile.am 2018-04-06 13:14:18.000000000 +0200
  11. @@ -1,4 +1,4 @@
  12. -AM_CPPFLAGS = -Wshadow -Wall -pedantic -ansi
  13. +AM_CPPFLAGS = -Wshadow -Wall -pedantic -std=c99
  14. check_PROGRAMS = rotate_test
  15. diff -up libdmtx-0.7.5/test/simple_test/Makefile.am.std libdmtx-0.7.5/test/simple_test/Makefile.am
  16. --- libdmtx-0.7.5/test/simple_test/Makefile.am.std 2018-04-06 13:13:59.000000000 +0200
  17. +++ libdmtx-0.7.5/test/simple_test/Makefile.am 2018-04-06 13:14:04.000000000 +0200
  18. @@ -1,4 +1,4 @@
  19. -AM_CPPFLAGS = -Wshadow -Wall -pedantic -ansi
  20. +AM_CPPFLAGS = -Wshadow -Wall -pedantic -std=c99
  21. check_PROGRAMS = simple_test
  22. diff -up libdmtx-0.7.5/test/unit_test/Makefile.am.std libdmtx-0.7.5/test/unit_test/Makefile.am
  23. --- libdmtx-0.7.5/test/unit_test/Makefile.am.std 2018-04-06 13:13:41.000000000 +0200
  24. +++ libdmtx-0.7.5/test/unit_test/Makefile.am 2018-04-06 13:13:53.000000000 +0200
  25. @@ -1,4 +1,4 @@
  26. -AM_CPPFLAGS = -Wshadow -Wall -pedantic -ansi
  27. +AM_CPPFLAGS = -Wshadow -Wall -pedantic -std=c99
  28. check_PROGRAMS = unit_test