Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit xorg-x11-libXrender
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Sat, 25 Aug 2007 00:11:24 +0200
  • Message-id: <20070824221124.BACA86781B8@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package xorg-x11-libXrender
checked in at Sat Aug 25 00:11:24 CEST 2007.

--------
--- xorg-x11-libXrender/xorg-x11-libXrender.changes     2006-10-14 06:17:53.000000000 +0200
+++ /mounts/work_src_done/STABLE/xorg-x11-libXrender/xorg-x11-libXrender.changes        2007-08-24 15:41:21.335674000 +0200
@@ -1,0 +2,6 @@
+Fri Aug 24 15:41:17 CEST 2007 - sndirsch@xxxxxxx
+
+- libXrender 0.9.3
+  * Properly set length field in gradient requests (bug 9526).
+
+-------------------------------------------------------------------

Old:
----
  libXrender-0.9.2.tar.bz2

New:
----
  libXrender-0.9.3.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xorg-x11-libXrender.spec ++++++
--- /var/tmp/diff_new_pack.jg5236/_old  2007-08-25 00:10:42.000000000 +0200
+++ /var/tmp/diff_new_pack.jg5236/_new  2007-08-25 00:10:42.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package xorg-x11-libXrender (Version 7.2)
 #
-# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # This file and all modifications and additions to the pristine
 # package are under the same license as the package itself.
 #
@@ -11,11 +11,11 @@
 # norootforbuild
 
 Name:           xorg-x11-libXrender
-%define dirsuffix 0.9.2
+%define dirsuffix 0.9.3
 BuildRequires:  pkgconfig xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-proto-devel xorg-x11-xtrans-devel
 Url:            http://xorg.freedesktop.org/
 Version:        7.2
-Release:        1
+Release:        56
 License:        X11/MIT
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Group:          System/Libraries
@@ -89,7 +89,10 @@
 /usr/%{_lib}/*.so
 /usr/%{_lib}/pkgconfig/*.pc
 
-%changelog -n xorg-x11-libXrender
+%changelog
+* Fri Aug 24 2007 - sndirsch@xxxxxxx
+- libXrender 0.9.3
+  * Properly set length field in gradient requests (bug 9526).
 * Sat Oct 14 2006 - sndirsch@xxxxxxx
 - updated to X.Org 7.2RC1
 * Wed Aug 02 2006 - sndirsch@xxxxxxx

++++++ libXrender-0.9.2.tar.bz2 -> libXrender-0.9.3.tar.bz2 ++++++
++++ 19506 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXrender-0.9.2/config.h.in new/libXrender-0.9.3/config.h.in
--- old/libXrender-0.9.2/config.h.in    2006-10-13 22:26:17.000000000 +0200
+++ new/libXrender-0.9.3/config.h.in    2007-08-20 20:42:07.000000000 +0200
@@ -48,6 +48,15 @@
 /* Define to the version of this package. */
 #undef PACKAGE_VERSION
 
+/* Major version of this package */
+#undef PACKAGE_VERSION_MAJOR
+
+/* Minor version of this package */
+#undef PACKAGE_VERSION_MINOR
+
+/* Patch version of this package */
+#undef PACKAGE_VERSION_PATCHLEVEL
+
 /* Define to 1 if you have the ANSI C header files. */
 #undef STDC_HEADERS
 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXrender-0.9.2/configure.ac new/libXrender-0.9.3/configure.ac
--- old/libXrender-0.9.2/configure.ac   2006-10-13 20:59:46.000000000 +0200
+++ new/libXrender-0.9.3/configure.ac   2007-01-03 04:39:36.000000000 +0100
@@ -32,7 +32,7 @@
 dnl digit in the version number to track changes which don't affect the
 dnl protocol, so Xrender version l.n.m corresponds to protocol version l.n
 dnl
