From 1002f3b65dfe2f011bac0dcfefaa78ceeac46c6c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 10 Oct 2004 11:47:42 +0000 Subject: [PATCH] for [2004092508500224832] git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@4527 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- .../blindcoder/{xjdic23 => xjdic}/errno.patch | 0 .../{xjdic23 => xjdic}/hotfix.patch | 0 .../xjdic/no-random-return-value.patch | 37 +++++++++++++++++++ .../{xjdic23 => xjdic}/xjdic23.cache | 0 .../{xjdic23 => xjdic}/xjdic23.conf | 0 .../{xjdic23 => xjdic}/xjdic23.desc | 0 6 files changed, 37 insertions(+) rename package/blindcoder/{xjdic23 => xjdic}/errno.patch (100%) rename package/blindcoder/{xjdic23 => xjdic}/hotfix.patch (100%) create mode 100644 package/blindcoder/xjdic/no-random-return-value.patch rename package/blindcoder/{xjdic23 => xjdic}/xjdic23.cache (100%) rename package/blindcoder/{xjdic23 => xjdic}/xjdic23.conf (100%) rename package/blindcoder/{xjdic23 => xjdic}/xjdic23.desc (100%) diff --git a/package/blindcoder/xjdic23/errno.patch b/package/blindcoder/xjdic/errno.patch similarity index 100% rename from package/blindcoder/xjdic23/errno.patch rename to package/blindcoder/xjdic/errno.patch diff --git a/package/blindcoder/xjdic23/hotfix.patch b/package/blindcoder/xjdic/hotfix.patch similarity index 100% rename from package/blindcoder/xjdic23/hotfix.patch rename to package/blindcoder/xjdic/hotfix.patch diff --git a/package/blindcoder/xjdic/no-random-return-value.patch b/package/blindcoder/xjdic/no-random-return-value.patch new file mode 100644 index 000000000..75d92e838 --- /dev/null +++ b/package/blindcoder/xjdic/no-random-return-value.patch @@ -0,0 +1,37 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/blindcoder/xjdic23/no-random-return-value.patch +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it 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. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + + +The package failed on PowerPC since it returned a random value in main. + + - Rene Rebe + +--- ./xjdxgen.c.orig 2003-10-01 09:18:58.000000000 +0200 ++++ ./xjdxgen.c 2003-10-01 09:47:06.000000000 +0200 +@@ -273,6 +273,7 @@ + jindex[0] = diclen+jiver; + fwrite(jindex,sizeof(long),indptr+1,fp); + fclose(fp); ++ exit(0); + } + /*======function to sort jindex table====================*/ + void jqsort(long lhs, long rhs) diff --git a/package/blindcoder/xjdic23/xjdic23.cache b/package/blindcoder/xjdic/xjdic23.cache similarity index 100% rename from package/blindcoder/xjdic23/xjdic23.cache rename to package/blindcoder/xjdic/xjdic23.cache diff --git a/package/blindcoder/xjdic23/xjdic23.conf b/package/blindcoder/xjdic/xjdic23.conf similarity index 100% rename from package/blindcoder/xjdic23/xjdic23.conf rename to package/blindcoder/xjdic/xjdic23.conf diff --git a/package/blindcoder/xjdic23/xjdic23.desc b/package/blindcoder/xjdic/xjdic23.desc similarity index 100% rename from package/blindcoder/xjdic23/xjdic23.desc rename to package/blindcoder/xjdic/xjdic23.desc