1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../xaw3d/redhat.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
6 # Copyright (C) 1998 - 2003 ROCK Linux Project
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
16 # --- T2-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
22 ********************************************************/
27 +#if !defined(__linux__)
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
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 \
62 REQUIREDLIBS = SharedXawReqs
66 # EXTRA_DEFINES = -DARROW_SCROLLBAR -DUSEGRAY
68 -# EXTRA_INCLUDES = -I.