diff options
author | 2008-01-22 04:32:20 +0000 | |
---|---|---|
committer | 2008-01-22 04:32:20 +0000 | |
commit | aafb1e3c0e1f283692ecd9ac6d3c21aabffc1cad (patch) | |
tree | 30653dd3de8b4de75f468ec770bbf2e8a9ad7779 /net-voip/linphone/files | |
parent | rm old version (diff) | |
download | gentoo-2-aafb1e3c0e1f283692ecd9ac6d3c21aabffc1cad.tar.gz gentoo-2-aafb1e3c0e1f283692ecd9ac6d3c21aabffc1cad.tar.bz2 gentoo-2-aafb1e3c0e1f283692ecd9ac6d3c21aabffc1cad.zip |
Fix from upstream for building with USE=-alsa.
(Portage version: 2.1.4)
Diffstat (limited to 'net-voip/linphone/files')
-rw-r--r-- | net-voip/linphone/files/linphone-2.0.1-no-alsa.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net-voip/linphone/files/linphone-2.0.1-no-alsa.patch b/net-voip/linphone/files/linphone-2.0.1-no-alsa.patch new file mode 100644 index 000000000000..934b46f8c41b --- /dev/null +++ b/net-voip/linphone/files/linphone-2.0.1-no-alsa.patch @@ -0,0 +1,21 @@ +fix from upstream for building with alsa disabled + +Index: mediastreamer2/src/mssndcard.c +=================================================================== +RCS file: /sources/linphone/linphone/mediastreamer2/src/mssndcard.c,v +retrieving revision 1.7 +retrieving revision 1.8 +diff -u -p -r1.7 -r1.8 +--- mediastreamer2/src/mssndcard.c 12 Oct 2007 13:31:54 -0000 1.7 ++++ mediastreamer2/src/mssndcard.c 10 Dec 2007 17:12:40 -0000 1.8 +@@ -152,3 +152,10 @@ void ms_snd_card_destroy(MSSndCard *obj) + if (obj->id!=NULL) ms_free(obj->id); + ms_free(obj); + } ++ ++#ifndef __ALSA_ENABLED__ ++MSSndCard * ms_alsa_card_new_custom(const char *pcmdev, const char *mixdev){ ++ ms_warning("Alsa support not available in this build of mediastreamer2"); ++ return NULL; ++} ++#endif |