[libXfixes/f15/master] mom, dad, i'm very sorry

Adam Jackson ajax at fedoraproject.org
Thu Mar 17 03:30:02 UTC 2011


commit 93ba24f909c01716ec80e20011f4ad1915ba472e
Author: Adam Jackson <ajax at redhat.com>
Date:   Wed Mar 16 23:29:50 2011 -0400

    mom, dad, i'm very sorry

 libXfixes-5.0-gross-build-hack.patch |   12 ++++++++++++
 libXfixes.spec                       |    2 ++
 2 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/libXfixes-5.0-gross-build-hack.patch b/libXfixes-5.0-gross-build-hack.patch
new file mode 100644
index 0000000..14572a4
--- /dev/null
+++ b/libXfixes-5.0-gross-build-hack.patch
@@ -0,0 +1,12 @@
+diff -up libXfixes-5.0/configure.jx libXfixes-5.0/configure
+--- libXfixes-5.0/configure.jx	2011-03-08 11:29:28.000000000 -0500
++++ libXfixes-5.0/configure	2011-03-16 23:28:43.000000000 -0400
+@@ -11086,7 +11086,7 @@ AM_BACKSLASH='\'
+ 
+ # Check fixesext configuration, strip extra digits from package version to
+ # find the required protocol version
+-FIXESEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
++FIXESEXT_VERSION=4.1.1
+ 
+ 
+ # Obtain compiler/linker options for depedencies
diff --git a/libXfixes.spec b/libXfixes.spec
index eb6fc4d..c1c2a56 100644
--- a/libXfixes.spec
+++ b/libXfixes.spec
@@ -7,6 +7,7 @@ Group: System Environment/Libraries
 URL: http://www.x.org
 
 Source0: ftp://ftp.x.org/pub/individual/lib/%{name}-%{version}.tar.bz2
+Patch0: libXfixes-5.0-gross-build-hack.patch
 
 BuildRequires: pkgconfig(fixesproto) pkgconfig(xext)
 
@@ -24,6 +25,7 @@ libXfixes development package
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --disable-static


More information about the scm-commits mailing list