diff options
author | Eric Andersen <andersen@codepoet.org> | 2006-07-08 23:58:02 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2006-07-08 23:58:02 +0000 |
commit | 600bcddaef1ec0e3be5d1b07eda8e85944c1e711 (patch) | |
tree | a3b0877184b9055b5cd7ec7ce3605bfab568ad68 /package/xorg/xorg-config.patch | |
parent | 830228b9d990c63d870bef9e05f474f3083cb87d (diff) | |
download | buildroot-novena-600bcddaef1ec0e3be5d1b07eda8e85944c1e711.tar.gz buildroot-novena-600bcddaef1ec0e3be5d1b07eda8e85944c1e711.zip |
fixup xorg compile -- it now at least compiles and runs for me on x86
Diffstat (limited to 'package/xorg/xorg-config.patch')
-rw-r--r-- | package/xorg/xorg-config.patch | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/package/xorg/xorg-config.patch b/package/xorg/xorg-config.patch index b5a4b2353..ea051c589 100644 --- a/package/xorg/xorg-config.patch +++ b/package/xorg/xorg-config.patch @@ -1,6 +1,6 @@ --- xc/config/cf/host.def~ Thu May 12 15:28:01 MDT 2005 +++ xc/config/cf/host.def Thu May 12 15:28:01 MDT 2005 -@@ -0,0 +1,38 @@ +@@ -0,0 +1,42 @@ +#define KDriveXServer YES +#define TinyXServer YES +#define XfbdevServer YES @@ -13,6 +13,10 @@ +#define HasFontconfig NO +#define HasLibpng YES +#define HasZlib YES ++#define HaveLib64 NO ++#define LibDirName lib ++#define SystemUsrLibDir /usr/lib ++#define TkLibDir /usr/lib + +#define HasExpat NO +#define XprtServer NO @@ -105,3 +109,34 @@ #define HostCcCmd cc -#endif #include <cross.rules> +--- xc/include/Xfuncs.h.orig 2006-07-07 17:09:16.000000000 -0600 ++++ xc/include/Xfuncs.h 2006-07-07 17:11:33.000000000 -0600 +@@ -44,18 +44,28 @@ + #if defined(SYSV) && !defined(SCO325) && !defined(sun) + #include <memory.h> + void bcopy(); ++#ifndef bzero + #define bzero(b,len) memset(b, 0, len) ++#endif ++#ifndef bcmp + #define bcmp(b1,b2,len) memcmp(b1, b2, len) ++#endif + #else + #include <string.h> + #if defined(SCO325) || defined(sun) + #include <strings.h> + #endif + #define _XFUNCS_H_INCLUDED_STRING_H ++#ifndef bcopy + #define bcopy(b1,b2,len) memmove(b2, b1, (size_t)(len)) ++#endif ++#ifndef bzero + #define bzero(b,len) memset(b, 0, (size_t)(len)) ++#endif ++#ifndef bcmp + #define bcmp(b1,b2,len) memcmp(b1, b2, (size_t)(len)) + #endif ++#endif + #endif /* X_USEBFUNCS */ + + /* the new Xfuncs.h */ |