File: 120-gcc-4.4.patch

package info (click to toggle)
log4cxx 0.10.0-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 17,028 kB
  • ctags: 6,434
  • sloc: cpp: 33,940; sh: 8,852; xml: 4,686; makefile: 508; 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>