Dash:
[t2.git] / package / mail / metamail / 50_mm-2.7-linux.patch
blob69ee7bbff65b128c72fc1e6eac9e89be09006895
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../metamail/50_mm-2.7-linux.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
7 #
8 # More information can be found in the files COPYING and README.
9 #
10 # This patch file is dual-licensed. It is available under the license the
11 # patched project is licensed under, as long as it is an OpenSource license
12 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
13 # of the GNU General Public License as published by the Free Software
14 # Foundation; either version 2 of the License, or (at your option) any later
15 # version.
16 # --- T2-COPYRIGHT-NOTE-END ---
18 --- mm2.7/src/config.h.linux Sun Jun 18 21:59:38 2000
19 +++ mm2.7/src/config.h Sun Jun 18 21:59:10 2000
20 @@ -100,9 +100,11 @@
21 #endif
23 #ifdef SYSV
24 -#define killpg(a, b) kill(-(a), (b))
25 -#define bcopy(a, b, c) memcpy(b, a, c)
26 -#define bzero(a, b) memset(a, 0, b)
27 +#ifndef linux
28 +# define killpg(a, b) kill(-(a), (b))
29 +# define bcopy(a, b, c) memcpy(b, a, c)
30 +# define bzero(a, b) memset(a, 0, b)
31 +#endif
32 #define bcmp memcmp
33 #define index strchr
34 #define rindex strrchr