mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

85 lines
2.7 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/blindcoder/xjdic/errno.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -pruN tmp_orig/exjdxgen.c tmp/exjdxgen.c
  20. --- tmp_orig/exjdxgen.c 1998-05-24 17:43:37.000000000 +0200
  21. +++ tmp/exjdxgen.c 2004-09-24 21:36:17.785523480 +0200
  22. @@ -25,6 +25,7 @@
  23. /*#include <stdlib.h>*/
  24. #include <ctype.h>
  25. #include <string.h>
  26. +#include <errno.h>
  27. #include "xjdic.h"
  28. #define TRUE 1
  29. diff -pruN tmp_orig/makekanjstroke.c tmp/makekanjstroke.c
  30. --- tmp_orig/makekanjstroke.c 1996-01-20 06:38:30.000000000 +0100
  31. +++ tmp/makekanjstroke.c 2004-09-24 21:36:20.687082376 +0200
  32. @@ -1,6 +1,7 @@
  33. #include <stdio.h>
  34. #include <string.h>
  35. #include <stdlib.h>
  36. +#include <errno.h>
  37. FILE *fi,*fo,*fopen();
  38. unsigned char instr[1000],*ptr;
  39. diff -pruN tmp_orig/xjdclient.c tmp/xjdclient.c
  40. --- tmp_orig/xjdclient.c 1998-08-31 12:56:56.000000000 +0200
  41. +++ tmp/xjdclient.c 2004-09-24 21:36:24.014576520 +0200
  42. @@ -36,6 +36,7 @@
  43. #include <stdlib.h>
  44. #include <unistd.h>
  45. #include <signal.h>
  46. +#include <errno.h>
  47. #include "xjdic.h"
  48. #define CVERBOSE 0
  49. diff -pruN tmp_orig/xjdsa.c tmp/xjdsa.c
  50. --- tmp_orig/xjdsa.c 1998-08-30 02:31:20.000000000 +0200
  51. +++ tmp/xjdsa.c 2004-09-24 21:36:36.367698560 +0200
  52. @@ -28,6 +28,7 @@
  53. #include <sys/stat.h>
  54. #include <stdlib.h>
  55. #include <signal.h>
  56. +#include <errno.h>
  57. #include "xjdic.h"
  58. unsigned char Dnamet[10][100],XJDXnamet[10][100];
  59. diff -pruN tmp_orig/xjdserver.c tmp/xjdserver.c
  60. --- tmp_orig/xjdserver.c 2003-05-28 07:58:02.000000000 +0200
  61. +++ tmp/xjdserver.c 2004-09-24 21:36:43.778571936 +0200
  62. @@ -28,6 +28,7 @@
  63. #include <netdb.h>
  64. #include <stdlib.h>
  65. #include <signal.h>
  66. +#include <errno.h>
  67. #include "xjdic.h"
  68. #define SVERBOSE 0
  69. diff -pruN tmp_orig/xjdxgen.c tmp/xjdxgen.c
  70. --- tmp_orig/xjdxgen.c 2003-05-28 07:58:29.000000000 +0200
  71. +++ tmp/xjdxgen.c 2004-09-24 21:36:46.786114720 +0200
  72. @@ -26,6 +26,7 @@
  73. /*#include <stdlib.h>*/
  74. #include <ctype.h>
  75. #include <string.h>
  76. +#include <errno.h>
  77. #include "xjdic.h"
  78. #define TRUE 1