Hello community, here is the log from the commit of package dmxviewer for openSUSE:Factory checked in at Mon May 4 18:03:18 CEST 2009. -------- --- dmxviewer/dmxviewer.changes 2008-11-11 16:23:03.000000000 +0100 +++ /mounts/work_src_done/STABLE/dmxviewer/dmxviewer.changes 2009-05-04 01:26:11.000000000 +0200 @@ -1,0 +2,5 @@ +Mon May 4 01:22:20 CEST 2009 - ro@suse.de + +- hack to build with current x11 includes + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- dmxviewer-buildfix.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dmxviewer.spec ++++++ --- /var/tmp/diff_new_pack.K24622/_old 2009-05-04 18:03:10.000000000 +0200 +++ /var/tmp/diff_new_pack.K24622/_new 2009-05-04 18:03:10.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package dmxviewer (Version 0.1.6) # -# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2009 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 @@ -23,10 +23,11 @@ Requires: openssh Summary: DMX viewer Version: 0.1.6 -Release: 1 +Release: 2 License: X11/MIT Group: System/X11/Utilities Source: %{name}-%{version}.tar.bz2 +Patch0: dmxviewer-buildfix.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -36,6 +37,7 @@ %prep %setup +%patch0 %build autoreconf -f -i @@ -54,6 +56,8 @@ %{_bindir}/dmxviewer %changelog +* Mon May 04 2009 ro@suse.de +- hack to build with current x11 includes * Tue Nov 11 2008 davidr@novell.com - Fix input focus handling. * Wed Oct 15 2008 davidr@novell.com ++++++ dmxviewer-buildfix.diff ++++++ --- src/dmxviewer.c +++ src/dmxviewer.c @@ -480,12 +480,12 @@ free (dmx_atom_rep); } - wm_hints = xcb_alloc_wm_hints (); + wm_hints = calloc(1, sizeof(xcb_wm_hints_t)); if (wm_hints) { xcb_wm_hints_set_input (wm_hints, 1); xcb_set_wm_hints (c, w, wm_hints); - xcb_free_wm_hints (wm_hints); + free (wm_hints); } wm_protocols_rep = xcb_intern_atom_reply (c, wm_protocols, NULL); @@ -503,7 +503,7 @@ } if (wm_take_focus_atom) - xcb_set_wm_protocols (c, w, 1, &wm_take_focus_atom); + xcb_set_wm_protocols (c, wm_protocols_atom, w, 1, &wm_take_focus_atom); if (fullscreen) { ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org