~ubuntu-branches/ubuntu/oneiric/dma/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/43_fix_ftbfs_Werror.patch

  • Committer: Bazaar Package Importer
  • Author(s): Tarun Kumar Mall
  • Date: 2011-03-09 17:46:56 UTC
  • mfrom: (7.2.1 sid)
  • Revision ID: james.westby@ubuntu.com-20110309174656-7s0buxoxvsos8ua1
Tags: 0.0.2010.06.17-10ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Patch 38_fix_ftbfs_binutils-gold.patch imported from previous
    ubuntu version.
  - Patch 38_fix_ftbfs_binutils-gold.patch renamed to
    42_fix_ftbfs_binutils-gold.patch
  - Patch 43_fix_ftbfs_Werror.patch added to fix 
    crypto.c:92:7: error: assignment discards 'const' qualifier 
    from pointer target type [-Werror] "Closes: #622052"

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: dma-0.0.2010.06.17-10ubuntu1/crypto.c
 
2
===================================================================
 
3
--- dma-0.0.2010.06.17-10ubuntu1.orig/crypto.c  2011-05-04 19:25:17.573766644 +0000
 
4
+++ dma-0.0.2010.06.17-10ubuntu1/crypto.c       2011-05-04 19:26:43.073766635 +0000
 
5
@@ -80,7 +80,7 @@
 
6
 smtp_init_crypto(int fd, int feature)
 
7
 {
 
8
        SSL_CTX *ctx = NULL;
 
9
-       SSL_METHOD *meth = NULL;
 
10
+       const SSL_METHOD *meth = NULL;
 
11
        X509 *cert;
 
12
        int error;
 
13