]> git.pld-linux.org Git - packages/xorg-lib-libXrandr.git/commitdiff
- xorg-lib-libXrandr-c++.patch: avoid C++ keywords in headers (for kdebase) auto/th/xorg-lib-libXrandr-1_2_0-3
authorqrczak <qrczak@pld-linux.org>
Tue, 20 Feb 2007 11:11:28 +0000 (11:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release 3

Changed files:
    xorg-lib-libXrandr-c++.patch -> 1.1
    xorg-lib-libXrandr.spec -> 1.24

xorg-lib-libXrandr-c++.patch [new file with mode: 0644]
xorg-lib-libXrandr.spec

diff --git a/xorg-lib-libXrandr-c++.patch b/xorg-lib-libXrandr-c++.patch
new file mode 100644 (file)
index 0000000..dd8bd5b
--- /dev/null
@@ -0,0 +1,11 @@
+--- libXrandr-1.2.0/include/X11/extensions/Xrandr.h~   2006-12-13 10:24:25.000000000 +0100
++++ libXrandr-1.2.0/include/X11/extensions/Xrandr.h    2007-02-20 12:05:18.000000000 +0100
+@@ -296,7 +296,7 @@
+ int
+ XRRGetOutputProperty (Display *dpy, RROutput output,
+                     Atom property, long offset, long length,
+-                    Bool delete, Bool pending, Atom req_type, 
++                    Bool delete_, Bool pending, Atom req_type, 
+                     Atom *actual_type, int *actual_format,
+                     unsigned long *nitems, unsigned long *bytes_after,
+                     unsigned char **prop);
index f1dfa9699bcdcc3eefe5beb94600c229e1215c79..6c4973d7733b1fce85889df2d5f7418a587bbfc4 100644 (file)
@@ -2,11 +2,12 @@ Summary:      X Randr extension library
 Summary(pl.UTF-8):     Biblioteka rozszerzenia X Randr
 Name:          xorg-lib-libXrandr
 Version:       1.2.0
-Release:       1
+Release:       3
 License:       MIT
 Group:         X11/Libraries
 Source0:       http://xorg.freedesktop.org/releases/individual/lib/libXrandr-%{version}.tar.bz2
 # Source0-md5: 10b5f39f267da31fbe885771d4e3d27f
+Patch0:                %{name}-c++.patch
 URL:           http://xorg.freedesktop.org/
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
@@ -69,6 +70,7 @@ Pakiet zawiera statycznÄ… bibliotekÄ™ libXrandr.
 
 %prep
 %setup -q -n libXrandr-%{version}
+%patch0 -p1
 
 %build
 %{__libtoolize}
This page took 0.220131 seconds and 4 git commands to generate.