File: 120-gcc-4.4.dpatch

package info (click to toggle)
log4cxx 0.10.0-1.1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 16,800 kB
  • ctags: 6,258
  • sloc: cpp: 33,923; sh: 8,852; xml: 4,684; makefile: 568; java: 48
file content (18 lines) | stat: -rw-r--r-- 663 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh /usr/share/dpatch/dpatch-run
## 120-gcc-4.4.dpatch by Martin Michlmayr <tbm@cyrius.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: FTBFS with GCC 4.4: missing #include

@DPATCH@
diff -urNad log4cxx-0.10.0~/src/examples/cpp/console.cpp log4cxx-0.10.0/src/examples/cpp/console.cpp
--- log4cxx-0.10.0~/src/examples/cpp/console.cpp	2009-12-21 17:09:09.000000000 +0100
+++ log4cxx-0.10.0/src/examples/cpp/console.cpp	2009-12-21 17:09:24.000000000 +0100
@@ -15,6 +15,7 @@
  * limitations under the License.
  */
 
+#include <stdio.h>
 #include <stdlib.h>
 #include <log4cxx/logger.h>
 #include <log4cxx/consoleappender.h>