xf86-input-vmmouse-13.0.0-build_fix-1.patch 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Submitted By: Armin K. <krejzi at email dot com>
  2. Date: 2014-08-23
  3. Initial Package Version: 13.0.0
  4. Upstream Status: Fixed
  5. Origin: Upstream
  6. Description: Fixes building with Glibc 2.20
  7. --- a/shared/vmmouse_client.c 2013-01-15 19:36:50.000000000 +0100
  8. +++ b/shared/vmmouse_client.c 2014-08-23 15:13:54.336165103 +0200
  9. @@ -35,6 +35,10 @@
  10. *
  11. */
  12. +#ifdef HAVE_CONFIG_H
  13. +#include "config.h"
  14. +#endif
  15. +
  16. #include "vmmouse_client.h"
  17. #include "vmmouse_proto.h"
  18. --- a/shared/vmmouse_proto.c 2013-01-15 19:36:50.000000000 +0100
  19. +++ b/shared/vmmouse_proto.c 2014-08-23 15:13:54.336165103 +0200
  20. @@ -33,6 +33,10 @@
  21. */
  22. +#ifdef HAVE_CONFIG_H
  23. +#include "config.h"
  24. +#endif
  25. +
  26. #include "vmmouse_proto.h"
  27. --- a/shared/vmmouse_proto.h 2013-01-15 19:36:50.000000000 +0100
  28. +++ b/shared/vmmouse_proto.h 2014-08-23 15:13:54.336165103 +0200
  29. @@ -36,11 +36,6 @@
  30. #ifndef _VMMOUSE_PROTO_H_
  31. #define _VMMOUSE_PROTO_H_
  32. -
  33. -#ifdef HAVE_CONFIG_H
  34. -#include "config.h"
  35. -#endif
  36. -
  37. #include <stdint.h>
  38. #ifdef HAVE_XORG_SERVER_1_1_0
  39. --- a/tools/vmmouse_detect.c 2013-01-15 19:36:50.000000000 +0100
  40. +++ b/tools/vmmouse_detect.c 2014-08-23 15:13:54.336165103 +0200
  41. @@ -26,14 +26,14 @@
  42. */
  43. -#include <stdlib.h>
  44. -#include <signal.h>
  45. -#include "vmmouse_client.h"
  46. -
  47. #ifdef HAVE_CONFIG_H
  48. #include "config.h"
  49. #endif
  50. +#include <stdlib.h>
  51. +#include <signal.h>
  52. +#include "vmmouse_client.h"
  53. +
  54. void
  55. segvCB(int sig)
  56. {