Hello community, here is the log from the commit of package libxml2 for openSUSE:Factory checked in at 2012-03-02 13:49:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libxml2 (Old) and /work/SRC/openSUSE:Factory/.libxml2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libxml2", Maintainer is "VCizek@suse.com" Changes: -------- --- /work/SRC/openSUSE:Factory/libxml2/libxml2.changes 2012-02-26 10:14:24.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libxml2.new/libxml2.changes 2012-03-02 13:49:15.000000000 +0100 @@ -1,0 +2,5 @@ +Thu Mar 1 18:36:33 CET 2012 - meissner@suse.de + +- fixed a 64bit big endian bug in the file reader. + +------------------------------------------------------------------- New: ---- bigendian64.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libxml2.spec ++++++ --- /var/tmp/diff_new_pack.jUyqPd/_old 2012-03-02 13:49:18.000000000 +0100 +++ /var/tmp/diff_new_pack.jUyqPd/_new 2012-03-02 13:49:18.000000000 +0100 @@ -28,6 +28,7 @@ # Source ftp://xmlsoft.org/libxml2/libxml2-git-snapshot.tar.gz changes every day Source: libxml2-git-snapshot.tar.gz Source2: baselibs.conf +Patch0: bigendian64.patch BuildRequires: pkg-config BuildRequires: readline-devel BuildRequires: xz-devel @@ -127,6 +128,7 @@ %prep %setup -q -n %{name}-2.7.8 +%patch0 -p0 %build %configure --disable-static \ ++++++ bigendian64.patch ++++++ --- xzlib.c.xx 2012-03-01 17:23:54.000000000 +0000 +++ xzlib.c 2012-03-01 17:24:48.000000000 +0000 @@ -228,9 +228,14 @@ if (state->err != LZMA_OK) return -1; if (state->eof == 0) { + /* avail_in is size_t, which is not necessary sizeof(unsigned) */ + unsigned tmp = strm->avail_in; if (xz_load(state, state->in, state->size, - (unsigned *) &(strm->avail_in)) == -1) + &tmp) == -1) { + strm->avail_in = tmp; return -1; + } + strm->avail_in = tmp; strm->next_in = state->in; } return 0; -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org