Author: pebender
Date: Tue Sep 23 07:54:26 2008
New Revision: 3789

Added:
    trunk/gar-minimyth/script/xorg-7.4/libpciaccess/files/
     
trunk/gar-minimyth/script/xorg-7.4/libpciaccess/files/libpciaccess-0.10.3-ac_check_header.patch
Modified:
    trunk/gar-minimyth/script/xorg-7.4/libpciaccess/Makefile
    trunk/gar-minimyth/script/xorg-7.4/libpciaccess/checksums

Log:
- Patched xorg-7.4/libpciaccess so that it cross compiles cleanly.



Modified: trunk/gar-minimyth/script/xorg-7.4/libpciaccess/Makefile
==============================================================================
--- trunk/gar-minimyth/script/xorg-7.4/libpciaccess/Makefile    (original)
+++ trunk/gar-minimyth/script/xorg-7.4/libpciaccess/Makefile    Tue Sep 23  
07:54:26 2008
@@ -3,6 +3,7 @@
  CATEGORIES = $(CATEGORY)
  MASTER_SITES = $(XORG_MASTER_SITES)
  DISTFILES = $(DISTNAME).tar.bz2
+PATCHFILES = $(DISTNAME)-ac_check_header.patch
  LICENSE = $(GARNAME)
  $(GARNAME)_LICENSE_TEXT = $(WORKSRC)/COPYING

@@ -19,7 +20,6 @@
  INSTALL_SCRIPTS   = $(WORKSRC)/Makefile

  CONFIGURE_ARGS = $(DIRPATHS) --build=$(GARBUILD) --host=$(GARHOST) \
-       --cache-file=config.cache \
        --with-gnu-ld \
        --with-pciids-path=$(datadir)

@@ -27,9 +27,8 @@
  include ../../gar.mk

  pre-configure:
+       @cd $(WORKSRC) ; autoreconf --verbose --install --force
        @$(call FIX_LIBTOOL,$(WORKSRC)/configure)
-       @rm -f $(WORKSRC)/config.cache
-       @echo "ac_cv_file__usr_include_asm_mtrr_h=yes" >> 
$(WORKSRC)/config.cache
        @$(MAKECOOKIE)

  post-install:

Modified: trunk/gar-minimyth/script/xorg-7.4/libpciaccess/checksums
==============================================================================
--- trunk/gar-minimyth/script/xorg-7.4/libpciaccess/checksums   (original)
+++ trunk/gar-minimyth/script/xorg-7.4/libpciaccess/checksums   Tue Sep 23  
07:54:26 2008
@@ -1 +1,2 @@
  6d5468debf76fac84576ca26c9535821  download/libpciaccess-0.10.3.tar.bz2
+9646f4e397b3168a7140c0c980bc41a5   
download/libpciaccess-0.10.3-ac_check_header.patch

Added:  
trunk/gar-minimyth/script/xorg-7.4/libpciaccess/files/libpciaccess-0.10.3-ac_check_header.patch
==============================================================================
--- (empty file)
+++  
trunk/gar-minimyth/script/xorg-7.4/libpciaccess/files/libpciaccess-0.10.3-ac_check_header.patch
  
Tue Sep 23 07:54:26 2008
@@ -0,0 +1,12 @@
+diff -Naur libpciaccess-0.10.3-old/configure.ac  
libpciaccess-0.10.3-new/configure.ac
+--- libpciaccess-0.10.3-old/configure.ac       2008-06-10 12:24:44.000000000  
-0700
++++ libpciaccess-0.10.3-new/configure.ac       2008-09-23 07:49:41.000000000  
-0700
+@@ -91,7 +91,7 @@
+ AM_CONDITIONAL(OPENBSD, [test "x$openbsd" = xyes])
+ AM_CONDITIONAL(SOLARIS, [test "x$solaris" = xyes])
+
+-AC_CHECK_FILE([/usr/include/asm/mtrr.h],
++AC_CHECK_HEADER([asm/mtrr.h],
+               [have_mtrr_h="yes"], [have_mtrr_h="no"])
+ if test "x$have_mtrr_h" = xyes; then
+     AC_DEFINE(HAVE_MTRR, 1, [Use MTRRs on mappings])

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to