-AC_INIT(libXrender, 0.9.2, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXrender)
+AC_INIT(libXrender, 0.9.3, [https://bugs.freedesktop.org/enter_bug.cgi?product=xorg], libXrender)
 AM_INIT_AUTOMAKE([dist-bzip2])
 AM_MAINTAINER_MODE
 
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXrender-0.9.2/missing new/libXrender-0.9.3/missing
--- old/libXrender-0.9.2/missing        2006-10-13 02:09:37.000000000 +0200
+++ new/libXrender-0.9.3/missing        2007-01-03 04:42:37.000000000 +0100
@@ -1,9 +1,9 @@
 #! /bin/sh
 # Common stub for a few missing GNU programs while installing.
 
-scriptversion=2005-06-08.21
+scriptversion=2006-05-10.23
 
-# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
+# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
 #   Free Software Foundation, Inc.
 # Originally by Fran,cois Pinard <pinard@xxxxxxxxxxxxxxxx>, 1996.
 
@@ -33,6 +33,8 @@
 fi
 
 run=:
+sed_output='s/.* --output[ =]\([^ ]*\).*/\1/p'
+sed_minuso='s/.* -o \([^ ]*\).*/\1/p'
 
 # In the cases where this matters, `missing' is being run in the
 # srcdir already.
@@ -44,7 +46,7 @@
 
 msg="missing on your system"
 
-case "$1" in
+case $1 in
 --run)
   # Try to run requested program, and just exit if it succeeds.
   run=
@@ -77,6 +79,7 @@
   aclocal      touch file \`aclocal.m4'
   autoconf     touch file \`configure'
   autoheader   touch file \`config.h.in'
+  autom4te     touch the output file, or create a stub one
   automake     touch all \`Makefile.in' files
   bison        create \`y.tab.[ch]', if possible, from existing .[ch]
   flex         create \`lex.yy.c', if possible, from existing .c
@@ -106,7 +109,7 @@
 # Now exit if we have it, but it failed.  Also exit now if we
 # don't have it and --version was passed (most likely to detect
 # the program).
-case "$1" in
+case $1 in
   lex|yacc)
     # Not GNU programs, they don't have --version.
     ;;
@@ -135,7 +138,7 @@
 
 # If it does not exist, or fails to run (possibly an outdated version),
 # try to emulate it.
-case "$1" in
+case $1 in
   aclocal*)
     echo 1>&2 "\
 WARNING: \`$1' is $msg.  You should only need it if
@@ -164,7 +167,7 @@
     test -z "$files" && files="config.h"
     touch_files=
     for f in $files; do
-      case "$f" in
+      case $f in
       *:*) touch_files="$touch_files "`echo "$f" |
                                       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
       *) touch_files="$touch_files $f.in";;
@@ -192,8 +195,8 @@
          You can get \`$1' as part of \`Autoconf' from any GNU
          archive site."
 
-    file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
-    test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
+    file=`echo "$*" | sed -n "$sed_output"`
+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
     if test -f "$file"; then
        touch $file
     else
@@ -214,25 +217,25 @@
          in order for those modifications to take effect.  You can get
          \`Bison' from any GNU archive site."
     rm -f y.tab.c y.tab.h
-    if [ $# -ne 1 ]; then
+    if test $# -ne 1; then
         eval LASTARG="\${$#}"
-       case "$LASTARG" in
+       case $LASTARG in
        *.y)
            SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
-           if [ -f "$SRCFILE" ]; then
+           if test -f "$SRCFILE"; then
                 cp "$SRCFILE" y.tab.c
            fi
            SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
-           if [ -f "$SRCFILE" ]; then
+           if test -f "$SRCFILE"; then
                 cp "$SRCFILE" y.tab.h
            fi
          ;;
        esac
     fi
-    if [ ! -f y.tab.h ]; then
+    if test ! -f y.tab.h; then
        echo >y.tab.h
     fi
-    if [ ! -f y.tab.c ]; then
+    if test ! -f y.tab.c; then
        echo 'main() { return 0; }' >y.tab.c
     fi
     ;;
@@ -244,18 +247,18 @@
          in order for those modifications to take effect.  You can get
          \`Flex' from any GNU archive site."
     rm -f lex.yy.c
-    if [ $# -ne 1 ]; then
+    if test $# -ne 1; then
         eval LASTARG="\${$#}"
-       case "$LASTARG" in
+       case $LASTARG in
        *.l)
            SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
-           if [ -f "$SRCFILE" ]; then
+           if test -f "$SRCFILE"; then
                 cp "$SRCFILE" lex.yy.c
            fi
          ;;
        esac
     fi
-    if [ ! -f lex.yy.c ]; then
+    if test ! -f lex.yy.c; then
        echo 'main() { return 0; }' >lex.yy.c
     fi
     ;;
@@ -267,11 +270,9 @@
         \`Help2man' package in order for those modifications to take
         effect.  You can get \`Help2man' from any GNU archive site."
 
-    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
-    if test -z "$file"; then
-       file=`echo "$*" | sed -n 's/.*--output=\([^ ]*\).*/\1/p'`
-    fi
-    if [ -f "$file" ]; then
+    file=`echo "$*" | sed -n "$sed_output"`
+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
+    if test -f "$file"; then
        touch $file
     else
        test -z "$file" || exec >$file
@@ -289,11 +290,17 @@
          DU, IRIX).  You might want to install the \`Texinfo' package or
          the \`GNU make' package.  Grab either from any GNU archive site."
     # The file to touch is that specified with -o ...
-    file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
+    file=`echo "$*" | sed -n "$sed_output"`
+    test -z "$file" && file=`echo "$*" | sed -n "$sed_minuso"`
     if test -z "$file"; then
       # ... or it is the one specified with @setfilename ...
       infile=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
-      file=`sed -n '/^@setfilename/ { s/.* \([^ ]*\) *$/\1/; p; q; }' $infile`
+      file=`sed -n '
+       /^@setfilename/{
+         s/.* \([^ ]*\) *$/\1/
+         p
+         q
+       }' $infile`
       # ... or it is derived from the source name (dir/f.texi becomes f.info)
       test -z "$file" && file=`echo "$infile" | sed 's,.*/,,;s,.[^.]*$,,'`.info
     fi
