|
|
@ -0,0 +1,39 @@ |
|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
|
|
# |
|
|
|
# Filename: package/.../babytrans/babytrans-0.9.2-gcc43.patch |
|
|
|
# Copyright (C) 2010 The OpenSDE Project |
|
|
|
# |
|
|
|
# More information can be found in the files COPYING and README. |
|
|
|
# |
|
|
|
# This patch file is dual-licensed. It is available under the license the |
|
|
|
# patched project is licensed under, as long as it is an OpenSource license |
|
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
|
|
# of the GNU General Public License as published by the Free Software |
|
|
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
|
|
# version. |
|
|
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
|
|
|
|
diff -ruN babytrans-0.9.2-orig/src/libbab.cc babytrans-0.9.2/src/libbab.cc
|
|
|
|
--- babytrans-0.9.2-orig/src/libbab.cc 2002-11-16 10:53:44.000000000 +0100
|
|
|
|
+++ babytrans-0.9.2/src/libbab.cc 2010-08-26 12:44:03.300146530 +0200
|
|
|
|
@@ -30,6 +30,7 @@
|
|
|
|
#include <list> |
|
|
|
#include <cctype> |
|
|
|
#include <cerrno> |
|
|
|
+#include <cstring>
|
|
|
|
|
|
|
|
#ifdef ENABLE_NLS |
|
|
|
#include <libintl.h> |
|
|
|
diff -ruN babytrans-0.9.2-orig/src/main.cc babytrans-0.9.2/src/main.cc
|
|
|
|
--- babytrans-0.9.2-orig/src/main.cc 2010-08-26 12:43:33.652253135 +0200
|
|
|
|
+++ babytrans-0.9.2/src/main.cc 2010-08-26 12:41:52.284552388 +0200
|
|
|
|
@@ -32,6 +32,8 @@
|
|
|
|
#include <string> |
|
|
|
#include <vector> |
|
|
|
#include <cerrno> |
|
|
|
+#include <cstdlib>
|
|
|
|
+#include <cstring>
|
|
|
|
|
|
|
|
#include <sys/stat.h> // for stat() |
|
|
|
#include <unistd.h> // for stat() |