diff options
author | Daniel Golle <daniel@makrotopia.org> | 2019-12-29 13:28:34 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2019-12-29 14:18:45 +0200 |
commit | b924c3e001c95ce15bdf1a57b2bf5923e62ee51b (patch) | |
tree | 5fe1c0ac7b27f21fcfa8c9586c60aa6ad14f40a2 /net/gnunet/patches | |
parent | c14a88451a3789346a82bc448fed69480f641f4e (diff) |
gnunet: update to version 0.12.1
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'net/gnunet/patches')
-rw-r--r-- | net/gnunet/patches/100-fix-opus-and-pulse-library-detection.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/net/gnunet/patches/100-fix-opus-and-pulse-library-detection.patch b/net/gnunet/patches/100-fix-opus-and-pulse-library-detection.patch new file mode 100644 index 000000000..9b2743655 --- /dev/null +++ b/net/gnunet/patches/100-fix-opus-and-pulse-library-detection.patch @@ -0,0 +1,38 @@ +diff --git a/configure.ac b/configure.ac +index e2c4dd39f..95053e672 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -803,10 +803,12 @@ AC_ARG_WITH(libpulse, + LDFLAGS="-L$with_libpulse/lib $LDFLAGS" + CPPFLAGS="-I$with_libpulse/include $CPPFLAGS" + AC_CHECK_HEADERS(pulse/simple.h, +- AC_CHECK_LIB([pulse], +- [pa_stream_peek], +- EXT_LIB_PATH="-L$with_libpulse/lib $EXT_LIB_PATH" +- pulse=1)) ++ AC_CHECK_DECL([pa_stream_peek], ++ [pulse=1], ++ [], ++ [[ ++ #include <pulse/stream.h> ++ ]])) + ]) + ], + [AC_MSG_RESULT([--with-libpulse not specified]) +@@ -846,10 +848,12 @@ AC_ARG_WITH(libopus, + LDFLAGS="-L$with_libopus/lib $LDFLAGS" + CPPFLAGS="-I$with_libopus/include $CPPFLAGS" + AC_CHECK_HEADERS(opus/opus.h, +- AC_CHECK_LIB([opus], +- [OPUS_SET_GAIN], +- EXT_LIB_PATH="-L$with_libopus/lib $EXT_LIB_PATH" +- opus=1)) ++ AC_CHECK_DECL([OPUS_SET_GAIN], ++ [opus=1], ++ [], ++ [[ ++ #include <opus/opus.h> ++ ]])) + ]) + ], + [AC_MSG_RESULT([--with-libopus not specified]) |