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.

57 lines
1.8 KiB

  1. --- ./src/gnophone_gui.c.orig 2004-12-02 02:35:20.510570584 +0100
  2. +++ ./src/gnophone_gui.c 2004-12-02 02:35:30.377070648 +0100
  3. @@ -1396,6 +1396,7 @@
  4. p->moving = 0;
  5. break;
  6. default:
  7. + ;
  8. }
  9. return FALSE;
  10. }
  11. --- ./sounds/raw2h.c.orig 2004-12-02 02:24:39.857964584 +0100
  12. +++ ./sounds/raw2h.c 2004-12-02 02:29:13.291396384 +0100
  13. @@ -28,20 +28,7 @@
  14. res = read(i, buf, sizeof(buf));
  15. assert(res >= 0);
  16. assert(res < sizeof(buf));
  17. - fprintf(o,
  18. -"/*
  19. - * Signed 16-bit audio data
  20. - *
  21. - * Source: %s
  22. - *
  23. - * Copyright (C) 1999, Mark Spencer and Linux Support Services
  24. - *
  25. - * Distributed under the terms of the GNU General Public License
  26. - *
  27. - */
  28. -
  29. -static signed short %s[] = {
  30. -", argv[1], n);
  31. + 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);
  32. for (x=0;x<res/2 - 1;x++) {
  33. fprintf(o, "%#06hx, ", buf[x]);
  34. if ((x % 10) == 9)
  35. --- ./sounds/mkdtmf.c.orig 2004-12-02 02:29:24.684664344 +0100
  36. +++ ./sounds/mkdtmf.c 2004-12-02 02:30:05.518456664 +0100
  37. @@ -25,19 +25,7 @@
  38. if (argc != 3)
  39. exit(1);
  40. - printf(
  41. -"/*
  42. - * Signed 16-bit audio data representing '%s' in dtmf
  43. - *
  44. - * Copyright (C) 2000, Linux Support Services, Inc.
  45. - *
  46. - * Distributed under the terms of the GNU General
  47. - * Public License
  48. - *
  49. - */
  50. -
  51. -static short %s[] = {
  52. -", argv[1], argv[2]);
  53. + 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]);
  54. ap = argv[1];
  55. while (*ap) {