isapnptools-musl-2.patch 938 B

1234567891011121314151617181920212223242526272829303132
  1. --- isapnptools-1.27/include/isapnp/iopl.h.orig 2001-05-15 17:37:05.000000000 -0300
  2. +++ isapnptools-1.27/include/isapnp/iopl.h 2020-09-04 20:16:25.018829194 -0300
  3. @@ -58,7 +58,7 @@
  4. # ifdef _AXP_
  5. # include <sys/io.h>
  6. # else
  7. -# include <asm/io.h>
  8. +# include <sys/io.h>
  9. # endif
  10. # endif /* __GLIBC__ */
  11. #else
  12. --- isapnptools-1.27/src/callbacks.c.orig 2001-05-15 17:37:04.000000000 -0300
  13. +++ isapnptools-1.27/src/callbacks.c 2020-09-04 20:16:50.906948798 -0300
  14. @@ -49,6 +49,7 @@
  15. #include <isapnp/callbacks.h>
  16. #endif
  17. #include <stdio.h>
  18. +#include <stdlib.h>
  19. #include <errno.h>
  20. #include <string.h>
  21. --- isapnptools-1.27/src/pnp-select.c.orig 2001-05-15 17:37:04.000000000 -0300
  22. +++ isapnptools-1.27/src/pnp-select.c 2020-09-04 20:17:23.791306819 -0300
  23. @@ -17,6 +17,7 @@
  24. #include <isapnp/resource.h>
  25. #include <isapnp/pnp.h>
  26. +#include <stddef.h>
  27. #define ASSERT(condition) /* as nothing */