libevent: Updated (1.4.0 -> 1.4.6-stable)
[opensde-package-nopast.git] / x11 / xaw3d / redhat.patch
blob3735ce1ba8672b2d357ed9559ea4d9ae24119a26
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../xaw3d/redhat.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 Clifford Wolf
8 # More information can be found in the files COPYING and README.
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 ---
18 --- Xaw3d/XawI18n.h.orig Wed Jun 20 14:18:34 2001
19 +++ Xaw3d/XawI18n.h Wed Jun 20 14:18:50 2001
20 @@ -27,9 +27,13 @@
22 ********************************************************/
24 +#if 0
25 #ifdef HAS_WCTYPE_H
26 #include <wctype.h>
27 +#if !defined(__linux__)
28 #include <widec.h>
29 +#endif
30 +#endif
31 #define wcslen(c) wslen(c)
32 #define wcscpy(d,s) wscpy(d,s)
33 #define wcsncpy(d,s,l) wsncpy(d,s,l)
34 --- Xaw3d/Imakefile.orig Wed Jun 20 14:14:35 2001
35 +++ Xaw3d/Imakefile Wed Jun 20 14:18:50 2001
36 @@ -10,27 +10,6 @@
37 #define IncSubdir X11
38 #define IncSubSubdir Xaw3d
40 -#ifdef LinuxArchitecture
41 -JUMP_ROOT_Xaw3d = $(AWIDGETSRC)3d
42 -JUMP_IS_HOST_Xaw3d = YES
43 -JUMP_STUBLIBS_Xaw3d = libXaw3d.sa
44 -JUMP_SUBDIRS_Xaw3d = $(JUMP_ROOT_Xt)
45 -JUMP_DIR_Xaw3d = $(JUMP_ROOT_Xaw3d)/shared
46 -JUMP_VARS_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_vars
47 -JUMP_FUNCS_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_funcs
48 -JUMP_IGNORE_Xaw3d = $(JUMP_ROOT_Xaw3d)/jump_ignore
49 -JUMP_EXPORT_Xaw3d = $(JUMP_DIR_Xaw3d)/jump.vars
50 -JUMP_IMPORT_Xaw3d = $(JUMP_EXPORT_Xt) $(JUMP_EXPORT_X11)
51 -JUMP_ADDRESS_Xaw3d = 0x60300000
52 -JUMP_JUMPTABLESIZE_Xaw3d = 0x4000
53 -JUMP_GOTSIZE_Xaw3d = 4096
54 -JUMP_STUBNAMES_Xaw3d = libXaw3d
55 -JUMP_STUBS_IMPORT_Xaw3d = $(JUMP_STUBS_IMPORT_X11)
56 -JUMP_LDLIBS_Xaw3d = $(JUMP_ROOT_Xt)/libXt.sa $(JUMP_ROOT_Xt)/libXmu.sa \
57 - $(JUMP_ROOT_Xt)/libXext.sa $(JUMP_ROOT_X11)/libX11.sa \
58 - $(JUMP_LDLIBS_libc)
59 -#endif
61 #ifdef SharedXawReqs
62 REQUIREDLIBS = SharedXawReqs
63 #endif
64 @@ -41,7 +20,7 @@
66 # EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
68 -# EXTRA_INCLUDES = -I.
69 +EXTRA_INCLUDES = -I.
71 HEADERS = \
72 AllWidgets.h \