don't fail if BR2_USE_UPDATES tries to update non-checkout
[buildroot.git] / package / tinyx / tinyx-config.patch
blobce2a06c9a3797ff009b7388b3a22bbfd5eff3bb1
1 --- xc/config/cf/host.def~ 2005-04-02 14:51:31.000000000 -0700
2 +++ xc/config/cf/host.def 2005-04-26 01:22:00.000000000 -0600
3 @@ -0,0 +1,36 @@
4 +#define KDriveXServer YES
5 +#define TinyXServer YES
6 +#define XfbdevServer YES
7 +#define CrossCompiling YES
8 +#define ProjectRoot /usr/X11R6
9 +#define NothingOutsideProjectRoot YES
11 +#define HasFreetype2 NO
12 +#define HasFontconfig NO
13 +#define HasLibpng YES
14 +#define HasZlib YES
16 +#define HasExpat NO
17 +#define XprtServer NO
18 +#define BuildXprintClients NO
19 +#define TouchScreen NO
20 +#define HasTsLib NO
21 +#define BuildDocs NO
22 +#define BuildXF86DRI NO
23 +#define BuildGlxExt NO
24 +#define BuildOSMesaLib NO
25 +#define BuildLBX NO
26 +#define BuildLowMem NO
27 +#define BuildIPv6 NO
29 +/*
30 +#define XF86CardDrivers mga glint nv tga s3virge sis rendition \
31 + neomagic i740 tdfx savage \
32 + cirrus vmware tseng trident chips apm \
33 + GlideDriver fbdev i128 \
34 + ati AgpGartDrivers DevelDrivers ark \
35 + cyrix siliconmotion vesa vga \
36 + XF86OSCardDrivers XF86ExtraCardDrivers
37 +*/
39 +#define XInputDrivers mouse keyboard
40 --- xc/config/cf/cross.def.orig 2001-03-29 19:15:17.000000000 -0700
41 +++ xc/config/cf/cross.def 2005-05-12 16:09:23.000000000 -0600
42 @@ -5,34 +5,56 @@
43 * compiler images. It will have to be edited to reflect these
44 * given your local configuration.
47 +#undef Arm32Architecture
48 #undef i386Architecture
49 +#undef Arm32Architecture
50 +#undef Arm32Architecture
52 +#if defined(__arm__)
53 #define Arm32Architecture
54 +#endif
55 +#if defined(__i386__)
56 +#defined i386Architecture
57 +#endif
58 +#if defined(__mc68000__)
59 +#define Mc68020Architecture
60 +#endif
61 +#if defined(__mips__)
62 +#define MipsArchitecture
63 +#endif
64 +#if defined(__powerpc__)
65 +#define PpcArchitecture
66 +#endif
68 #undef OptimizedCDebugFlags
69 -#define OptimizedCDebugFlags -O2
70 -#define ServerCDebugFlags -O2
71 +#define OptimizedCDebugFlags -Os
72 +#define ServerCDebugFlags -Os
73 #undef StandardDefines
74 -#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \
75 - -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
76 -#undef CcCmd
77 -#define StdIncDir /skiff/local/arm-linux/include
78 -#define PreIncDir
79 +#define StandardDefines -Dlinux -D__REPLACE_ARCH__ -D_POSIX_SOURCE \
80 + -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
81 +#define StdIncDir REPLACE_STAGING_DIR/include
82 +#define PreIncDir
83 #undef PostIncDir
84 -#define PostIncDir /skiff/local/lib/gcc-lib/arm-linux/2.95.2/include
85 -#define CcCmd /skiff/local/bin/arm-linux-gcc
86 +#define PostIncDir REPLACE_STAGING_DIR/lib/gcc-lib/REPLACE_ARCH-linux-uclibc/3.3.3/include
87 +#undef CcCmd
88 +#define CcCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-gcc
89 +#undef HasCplusplus
90 +#define HasCplusplus NO
91 #undef CplusplusCmd
92 -#define HasCplusplus YES
93 -#define CplusplusCmd /skiff/local/bin/arm-linux-g++
94 +#define CplusplusCmd NO
95 #define DoRanlibCmd YES
96 -#define RanlibCmd /skiff/local/bin/arm-linux-ranlib
97 +#define RanlibCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-ranlib
98 #undef ExtraLoadFlags
99 #define ExtraLoadFlags
100 #define FbNoPixelAddrCode
101 #undef TermcapLibrary
102 -#define TermcapLibrary -ltermcap
103 +#define TermcapLibrary -lncurses
105 #undef LdPostLib
106 -#define LdPostLib -L/skiff/local/arm-linux/lib
107 +#define LdPostLib -LREPLACE_STAGING_DIR/REPLACE_ARCH-linux-uclibc/lib
108 +#undef LdCmd
109 +#define LdCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-ld
111 #undef ExtensionOSDefines
112 #define ExtensionOSDefines