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.

76 lines
2.6 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/fake/gnophone/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 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. --- ./src/gnophone_gui.c.orig 2004-12-02 02:35:20.510570584 +0100
  20. +++ ./src/gnophone_gui.c 2004-12-02 02:35:30.377070648 +0100
  21. @@ -1396,6 +1396,7 @@
  22. p->moving = 0;
  23. break;
  24. default:
  25. + ;
  26. }
  27. return FALSE;
  28. }
  29. --- ./sounds/raw2h.c.orig 2004-12-02 02:24:39.857964584 +0100
  30. +++ ./sounds/raw2h.c 2004-12-02 02:29:13.291396384 +0100
  31. @@ -28,20 +28,7 @@
  32. res = read(i, buf, sizeof(buf));
  33. assert(res >= 0);
  34. assert(res < sizeof(buf));
  35. - fprintf(o,
  36. -"/*
  37. - * Signed 16-bit audio data
  38. - *
  39. - * Source: %s
  40. - *
  41. - * Copyright (C) 1999, Mark Spencer and Linux Support Services
  42. - *
  43. - * Distributed under the terms of the GNU General Public License
  44. - *
  45. - */
  46. -
  47. -static signed short %s[] = {
  48. -", argv[1], n);
  49. + fprintf(o, "/*\n * Signed 16-bit audio data\n *\n * Source: %s\n *\n * Copyright (C) 1999, Mark Spencer and Linux Support Services\n *\n * Distributed under the terms of the GNU General Public License\n *\n */\n \n static signed short %s[] = {\n ", argv[1], n);
  50. for (x=0;x<res/2 - 1;x++) {
  51. fprintf(o, "%#06hx, ", buf[x]);
  52. if ((x % 10) == 9)
  53. --- ./sounds/mkdtmf.c.orig 2004-12-02 02:29:24.684664344 +0100
  54. +++ ./sounds/mkdtmf.c 2004-12-02 02:30:05.518456664 +0100
  55. @@ -25,19 +25,7 @@
  56. if (argc != 3)
  57. exit(1);
  58. - printf(
  59. -"/*
  60. - * Signed 16-bit audio data representing '%s' in dtmf
  61. - *
  62. - * Copyright (C) 2000, Linux Support Services, Inc.
  63. - *
  64. - * Distributed under the terms of the GNU General
  65. - * Public License
  66. - *
  67. - */
  68. -
  69. -static short %s[] = {
  70. -", argv[1], argv[2]);
  71. + printf( "/* \n * Signed 16-bit audio data representing '%s' in dtmf\n * \n * Copyright (C) 2000, Linux Support Services, Inc.\n * \n * Distributed under the terms of the GNU General\n * Public License\n *\n */\n \n static short %s[] = { \n ", argv[1], argv[2]);
  72. ap = argv[1];
  73. while (*ap) {