* updated ksmtp (21.12.1 -> 21.12.2), untested
[t2-trunk.git] / package / printing / ptouch-driver / hotfix-gcc43.patch
blobca7deb4d1b7967009f264a00dc84d1d3211e3bbb
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../ptouch-driver/gcc43.patch
5 # Copyright (C) 2009 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 -urp ptouch-driver-1.2.orig/rastertoptch.c ptouch-driver-1.2/rastertoptch.c
18 --- ptouch-driver-1.2.orig/rastertoptch.c 2006-09-08 16:39:27.000000000 +0200
19 +++ ptouch-driver-1.2/rastertoptch.c 2008-02-13 16:37:13.000000000 +0100
20 @@ -311,6 +311,7 @@
21 #include <math.h>
22 #include <cups/raster.h>
23 #include <cups/cups.h>
24 +#include <limits.h>
26 #if STDC_HEADERS
27 # include <string.h>