* updated knights (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / security / libchipcard1 / hotfix-gcc43.patch
blob69ee3c4cc54288ddf0575bb570645f9e40f569cf
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../libchipcard1/gcc43.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 diff -Nur libchipcard-0.9.1-orig/src/libchipcard/cards/ctfilesystem2.h libchipcard-0.9.1/src/libchipcard/cards/ctfilesystem2.h
18 --- libchipcard-0.9.1-orig/src/libchipcard/cards/ctfilesystem2.h 2008-07-26 13:48:38.000000000 +0000
19 +++ libchipcard-0.9.1/src/libchipcard/cards/ctfilesystem2.h 2008-07-26 14:11:32.000000000 +0000
20 @@ -64,6 +64,8 @@
21 #include <chipcard/ctmemorycard.h>
22 #include <chipcard/ctdatacache.h>
24 +#include <cstring>
27 /**
28 * @page cardfspage Card File System 1.0
29 diff -Nur libchipcard-0.9.1-orig/src/libchipcard/cards/hbcicard.h libchipcard-0.9.1/src/libchipcard/cards/hbcicard.h
30 --- libchipcard-0.9.1-orig/src/libchipcard/cards/hbcicard.h 2008-07-26 13:48:38.000000000 +0000
31 +++ libchipcard-0.9.1/src/libchipcard/cards/hbcicard.h 2008-07-26 13:52:44.000000000 +0000
32 @@ -39,6 +39,7 @@
35 #include <string>
36 +#include <cstring>
37 #include <chipcard/cterror.h>