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.

49 lines
1.9 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/base/mutt/gcc40.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. This fixes the error:
  20. In file included from mutt_menu.h:23,
  21. from addrbook.c:20:
  22. keymap.h:83: error: array type has incomplete element type
  23. diff -dur mutt-1.4.2.1/keymap.c src.mutt.1129843324.3091.4058436413/mutt-1.4.2.1/keymap.c
  24. --- mutt-1.4.2.1/keymap.c 2001-10-16 16:29:27.000000000 +0200
  25. +++ src.mutt.1129843324.3091.4058436413/mutt-1.4.2.1/keymap.c 2005-10-20 23:45:08.000000000 +0200
  26. @@ -28,7 +28,7 @@
  27. #include "functions.h"
  28. -struct mapping_t Menus[] = {
  29. +struct mapping_t *Menus = {
  30. { "alias", MENU_ALIAS },
  31. { "attach", MENU_ATTACH },
  32. { "browser", MENU_FOLDER },
  33. diff -dur mutt-1.4.2.1/keymap.h src.mutt.1129843324.3091.4058436413/mutt-1.4.2.1/keymap.h
  34. --- mutt-1.4.2.1/keymap.h 2001-09-11 13:20:34.000000000 +0200
  35. +++ src.mutt.1129843324.3091.4058436413/mutt-1.4.2.1/keymap.h 2005-10-20 23:44:07.000000000 +0200
  36. @@ -80,7 +80,7 @@
  37. /* dokey() records the last real key pressed */
  38. extern int LastKey;
  39. -extern struct mapping_t Menus[];
  40. +extern struct mapping_t *Menus;
  41. struct binding_t
  42. {