@@ -317,13 +324,13 @@
     fi
     firstarg="$1"
     if shift; then
-       case "$firstarg" in
+       case $firstarg in
        *o*)
            firstarg=`echo "$firstarg" | sed s/o//`
            tar "$firstarg" "$@" && exit 0
            ;;
        esac
-       case "$firstarg" in
+       case $firstarg in
        *h*)
            firstarg=`echo "$firstarg" | sed s/h//`
            tar "$firstarg" "$@" && exit 0
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/libXrender-0.9.2/src/Picture.c new/libXrender-0.9.3/src/Picture.c
--- old/libXrender-0.9.2/src/Picture.c  2006-10-12 00:31:48.000000000 +0200
+++ new/libXrender-0.9.3/src/Picture.c  2007-01-03 04:45:57.000000000 +0100
@@ -277,6 +277,7 @@
     XRenderExtDisplayInfo          *info = XRenderFindDisplay (dpy);
     Picture                pid;
     xRenderCreateLinearGradientReq *req;
+    long                          len;
 
     RenderCheckExtension (dpy, info, 0);
     LockDisplay(dpy);
@@ -291,9 +292,10 @@
     req->p2.y = gradient->p2.y;
 
     req->nStops = nStops;
+    len = (long) nStops * 3;
+    SetReqLen (req, len, 6);
     DataInt32(dpy, stops, nStops * 4);
     Data16(dpy, colors, nStops * 8);
-    req->length += nStops*3;
 
     UnlockDisplay(dpy);
     SyncHandle();
@@ -309,6 +311,7 @@
     XRenderExtDisplayInfo          *info = XRenderFindDisplay (dpy);
     Picture                pid;
     xRenderCreateRadialGradientReq *req;
+    long                          len;
 
     RenderCheckExtension (dpy, info, 0);
     LockDisplay(dpy);
@@ -325,9 +328,10 @@
     req->outer_radius = gradient->outer.radius;
 
     req->nStops = nStops;
+    len = (long) nStops * 3;
+    SetReqLen (req, len, 6);
     DataInt32(dpy, stops, nStops * 4);
     Data16(dpy, colors, nStops * 8);
-    req->length += nStops*3;
 
     UnlockDisplay(dpy);
     SyncHandle();
@@ -343,6 +347,7 @@
     XRenderExtDisplayInfo          *info = XRenderFindDisplay (dpy);
     Picture                pid;
     xRenderCreateConicalGradientReq *req;
+    long                           len;
 
     RenderCheckExtension (dpy, info, 0);
     LockDisplay(dpy);
@@ -356,9 +361,10 @@
     req->angle = gradient->angle;
 
     req->nStops = nStops;
+    len = (long) nStops * 3;
+    SetReqLen (req, len, 6);
     DataInt32(dpy, stops, nStops * 4);
     Data16(dpy, colors, nStops * 8);
-    req->length += nStops*3;
 
     UnlockDisplay(dpy);
     SyncHandle();


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages