Hello community, here is the log from the commit of package xawtv for openSUSE:Factory checked in at 2014-12-29 00:30:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xawtv (Old) and /work/SRC/openSUSE:Factory/.xawtv.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xawtv" Changes: -------- --- /work/SRC/openSUSE:Factory/xawtv/xawtv.changes 2013-07-25 14:49:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.xawtv.new/xawtv.changes 2014-12-29 00:30:33.000000000 +0100 @@ -1,0 +2,5 @@ +Fri Dec 26 14:58:40 UTC 2014 - [email protected] + +- fix Segfault at start + add xawtv-fixblitframesegfault.patch + +------------------------------------------------------------------- New: ---- xawtv-fixblitframesegfault.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xawtv.spec ++++++ --- /var/tmp/diff_new_pack.XZcgcO/_old 2014-12-29 00:30:37.000000000 +0100 +++ /var/tmp/diff_new_pack.XZcgcO/_new 2014-12-29 00:30:37.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package xawtv # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -28,6 +28,8 @@ Source2: motv.desktop # PATCH-FIX-OPENSUSE v4l-conf_non-position-independent-executable_fix.patch [email protected] -- Fix non-position-independent-executable rpmlint warning for v4l-conf Patch0: v4l-conf_non-position-independent-executable_fix.patch +# PATCH-SENT-UPSTREAM to hdegoede +Patch1: xawtv-fixblitframesegfault.patch BuildRequires: aalib-devel BuildRequires: alsa-devel %if 0%{?suse_version} > 1210 @@ -143,6 +145,7 @@ %prep %setup -q %patch0 +%patch1 -p1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" ++++++ xawtv-fixblitframesegfault.patch ++++++ Index: xawtv-3.103/x11/blit.c =================================================================== --- xawtv-3.103.orig/x11/blit.c +++ xawtv-3.103/x11/blit.c @@ -937,7 +937,8 @@ void blit_putframe(struct blit_state *st #ifdef HAVE_LIBXV case STATUS_XVIDEO: - memcpy(st->xvimage->data,buf->data,buf->size); + memcpy(st->xvimage->data,buf->data, + buf->size < st->xvimage->data_size ? buf->size : st->xvimage->data_size); ng_release_video_buf(buf); xv_blit(XtDisplay(st->widget), XtWindow(st->widget), st->gc, st->xvimage, -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
