~ubuntu-branches/ubuntu/trusty/alsa-plugins/trusty

« back to all changes in this revision

Viewing changes to debian/patches/usb_stream-Fix-build-with-glibc-2.16.patch

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich
  • Date: 2013-07-26 10:57:49 UTC
  • mfrom: (3.1.16 sid)
  • Revision ID: package-import@ubuntu.com-20130726105749-ymn7cpbi75gmgplw
Tags: 1.0.27-2ubuntu1
* Merge from debian unstable, remaining changes:
  - Create libasound2-plugins-extra package which contains plugins that use
    libav.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
From 81ae188c8d1b42d187b97846e3b31479a00d4720 Mon Sep 17 00:00:00 2001
2
 
From: Takashi Iwai <tiwai@suse.de>
3
 
Date: Tue, 31 Jul 2012 11:18:54 +0200
4
 
Subject: [PATCH] usb_stream: Fix build with glibc 2.16
5
 
 
6
 
_GNU_SOURCE needs to be defined at first.
7
 
 
8
 
Signed-off-by: Takashi Iwai <tiwai@suse.de>
9
 
---
10
 
 usb_stream/pcm_usb_stream.c |    2 +-
11
 
 1 file changed, 1 insertion(+), 1 deletion(-)
12
 
 
13
 
diff --git a/usb_stream/pcm_usb_stream.c b/usb_stream/pcm_usb_stream.c
14
 
index b1fd68f..8220849 100644
15
 
--- a/usb_stream/pcm_usb_stream.c
16
 
+++ b/usb_stream/pcm_usb_stream.c
17
 
@@ -18,8 +18,8 @@
18
 
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
19
 
  */
20
 
 
21
 
-#include <byteswap.h>
22
 
 #define _GNU_SOURCE
23
 
+#include <byteswap.h>
24
 
 #include <sys/mman.h>
25
 
 #include <sys/shm.h>
26
 
 #include <sys/ioctl.h>
27
 
1.7.10.4
28