xorg-xserver-server.spec
Jacek 'jackass' Brzozowski
metallowiec at op.pl
Sun May 7 00:03:00 CEST 2006
mała poprawka bezpieczeństwa dla xorg. więcej info:
http://secunia.com/advisories/19900
u mnie pakiet się buduje bez problemów.
-------------- next part --------------
--- xorg-xserver-server.spec 2006-05-06 23:52:51.000000000 +0200
+++ xorg-xserver-server.spec.new 2006-05-06 23:53:46.000000000 +0200
@@ -16,6 +16,7 @@
Patch1: %{name}-symlinks.patch
Patch2: %{name}-xwrapper.patch
Patch3: %{name}-compositefastpath.patch
+Patch4: %{name}-mitri.patch
URL: http://xorg.freedesktop.org/
# for glx headers
BuildRequires: OpenGL-GLX-devel
@@ -226,6 +227,7 @@
%patch1 -p1
%patch2 -p0
%patch3 -p0
+%patch4 -p0
%build
%{__libtoolize}
-------------- next part --------------
Index: xorg/render/mitri.c
===================================================================
RCS file: /cvs/xorg/xserver/xorg/render/mitri.c,v
retrieving revision 1.5
diff -u -r1.5 mitri.c
--- render/mitri.c 3 Jul 2005 07:02:08 -0000 1.5
+++ render/mitri.c 30 Apr 2006 20:29:53 -0000
@@ -145,7 +145,7 @@
if (npoint < 3)
return;
ntri = npoint - 2;
- tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
+ tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
if (!tris)
return;
for (tri = tris; npoint >= 3; npoint--, points++, tri++)
@@ -177,7 +177,7 @@
if (npoint < 3)
return;
ntri = npoint - 2;
- tris = ALLOCATE_LOCAL (ntri & sizeof (xTriangle));
+ tris = ALLOCATE_LOCAL (ntri * sizeof (xTriangle));
if (!tris)
return;
first = points++;
More information about the pld-devel-pl
mailing list