OpenSDE Packages Database (without history before r20070)
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.

72 lines
2.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../xaw3d/redhat.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- SDE-COPYRIGHT-NOTE-END ---
  17. --- Xaw3d/XawI18n.h.orig Wed Jun 20 14:18:34 2001
  18. +++ Xaw3d/XawI18n.h Wed Jun 20 14:18:50 2001
  19. @@ -27,9 +27,13 @@
  20. ********************************************************/
  21. +#if 0
  22. #ifdef HAS_WCTYPE_H
  23. #include <wctype.h>
  24. +#if !defined(__linux__)
  25. #include <widec.h>
  26. +#endif
  27. +#endif
  28. #define wcslen(c) wslen(c)
  29. #define wcscpy(d,s) wscpy(d,s)
  30. #define wcsncpy(d,s,l) wsncpy(d,s,l)
  31. --- Xaw3d/Imakefile.orig Wed Jun 20 14:14:35 2001
  32. +++ Xaw3d/Imakefile Wed Jun 20 14:18:50 2001
  33. @@ -10,27 +10,6 @@
  34. #define IncSubdir X11
  35. #define IncSubSubdir Xaw3d
  36. -#ifdef LinuxArchitecture
  37. -JUMP_ROOT_Xaw3d = $(AWIDGETSRC)3d
  38. -JUMP_IS_HOST_Xaw3d = YES
  39. -JUMP_STUBLIBS_Xaw3d = libXaw3d.sa
  40. -JUMP_SUBDIRS_Xaw3d = $(JUMP_ROOT_Xt)
  41. -JUMP_DIR_Xaw3d = $(JUMP_ROOT_Xaw3d)/shared
  42. -JUMP_VARS_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_vars
  43. -JUMP_FUNCS_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_funcs
  44. -JUMP_IGNORE_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_ignore
  45. -JUMP_EXPORT_Xaw3d = $(JUMP_DIR_Xaw3d)/jump.vars
  46. -JUMP_IMPORT_Xaw3d = $(JUMP_EXPORT_Xt) $(JUMP_EXPORT_X11)
  47. -JUMP_ADDRESS_Xaw3d = 0x60300000
  48. -JUMP_JUMPTABLESIZE_Xaw3d = 0x4000
  49. -JUMP_GOTSIZE_Xaw3d = 4096
  50. -JUMP_STUBNAMES_Xaw3d = libXaw3d
  51. -JUMP_STUBS_IMPORT_Xaw3d = $(JUMP_STUBS_IMPORT_X11)
  52. -JUMP_LDLIBS_Xaw3d = $(JUMP_ROOT_Xt)/libXt.sa $(JUMP_ROOT_Xt)/libXmu.sa \
  53. - $(JUMP_ROOT_Xt)/libXext.sa $(JUMP_ROOT_X11)/libX11.sa \
  54. - $(JUMP_LDLIBS_libc)
  55. -#endif
  56. -
  57. #ifdef SharedXawReqs
  58. REQUIREDLIBS = SharedXawReqs
  59. #endif
  60. @@ -41,7 +20,7 @@
  61. # EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
  62. -# EXTRA_INCLUDES = -I.
  63. +EXTRA_INCLUDES = -I.
  64. HEADERS = \
  65. AllWidgets.h \