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.

79 lines
3.1 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/clifford/xmp/gcc34.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 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/loaders/it_load.c.orig 2000-12-29 19:08:28.000000000 +0100
  20. +++ ./src/loaders/it_load.c 2004-03-11 12:38:20.459060960 +0100
  21. @@ -327,14 +327,14 @@
  22. #define BUILD_ENV(X) { \
  23. fread (&env, 1, sizeof (env), f); \
  24. - xxih[i].##X##ei.flg = env.flg & IT_ENV_ON ? XXM_ENV_ON : 0; \
  25. - xxih[i].##X##ei.flg |= env.flg & IT_ENV_LOOP ? XXM_ENV_LOOP : 0; \
  26. - xxih[i].##X##ei.flg |= env.flg & IT_ENV_SLOOP ? XXM_ENV_SUS : 0; \
  27. - xxih[i].##X##ei.npt = env.num; \
  28. - xxih[i].##X##ei.sus = env.slb; \
  29. - xxih[i].##X##ei.sue = env.sle; \
  30. - xxih[i].##X##ei.lps = env.lpb; \
  31. - xxih[i].##X##ei.lpe = env.lpe; \
  32. + xxih[i].X##ei.flg = env.flg & IT_ENV_ON ? XXM_ENV_ON : 0; \
  33. + xxih[i].X##ei.flg |= env.flg & IT_ENV_LOOP ? XXM_ENV_LOOP : 0; \
  34. + xxih[i].X##ei.flg |= env.flg & IT_ENV_SLOOP ? XXM_ENV_SUS : 0; \
  35. + xxih[i].X##ei.npt = env.num; \
  36. + xxih[i].X##ei.sus = env.slb; \
  37. + xxih[i].X##ei.sue = env.sle; \
  38. + xxih[i].X##ei.lps = env.lpb; \
  39. + xxih[i].X##ei.lpe = env.lpe; \
  40. if (env.num) xx##X##e[i] = calloc (4, env.num); \
  41. for (j = 0; j < env.num; j++) { \
  42. L_ENDIAN16 (env.node[j].x); \
  43. --- ./src/xmms/plugin.c.orig 2001-02-04 01:47:38.000000000 +0100
  44. +++ ./src/xmms/plugin.c 2004-03-11 12:48:04.595258760 +0100
  45. @@ -284,7 +284,7 @@
  46. xmp_cfg.filter = TRUE;
  47. xmp_cfg.pan_amplitude = 80;
  48. -#define CFGREADINT(x) xmms_cfg_read_int (cfg, "XMP", #x, &xmp_cfg.##x)
  49. +#define CFGREADINT(x) xmms_cfg_read_int (cfg, "XMP", #x, &xmp_cfg.x)
  50. filename = g_strconcat(g_get_home_dir(), "/.xmms/config", NULL);
  51. if ((cfg = xmms_cfg_open_file(filename))) {
  52. @@ -668,12 +668,12 @@
  53. /* Options */
  54. -#define OPTCHECK(w,l,o) { \
  55. +#define OPTCHECK(w,l,ox) { \
  56. w = gtk_check_button_new_with_label(l); \
  57. gtk_object_set_data(GTK_OBJECT(xmp_conf_window), #w, w); \
  58. gtk_widget_show(w); \
  59. gtk_box_pack_start(GTK_BOX(vbox6), w, TRUE, TRUE, 0); \
  60. - if (xmp_cfg.##o == 1) \
  61. + if (xmp_cfg.ox == 1) \
  62. gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(w), TRUE); \
  63. }
  64. @@ -773,7 +773,7 @@
  65. if (!cfg)
  66. cfg = xmms_cfg_new();
  67. -#define CFGWRITEINT(x) xmms_cfg_write_int (cfg, "XMP", #x, xmp_cfg.##x)
  68. +#define CFGWRITEINT(x) xmms_cfg_write_int (cfg, "XMP", #x, xmp_cfg.x)
  69. CFGWRITEINT (mixing_freq);
  70. CFGWRITEINT (force8bit);