summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormharris <mharris@fedoraproject.org>2005-12-19 08:44:59 +0000
committermharris <mharris@fedoraproject.org>2005-12-19 08:44:59 +0000
commitd7b212c1b3c1ca1a0826c81e31e9501aed1b7325 (patch)
tree3d7c654d573541e44a8e6e117265fdbcab4b74cb
parent699bd8d686d9bdb36f2419c9bfaa0c30ae9d5d72 (diff)
downloadmesa-d7b212c1b3c1ca1a0826c81e31e9501aed1b7325.tar.gz
mesa-d7b212c1b3c1ca1a0826c81e31e9501aed1b7325.tar.xz
mesa-d7b212c1b3c1ca1a0826c81e31e9501aed1b7325.zip
- Added symlink in x86_64 directory pointing to assyntax.h header to work
around a build problem on AMD64, which is fixed in CVS in a way unuseable as a patch to 6.4.1.
-rw-r--r--mesa.spec12
1 files changed, 11 insertions, 1 deletions
diff --git a/mesa.spec b/mesa.spec
index c28cca5..c7d9bfd 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -40,6 +40,7 @@ Release: 1
License: MIT/X11
Group: System Environment/Libraries
URL: http://www.mesa3d.org
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
Source0: MesaLib-%{version}.tar.bz2
Source1: redhat-mesa-target
Source2: redhat-mesa-driver-install
@@ -49,7 +50,8 @@ Patch0: mesa-6.3.2-build-configuration-v4.patch
Patch1: mesa-6.3.2-fix-installmesa.patch
Patch2: mesa-6.4-multilib-fix.patch
Patch3: mesa-modular-dri-dir.patch
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+# General patches from upstream go here:
+#Patch100:
BuildRequires: pkgconfig
BuildRequires: libdrm-devel >= 2.0-1
@@ -206,6 +208,11 @@ install -m 755 %{SOURCE3} ./
%patch2 -p0 -b .multilib-fix
%patch3 -p1 -b .modular
+# FIXME: Builds fail on AMD64 arch without this, however it is fixed in
+# upstream CVS, but in a way that we can't use against 6.4.1. This can
+# probably be dropped however when we move to 6.4.2.
+ln -s src/mesa/x86/assyntax.h src/mesa/x86-64/assyntax.h
+
# WARNING: The following files are copyright "Mark J. Kilgard" under the GLUT
# license and are not open source software, so we must remove them.
rm include/GL/uglglutshapes.h
@@ -388,6 +395,9 @@ rm -rf $RPM_BUILD_ROOT
- Added pkgconfig dependency.
- Updated "BuildRequires: libdrm-devel >= 2.0-1"
- Added Obsoletes lines to all the subpackages to have cleaner upgrades.
+- Added symlink in x86_64 directory pointing to assyntax.h header to work
+ around a build problem on AMD64, which is fixed in CVS in a way unuseable
+ as a patch to 6.4.1.
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 6.4-5.1
- rebuilt