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