~cosmos-door/ubuntu/quantal/avarice/fix-ftbfs-1058667

« back to all changes in this revision

Viewing changes to debian/patches/01_support_bfd_include_guard.patch

  • Committer: Mitsuya Shibata
  • Date: 2012-09-29 15:40:07 UTC
  • Revision ID: mty.shibata@gmail.com-20120929154007-dd2nnbymn77pgnve
* Fix FTBFS (LP: #1058667)
  - debian/patches/01_support_bfd_include_guard.patch
    include autoconf.h before bfd.h to support new binutils
* Replace SYSFS with ATTRS in avarice.udev from Debian: #603630

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Support new bfd.h of binutils which depends to include autoconf.h.
 
2
 
 
3
For more information please see:
 
4
http://sourceware.org/bugzilla/show_bug.cgi?id=14072
 
5
http://sourceware.org/bugzilla/show_bug.cgi?id=14243
 
6
Index: avarice/src/jtag2prog.cc
 
7
===================================================================
 
8
--- avarice.orig/src/jtag2prog.cc       2012-09-29 23:35:33.105618000 +0900
 
9
+++ avarice/src/jtag2prog.cc    2012-09-30 00:03:43.606657880 +0900
 
10
@@ -27,6 +27,8 @@
 
11
  */
 
12
 
 
13
 
 
14
+#include "autoconf.h"
 
15
+
 
16
 #include <stdarg.h>
 
17
 #include <stdio.h>
 
18
 #include <stdlib.h>
 
19
Index: avarice/src/jtagprog.cc
 
20
===================================================================
 
21
--- avarice.orig/src/jtagprog.cc        2012-09-29 23:35:33.105618000 +0900
 
22
+++ avarice/src/jtagprog.cc     2012-09-30 00:02:50.994655881 +0900
 
23
@@ -26,6 +26,8 @@
 
24
  */
 
25
 
 
26
 
 
27
+#include "autoconf.h"
 
28
+
 
29
 #include <stdarg.h>
 
30
 #include <stdio.h>
 
31
 #include <stdlib.h>