pulseaudio-compat-with-json-c-0.11.patch 791 B

1234567891011121314151617181920212223242526
  1. From 759c0bc6f990240287a14fa6dec029ecea581463 Mon Sep 17 00:00:00 2001
  2. From: Arun Raghavan <arun.raghavan@collabora.co.uk>
  3. Date: Sat, 27 Apr 2013 03:27:05 +0000
  4. Subject: build-sys: json-c changed everything :(
  5. json-c 0.11 ships a pkg-config file with a different name, and changes
  6. the name of its library as well.
  7. ---
  8. (limited to 'configure.ac')
  9. diff --git a/configure.ac b/configure.ac
  10. index c8161a4..b1bd21a 100644
  11. --- a/configure.ac
  12. +++ b/configure.ac
  13. @@ -624,7 +624,8 @@ AM_CONDITIONAL([HAVE_TESTS], [test "x$HAVE_LIBCHECK" = x1])
  14. #### json parsing ####
  15. -PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ])
  16. +PKG_CHECK_MODULES(LIBJSON, [ json-c >= 0.11 ], [],
  17. + [PKG_CHECK_MODULES(LIBJSON, [ json >= 0.9 ])])
  18. AC_SUBST(LIBJSON_CFLAGS)
  19. AC_SUBST(LIBJSON_LIBS)
  20. --
  21. cgit v0.9.0.2-2-gbebe