xorg-config.patch 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. --- xc/config/cf/host.def~ Thu May 12 15:28:01 MDT 2005
  2. +++ xc/config/cf/host.def Thu May 12 15:28:01 MDT 2005
  3. @@ -0,0 +1,38 @@
  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
  10. +
  11. +#define HasFreetype2 NO
  12. +#define HasFontconfig NO
  13. +#define HasLibpng YES
  14. +#define HasZlib YES
  15. +
  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
  28. +#define HasPam NO
  29. +#define HasPamMisc NO
  30. +
  31. +/*
  32. +#define XF86CardDrivers mga glint nv tga s3virge sis rendition \
  33. + neomagic i740 tdfx savage \
  34. + cirrus vmware tseng trident chips apm \
  35. + GlideDriver fbdev i128 \
  36. + ati AgpGartDrivers DevelDrivers ark \
  37. + cyrix siliconmotion vesa vga \
  38. + XF86OSCardDrivers XF86ExtraCardDrivers
  39. +*/
  40. +
  41. +#define XInputDrivers mouse keyboard
  42. --- xc/config/cf/cross.def~ Thu May 12 15:28:01 MDT 2005
  43. +++ xc/config/cf/cross.def Thu May 12 15:28:01 MDT 2005
  44. @@ -1,45 +1,45 @@
  45. -/* $XFree86: xc/config/cf/cross.def,v 1.1 2000/12/08 22:09:34 keithp Exp $ */
  46. +/* $XFree86: xc/config/cf/cross.def,v 1.2 2001/03/30 02:15:17 keithp Exp $ */
  47. /*
  48. * This file contains redefinitions of some symbols to enable
  49. * cross compilation: e.g. paths for include files and paths to
  50. * compiler images. It will have to be edited to reflect these
  51. * given your local configuration.
  52. */
  53. -#if 0
  54. -#undef i386Architecture
  55. +#define i386Architecture
  56. -#define Arm32Architecture
  57. +#undef Arm32Architecture
  58. #undef OptimizedCDebugFlags
  59. -#define OptimizedCDebugFlags -O2
  60. -#define ServerCDebugFlags -O2
  61. +#define OptimizedCDebugFlags -Os
  62. +#define ServerCDebugFlags -Os
  63. #undef StandardDefines
  64. -#define StandardDefines -Dlinux -D__arm__ -D_POSIX_SOURCE \
  65. +#define StandardDefines -Dlinux -D__REPLACE_ARCH__ -D_POSIX_SOURCE \
  66. -D_BSD_SOURCE -D_GNU_SOURCE -DX_LOCALE
  67. #undef CcCmd
  68. -#define StdIncDir /skiff/local/arm-linux/include
  69. -#define PreIncDir
  70. +#define StdIncDir REPLACE_STAGING_DIR/include
  71. +#define PreIncDir
  72. #undef PostIncDir
  73. -#define PostIncDir /skiff/local/lib/gcc-lib/arm-linux/2.95.2/include
  74. -#define CcCmd /skiff/local/bin/arm-linux-gcc
  75. +#define PostIncDir REPLACE_GCCINC_DIR
  76. +#define CcCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-gcc
  77. #undef CplusplusCmd
  78. -#define HasCplusplus YES
  79. -#define CplusplusCmd /skiff/local/bin/arm-linux-g++
  80. +#define HasCplusplus NO
  81. +#define CplusplusCmd NO
  82. #define DoRanlibCmd YES
  83. -#define RanlibCmd /skiff/local/bin/arm-linux-ranlib
  84. +#define RanlibCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-ranlib
  85. #undef ExtraLoadFlags
  86. #define ExtraLoadFlags
  87. #define FbNoPixelAddrCode
  88. #undef TermcapLibrary
  89. -#define TermcapLibrary -ltermcap
  90. +#define TermcapLibrary -lncurses
  91. #undef LdPostLib
  92. -#define LdPostLib -L/skiff/local/arm-linux/lib
  93. +#define LdPostLib -LREPLACE_STAGING_DIR/REPLACE_ARCH-linux-uclibc/lib
  94. +#undef LdCmd
  95. +#define LdCmd REPLACE_STAGING_DIR/bin/REPLACE_ARCH-linux-ld
  96. #undef ExtensionOSDefines
  97. #define ExtensionOSDefines
  98. #define ServerXdmcpDefines /**/
  99. #define HostCcCmd cc
  100. -#endif
  101. #include <cross.rules>