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.

77 lines
2.5 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 - 2003 Clifford Wolf
  10. #
  11. # This program is free software; you can redistribute it and/or modify
  12. # it under the terms of the GNU General Public License as published by
  13. # the Free Software Foundation; either version 2 of the License, or
  14. # (at your option) any later version. A copy of the GNU General Public
  15. # License can be found at Documentation/COPYING.
  16. #
  17. # Many people helped and are helping developing ROCK Linux. Please
  18. # have a look at http://www.rocklinux.org/ and the Documentation/TEAM
  19. # file for details.
  20. #
  21. # --- ROCK-COPYRIGHT-NOTE-END ---
  22. --- ./xc/lib/Xaw3d/XawI18n.h.orig Wed Jun 20 14:18:34 2001
  23. +++ ./xc/lib/Xaw3d/XawI18n.h Wed Jun 20 14:18:50 2001
  24. @@ -27,9 +27,13 @@
  25. ********************************************************/
  26. +#if 0
  27. #ifdef HAS_WCTYPE_H
  28. #include <wctype.h>
  29. +#if !defined(__linux__)
  30. #include <widec.h>
  31. +#endif
  32. +#endif
  33. #define wcslen(c) wslen(c)
  34. #define wcscpy(d,s) wscpy(d,s)
  35. #define wcsncpy(d,s,l) wsncpy(d,s,l)
  36. --- ./xc/lib/Xaw3d/Imakefile.orig Wed Jun 20 14:14:35 2001
  37. +++ ./xc/lib/Xaw3d/Imakefile Wed Jun 20 14:18:50 2001
  38. @@ -10,27 +10,6 @@
  39. #define IncSubdir X11
  40. #define IncSubSubdir Xaw3d
  41. -#ifdef LinuxArchitecture
  42. -JUMP_ROOT_Xaw3d = $(AWIDGETSRC)3d
  43. -JUMP_IS_HOST_Xaw3d = YES
  44. -JUMP_STUBLIBS_Xaw3d = libXaw3d.sa
  45. -JUMP_SUBDIRS_Xaw3d = $(JUMP_ROOT_Xt)
  46. -JUMP_DIR_Xaw3d = $(JUMP_ROOT_Xaw3d)/shared
  47. -JUMP_VARS_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_vars
  48. -JUMP_FUNCS_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_funcs
  49. -JUMP_IGNORE_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_ignore
  50. -JUMP_EXPORT_Xaw3d = $(JUMP_DIR_Xaw3d)/jump.vars
  51. -JUMP_IMPORT_Xaw3d = $(JUMP_EXPORT_Xt) $(JUMP_EXPORT_X11)
  52. -JUMP_ADDRESS_Xaw3d = 0x60300000
  53. -JUMP_JUMPTABLESIZE_Xaw3d = 0x4000
  54. -JUMP_GOTSIZE_Xaw3d = 4096
  55. -JUMP_STUBNAMES_Xaw3d = libXaw3d
  56. -JUMP_STUBS_IMPORT_Xaw3d = $(JUMP_STUBS_IMPORT_X11)
  57. -JUMP_LDLIBS_Xaw3d = $(JUMP_ROOT_Xt)/libXt.sa $(JUMP_ROOT_Xt)/libXmu.sa \
  58. - $(JUMP_ROOT_Xt)/libXext.sa $(JUMP_ROOT_X11)/libX11.sa \
  59. - $(JUMP_LDLIBS_libc)
  60. -#endif
  61. -
  62. #ifdef SharedXawReqs
  63. REQUIREDLIBS = SharedXawReqs
  64. #endif
  65. @@ -41,7 +20,7 @@
  66. # EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
  67. -# EXTRA_INCLUDES = -I.
  68. +EXTRA_INCLUDES = -I.
  69. HEADERS = \
  70. AllWidgets.h \