Constantin Kaplinsky | 47ed8d3 | 2004-10-08 09:43:57 +0000 | [diff] [blame^] | 1 | *** xc.orig/config/cf/X11.tmpl Tue Jan 15 22:55:26 2002 |
| 2 | --- xc/config/cf/X11.tmpl Sun Sep 7 19:52:01 2003 |
| 3 | *************** |
| 4 | *** 3120,3126 **** |
| 5 | $(RM) index.raw file.nPS file.PS file.txt |
| 6 | #endif |
| 7 | |
| 8 | ! #ifndef MakeSimpleDoc(file,srcs) |
| 9 | #define MakeSimpleDoc(file,srcs) MakeDepSimpleDoc(file,srcs,srcs) |
| 10 | #endif |
| 11 | |
| 12 | --- 3120,3126 ---- |
| 13 | $(RM) index.raw file.nPS file.PS file.txt |
| 14 | #endif |
| 15 | |
| 16 | ! #ifndef MakeSimpleDoc |
| 17 | #define MakeSimpleDoc(file,srcs) MakeDepSimpleDoc(file,srcs,srcs) |
| 18 | #endif |
| 19 | |
| 20 | *** xc.orig/config/cf/hp.cf Wed Jan 17 16:22:31 2001 |
| 21 | --- xc/config/cf/hp.cf Mon Sep 8 19:54:52 2003 |
| 22 | *************** |
| 23 | *** 131,137 **** |
| 24 | #endif |
| 25 | #define HPFastScrolling YES |
| 26 | #ifndef BuildServer |
| 27 | ! # define BuildServer __hp9000s700 |
| 28 | #endif |
| 29 | #if OSMajorVersion < 10 |
| 30 | #define NeedBerklib (BuildServer|BuildFontServer) |
| 31 | --- 131,137 ---- |
| 32 | #endif |
| 33 | #define HPFastScrolling YES |
| 34 | #ifndef BuildServer |
| 35 | ! # define BuildServer YES |
| 36 | #endif |
| 37 | #if OSMajorVersion < 10 |
| 38 | #define NeedBerklib (BuildServer|BuildFontServer) |
| 39 | *************** |
| 40 | *** 139,145 **** |
| 41 | #define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS |
| 42 | |
| 43 | #if OSMajorVersion < 6 || (OSMajorVersion == 6 && OSMinorVersion < 2) |
| 44 | ! # define ConnectionFlags -DTCPCONN /* no unix sockets */ |
| 45 | #endif |
| 46 | |
| 47 | #if OSMajorVersion > 8 |
| 48 | --- 139,145 ---- |
| 49 | #define XawI18nDefines -DHAS_WCHAR_H -DHAS_ISW_FUNCS |
| 50 | |
| 51 | #if OSMajorVersion < 6 || (OSMajorVersion == 6 && OSMinorVersion < 2) |
| 52 | ! /*# define ConnectionFlags -DTCPCONN*/ /* no unix sockets */ |
| 53 | #endif |
| 54 | |
| 55 | #if OSMajorVersion > 8 |
| 56 | *** xc/config/cf/site.def.orig Tue Sep 9 17:42:56 2003 |
| 57 | --- xc/config/cf/site.def Tue Sep 9 17:43:07 2003 |
| 58 | *************** |
| 59 | *** 84,90 **** |
| 60 | #ifdef AfterVendorCF |
| 61 | |
| 62 | #ifndef ProjectRoot |
| 63 | ! #define ProjectRoot /usr/X11R6 |
| 64 | #endif |
| 65 | |
| 66 | /* |
| 67 | --- 84,90 ---- |
| 68 | #ifdef AfterVendorCF |
| 69 | |
| 70 | #ifndef ProjectRoot |
| 71 | ! /*#define ProjectRoot /usr/X11R6*/ |
| 72 | #endif |
| 73 | |
| 74 | /* |
| 75 | *** xc.orig/config/imake/imake.c Fri Dec 14 19:53:18 2001 |
| 76 | --- xc/config/imake/imake.c Mon Sep 8 19:35:33 2003 |
| 77 | *************** |
| 78 | *** 288,293 **** |
| 79 | --- 288,294 ---- |
| 80 | #define TRUE 1 |
| 81 | #define FALSE 0 |
| 82 | |
| 83 | + #define FIXUP_CPP_WHITESPACE |
| 84 | #ifdef FIXUP_CPP_WHITESPACE |
| 85 | int InRule = FALSE; |
| 86 | # ifdef INLINE_SYNTAX |
| 87 | *************** |
| 88 | *** 389,394 **** |
| 89 | --- 390,401 ---- |
| 90 | FILE *tmpfd = NULL; |
| 91 | char makeMacro[ BUFSIZ ]; |
| 92 | char makefileMacro[ BUFSIZ ]; |
| 93 | + |
| 94 | + #ifdef FIXUP_CPP_WHITESPACE |
| 95 | + fprintf(stderr,"\nFIXUP_CPP_WHITESPACE is defined!!\n\n"); |
| 96 | + #else |
| 97 | + #error "FIXUP_CPP_WHITESPACE is not defined" |
| 98 | + #endif |
| 99 | |
| 100 | program = argv[0]; |
| 101 | init(); |
| 102 | *** xc.orig/config/imake/imakemdep.h Fri Dec 14 19:53:19 2001 |
| 103 | --- xc/config/imake/imakemdep.h Tue Sep 9 16:38:18 2003 |
| 104 | *************** |
| 105 | *** 48,54 **** |
| 106 | #ifdef hp9000s800 |
| 107 | #define imake_ccflags "-DSYSV" |
| 108 | #else |
| 109 | ! #define imake_ccflags "-Wc,-Nd4000,-Ns3000 -DSYSV" |
| 110 | #endif |
| 111 | #endif |
| 112 | |
| 113 | --- 48,54 ---- |
| 114 | #ifdef hp9000s800 |
| 115 | #define imake_ccflags "-DSYSV" |
| 116 | #else |
| 117 | ! #define imake_ccflags "-DSYSV" |
| 118 | #endif |
| 119 | #endif |
| 120 | |
| 121 | *************** |
| 122 | *** 211,217 **** |
| 123 | * all colons). One way to tell if you need this is to see whether or not |
| 124 | * your Makefiles have no tabs in them and lots of @@ strings. |
| 125 | */ |
| 126 | ! #if defined(sun) || defined(SYSV) || defined(SVR4) || defined(hcx) || defined(WIN32) || defined(sco) || (defined(AMOEBA) && defined(CROSS_COMPILE)) || defined(__QNX__) || defined(__sgi) |
| 127 | #define FIXUP_CPP_WHITESPACE |
| 128 | #endif |
| 129 | #ifdef WIN32 |
| 130 | --- 211,217 ---- |
| 131 | * all colons). One way to tell if you need this is to see whether or not |
| 132 | * your Makefiles have no tabs in them and lots of @@ strings. |
| 133 | */ |
| 134 | ! #if defined(sun) || defined(SYSV) || defined(SVR4) || defined(hcx) || defined(WIN32) || defined(sco) || (defined(AMOEBA) && defined(CROSS_COMPILE)) || defined(__QNX__) || defined(__sgi) || defined(hpux) |
| 135 | #define FIXUP_CPP_WHITESPACE |
| 136 | #endif |
| 137 | #ifdef WIN32 |
| 138 | *** xc.orig/include/Xfuncs.h Fri Dec 14 19:53:25 2001 |
| 139 | --- xc/include/Xfuncs.h Sun Sep 7 20:10:35 2003 |
| 140 | *************** |
| 141 | *** 42,48 **** |
| 142 | #else |
| 143 | #if defined(SYSV) |
| 144 | #include <memory.h> |
| 145 | ! void bcopy(); |
| 146 | #define bzero(b,len) memset(b, 0, len) |
| 147 | #define bcmp(b1,b2,len) memcmp(b1, b2, len) |
| 148 | #elif defined(__EMX__) |
| 149 | --- 42,48 ---- |
| 150 | #else |
| 151 | #if defined(SYSV) |
| 152 | #include <memory.h> |
| 153 | ! /*void bcopy();*/ |
| 154 | #define bzero(b,len) memset(b, 0, len) |
| 155 | #define bcmp(b1,b2,len) memcmp(b1, b2, len) |
| 156 | #elif defined(__EMX__) |
| 157 | *** xc.orig/include/extensions/security.h Fri Dec 14 19:53:29 2001 |
| 158 | --- xc/include/extensions/security.h Fri Aug 1 17:43:44 2003 |
| 159 | *************** |
| 160 | *** 110,115 **** |
| 161 | --- 110,116 ---- |
| 162 | |
| 163 | #include "input.h" /* for DeviceIntPtr */ |
| 164 | #include "property.h" /* for PropertyPtr */ |
| 165 | + #include "resource.h" |
| 166 | |
| 167 | /* resource type to pass in LookupIDByType for authorizations */ |
| 168 | extern RESTYPE SecurityAuthorizationResType; |
| 169 | *** xc.orig/lib/font/Type1/fontfcn.c Fri Nov 23 19:21:31 2001 |
| 170 | --- xc/lib/font/Type1/fontfcn.c Sun Sep 7 19:29:27 2003 |
| 171 | *************** |
| 172 | *** 47,52 **** |
| 173 | --- 47,53 ---- |
| 174 | */ |
| 175 | /* $XFree86: xc/lib/font/Type1/fontfcn.c,v 1.11 2001/11/23 19:21:31 dawes Exp $ */ |
| 176 | |
| 177 | + #include <stdlib.h> |
| 178 | #ifndef FONTMODULE |
| 179 | #include <stdio.h> |
| 180 | #include <string.h> |
| 181 | *** xc.orig/lib/font/Type1/objects.h Mon Aug 27 20:49:52 2001 |
| 182 | --- xc/lib/font/Type1/objects.h Sun Sep 7 19:29:37 2003 |
| 183 | *************** |
| 184 | *** 50,56 **** |
| 185 | #include <Xdefs.h> |
| 186 | #include <Xfuncproto.h> |
| 187 | #ifndef FONTMODULE |
| 188 | ! #include <stdlib.h> |
| 189 | #endif |
| 190 | /*SHARED*/ |
| 191 | |
| 192 | --- 50,56 ---- |
| 193 | #include <Xdefs.h> |
| 194 | #include <Xfuncproto.h> |
| 195 | #ifndef FONTMODULE |
| 196 | ! /*#include <stdlib.h>*/ |
| 197 | #endif |
| 198 | /*SHARED*/ |
| 199 | |
| 200 | *** xc.orig/lib/xtrans/Xtransutil.c Tue Sep 9 17:40:14 2003 |
| 201 | --- xc/lib/xtrans/Xtransutil.c Tue Sep 9 17:40:20 2003 |
| 202 | *************** |
| 203 | *** 503,514 **** |
| 204 | if (updateOwner && !updatedOwner) { |
| 205 | PRMSG(1, "mkdir: Owner of %s should be set to root\n", |
| 206 | path, 0, 0); |
| 207 | - sleep(5); |
| 208 | } |
| 209 | if (updateMode && !updatedMode) { |
| 210 | PRMSG(1, "mkdir: Mode of %s should be set to %04o\n", |
| 211 | path, mode, 0); |
| 212 | - sleep(5); |
| 213 | } |
| 214 | return 0; |
| 215 | } |
| 216 | --- 503,512 ---- |
| 217 | *** xc.orig/programs/Xserver/vnc/Xvnc/xvnc.cc 12 Aug 2003 11:00:14 -0000 |
| 218 | --- xc/programs/Xserver/vnc/Xvnc/xvnc.cc 9 Sep 2003 16:15:53 -0000 |
| 219 | *************** |
| 220 | *** 1221,1223 **** |
| 221 | --- 1221,1229 ---- |
| 222 | miRegisterPointerDevice(screenInfo.screens[0], p); |
| 223 | (void)mieqInit ((DevicePtr)k, (DevicePtr)p); |
| 224 | } |
| 225 | + |
| 226 | + extern "C" { |
| 227 | + void XTestGenerateEvent() {} |
| 228 | + void XTestGetPointerPos() {} |
| 229 | + void XTestJumpPointer() {} |
| 230 | + } |
| 231 | *** xc.orig/config/cf/vnc.def 7 Jul 2003 09:51:22 |
| 232 | --- xc/config/cf/vnc.def 9 Sep 2003 15:54:23 |
| 233 | *************** |
| 234 | *** 9,14 **** |
| 235 | --- 9,20 ---- |
| 236 | #define XnestServer NO |
| 237 | #define XprtServer NO |
| 238 | |
| 239 | + #define BuildXKB NO |
| 240 | + #define HasCplusplus YES |
| 241 | + #define CplusplusCmd /opt/aCC/bin/aCC |
| 242 | + #define CplusplusOptions -AA +W749 +W740 |
| 243 | + #define ProjectRoot /usr |
| 244 | + |
| 245 | #ifdef SunArchitecture |
| 246 | #define ProjectRoot /usr/openwin |
| 247 | #define HasGcc2 YES |
| 248 | *************** |
| 249 | *** 29,32 **** |
| 250 | --- 34,38 ---- |
| 251 | |
| 252 | #define ServerTarget(server,subdirs,objects,libs,syslibs) @@\ |
| 253 | CCLINK = $(CXXENVSETUP) $(CXX) @@\ |
| 254 | + CCOPTIONS = -AA @@\ |
| 255 | ServerTargetWithFlags(server,subdirs,objects,libs,syslibs,$(_NOOP_)) |