From f991b0bd8311ce53d68e4b8c6c4521d5d24317c1283d94c9a3e4b39dc8ed9720 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Fri, 23 Feb 2007 11:27:44 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xorg-x11-libs?expand=0&rev=10 --- libXrandr.diff | 11 +++++++++++ xorg-x11-libs.changes | 6 ++++++ xorg-x11-libs.spec | 9 ++++++++- 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 libXrandr.diff diff --git a/libXrandr.diff b/libXrandr.diff new file mode 100644 index 0000000..7b9c97a --- /dev/null +++ b/libXrandr.diff @@ -0,0 +1,11 @@ +--- src/XrrMode.c.orig 2007-02-23 07:11:36.627073672 +0100 ++++ src/XrrMode.c 2007-02-23 07:17:15.904829143 +0100 +@@ -56,7 +56,7 @@ + xRRCreateModeReply rep; + long channelSize; + +- RRSimpleCheckExtension (dpy, info); ++ RRCheckExtension (dpy, info, None); + + LockDisplay(dpy); + GetReq (RRCreateMode, req); diff --git a/xorg-x11-libs.changes b/xorg-x11-libs.changes index 949083b..2e23bb5 100644 --- a/xorg-x11-libs.changes +++ b/xorg-x11-libs.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Feb 23 11:00:51 CET 2007 - sndirsch@suse.de + +- libXrandr.diff: + * fixes fatal warning + ------------------------------------------------------------------- Wed Feb 21 18:34:06 CET 2007 - sndirsch@suse.de diff --git a/xorg-x11-libs.spec b/xorg-x11-libs.spec index 8b3b16f..5f42b20 100644 --- a/xorg-x11-libs.spec +++ b/xorg-x11-libs.spec @@ -19,7 +19,7 @@ Provides: libXaw.so.8 libXaw.so.7 libXaw.so.6 %endif URL: http://xorg.freedesktop.org/ Version: 7.2 -Release: 40 +Release: 41 License: X11/MIT BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/Libraries @@ -55,6 +55,7 @@ Source27: libXres-1.0.3.tar.bz2 Source28: libXft1-X11R6.9-1.2.tar.bz2 Source29: libvnc-20070111.tar.bz2 Source30: libXcliplist-20070111.tar.bz2 +Patch: libXrandr.diff Patch2: libXft-2.1.7-lcd-filter-2.patch Patch3: p_xft_cjk.diff Patch4: p_xft_register.diff @@ -130,6 +131,9 @@ Authors: %setup -n . -T -D rm -rf $RPM_BUILD_DIR/* for i in $RPM_SOURCE_DIR/*.tar.bz2; do tar xjf $i; done +pushd libXrandr-* +%patch +popd pushd libXft-*/src %if %suse_version > 1010 %patch2 -p1 @@ -212,6 +216,9 @@ exit 0 %{_mandir}/man3/* %changelog +* Fri Feb 23 2007 - sndirsch@suse.de +- libXrandr.diff: + * fixes fatal warning * Wed Feb 21 2007 - sndirsch@suse.de - updated libXrandr to release 1.2.0 * Merge branch 'randr-1.2'