~ubuntu-branches/ubuntu/vivid/oss4/vivid-proposed

« back to all changes in this revision

Viewing changes to debian/patches/gcc-4.6.patch

  • Committer: Package Import Robot
  • Author(s): Sebastien NOEL
  • Date: 2012-11-19 11:47:24 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20121119114724-svu8mq7x3pk64nez
Tags: 4.2-build2007-1
* New upstream release.
* Acknowledge NMU, thanks Michael Gilbert.
* Add debian/patches/110_ld-as-needed.patch: Rearrange order of linker
  arguments to fix building with "ld --as-needed" (closes: #630737).
* Add missing dependency on dpkg-dev to oss4-dkms and oss4-source
  (closes: #687086).
* Fix typo in the changelog (closes: #628876, #675933)
* Add debian/patches/002_fix-linux-oss_native_word.patch (closes: #693657).
  Thanks to Ben Hutchings.
* Add debian/patches/003_linux-error-logging-fixes.patch (closes: #693657).
  Thanks to Ben Hutchings.
* check for /lib/modules/${kernelver}/build in addition of
  /lib/modules/${kernelver}/source (closes: #587191).
* oss4-dkms.dkms.in: fix 'CLEAN' rules (closes: #653374).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
--- oss4-4.2-build2004/cmd/ossmixd/ossmixd.c
2
 
+++ oss4-4.2-build2004/cmd/ossmixd/ossmixd.c
3
 
@@ -161,7 +161,7 @@
4
 
   oss_mixext *ext;
5
 
   int i;
6
 
   int nrext;
7
 
-  int value, prev_value;
8
 
+  int value, prev_value __attribute__((unused));
9
 
 
10
 
   nrext = ossmix_get_nrext (mixernum);
11
 
 
12
 
--- oss4-4.2-build2004/cmd/ossphone/ossphone.c
13
 
+++ oss4-4.2-build2004/cmd/ossphone/ossphone.c
14
 
@@ -151,7 +151,7 @@
15
 
   printf("Waiting for dial tone...\n");
16
 
   while (dc_level < min_dc_level)
17
 
        {
18
 
-        int dummy;
19
 
+        int dummy __attribute__((unused));
20
 
          modem_read(modem_in_fd, buf, sizeof(buf));
21
 
          dummy=write(dev_dsp_fd, buf, sizeof(buf));
22
 
 
23
 
@@ -187,7 +187,7 @@
24
 
        {
25
 
          if (dtmf_fill_digit (digit, digit_len, *phone_number) >= 0)
26
 
            {
27
 
-            int dummy;
28
 
+            int dummy __attribute__((unused));
29
 
 
30
 
              printf("%c", *phone_number);
31
 
              fflush(stdout);
32
 
@@ -381,7 +381,7 @@
33
 
 
34
 
     while (1)
35
 
          {
36
 
-          int dummy;
37
 
+          int dummy __attribute__((unused));
38
 
            FD_ZERO(&rfds);
39
 
            FD_SET(modem_in_fd, &rfds);
40
 
            FD_SET(dev_dsp_fd, &rfds);
41
 
--- oss4-4.2-build2004/cmd/ossplay/ossplay_parser.c
42
 
+++ oss4-4.2-build2004/cmd/ossplay/ossplay_parser.c
43
 
@@ -764,7 +764,7 @@
44
 
          pos = l + 7, tmp, vers;
45
 
   unsigned char buf[256], block_type;
46
 
   flag plock = 0;
47
 
-  int speed = 11025, channels = 1, bits = 8, format = AFMT_U8;
48
 
+  int speed = 11025, channels = 1, bits __attribute__((unused)) = 8, format = AFMT_U8;
49
 
   errors_t ret;
50
 
 
51
 
   if (read (fd, hdr + 19, 7) < 7)
52
 
@@ -1685,7 +1685,7 @@
53
 
 caf_desc_parse (uint32 id, unsigned char * buf, big_t len, file_t * f)
54
 
 {
55
 
   int format;
56
 
-  uint32 bits, bytes_per_packet, flags, frames_per_packet;
57
 
+  uint32 bits, bytes_per_packet, flags, frames_per_packet __attribute__((unused));
58
 
 
59
 
   {
60
 
     /*
61