* added the Unlicense as valid in misc/share/REGISTER
[t2sde.git] / package / dictionary / xjdic23 / no-random-return-value.patch
blob82cffb3cd8f5693042308b3b241d3cb270c1004a
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../xjdic23/no-random-return-value.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 ---
19 The package failed on PowerPC since it returned a random value in main.
21 - Rene Rebe <rene@exactcode.de>
23 --- ./xjdxgen.c.orig 2003-10-01 09:18:58.000000000 +0200
24 +++ ./xjdxgen.c 2003-10-01 09:47:06.000000000 +0200
25 @@ -273,6 +273,7 @@
26 jindex[0] = diclen+jiver;
27 fwrite(jindex,sizeof(long),indptr+1,fp);
28 fclose(fp);
29 + exit(0);
31 /*======function to sort jindex table====================*/
32 void jqsort(long lhs, long rhs)