0001-has_bsd_printf.patch 730 B

1234567891011121314151617181920212223242526
  1. lib/misc/msgList.c: missing #ifdef
  2. This macro checks for BSD style printf(), which is not present
  3. when compiling for uClibc. The linked functions are unnecessary in
  4. this case, and they break compilation.
  5. Signed-off-by: Karoly Kasza <kaszak@gmail.com>
  6. --- openvmtools-stable-9.10.0.orig/open-vm-tools/lib/misc/msgList.c 2015-06-17 10:01:00.000000000 +0200
  7. +++ openvmtools-stable-9.10.0/open-vm-tools/lib/misc/msgList.c 2015-06-17 10:01:00.000000000 +0200
  8. @@ -487,6 +487,7 @@
  9. return messages->id;
  10. }
  11. +#ifdef HAS_BSD_PRINTF
  12. /*
  13. *----------------------------------------------------------------------
  14. @@ -566,6 +567,7 @@
  15. }
  16. }
  17. +#endif
  18. /*
  19. *----------------------------------------------------------------------