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.

74 lines
2.4 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/x11/xaw3d/redhat.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. --- ./xc/lib/Xaw3d/XawI18n.h.orig Wed Jun 20 14:18:34 2001
  20. +++ ./xc/lib/Xaw3d/XawI18n.h Wed Jun 20 14:18:50 2001
  21. @@ -27,9 +27,13 @@
  22. ********************************************************/
  23. +#if 0
  24. #ifdef HAS_WCTYPE_H
  25. #include <wctype.h>
  26. +#if !defined(__linux__)
  27. #include <widec.h>
  28. +#endif
  29. +#endif
  30. #define wcslen(c) wslen(c)
  31. #define wcscpy(d,s) wscpy(d,s)
  32. #define wcsncpy(d,s,l) wsncpy(d,s,l)
  33. --- ./xc/lib/Xaw3d/Imakefile.orig Wed Jun 20 14:14:35 2001
  34. +++ ./xc/lib/Xaw3d/Imakefile Wed Jun 20 14:18:50 2001
  35. @@ -10,27 +10,6 @@
  36. #define IncSubdir X11
  37. #define IncSubSubdir Xaw3d
  38. -#ifdef LinuxArchitecture
  39. -JUMP_ROOT_Xaw3d = $(AWIDGETSRC)3d
  40. -JUMP_IS_HOST_Xaw3d = YES
  41. -JUMP_STUBLIBS_Xaw3d = libXaw3d.sa
  42. -JUMP_SUBDIRS_Xaw3d = $(JUMP_ROOT_Xt)
  43. -JUMP_DIR_Xaw3d = $(JUMP_ROOT_Xaw3d)/shared
  44. -JUMP_VARS_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_vars
  45. -JUMP_FUNCS_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_funcs
  46. -JUMP_IGNORE_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_ignore
  47. -JUMP_EXPORT_Xaw3d = $(JUMP_DIR_Xaw3d)/jump.vars
  48. -JUMP_IMPORT_Xaw3d = $(JUMP_EXPORT_Xt) $(JUMP_EXPORT_X11)
  49. -JUMP_ADDRESS_Xaw3d = 0x60300000
  50. -JUMP_JUMPTABLESIZE_Xaw3d = 0x4000
  51. -JUMP_GOTSIZE_Xaw3d = 4096
  52. -JUMP_STUBNAMES_Xaw3d = libXaw3d
  53. -JUMP_STUBS_IMPORT_Xaw3d = $(JUMP_STUBS_IMPORT_X11)
  54. -JUMP_LDLIBS_Xaw3d = $(JUMP_ROOT_Xt)/libXt.sa $(JUMP_ROOT_Xt)/libXmu.sa \
  55. - $(JUMP_ROOT_Xt)/libXext.sa $(JUMP_ROOT_X11)/libX11.sa \
  56. - $(JUMP_LDLIBS_libc)
  57. -#endif
  58. -
  59. #ifdef SharedXawReqs
  60. REQUIREDLIBS = SharedXawReqs
  61. #endif
  62. @@ -41,7 +20,7 @@
  63. # EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
  64. -# EXTRA_INCLUDES = -I.
  65. +EXTRA_INCLUDES = -I.
  66. HEADERS = \
  67. AllWidgets.h \