Mailinglist Archive: opensuse-commit (1117 mails)

< Previous Next >
commit input-utils for openSUSE:Factory
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Sat, 07 Feb 2009 08:12:44 +0100
  • Message-id: <20090207071245.309AA67816B@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package input-utils for openSUSE:Factory
checked in at Sat Feb 7 08:12:44 CET 2009.


--------
--- input-utils/input-utils.changes 2009-01-28 16:36:42.000000000 +0100
+++ input-utils/input-utils.changes 2009-02-05 13:17:30.000000000 +0100
@@ -1,0 +2,5 @@
+Thu Feb 5 13:16:49 CET 2009 - prusnak@xxxxxxx
+
+- fixed EVIOCGBIT call (eviocgbit.patch) [bnc#472773]
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
input-utils-eviocgbit.patch

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

Other differences:
------------------
++++++ input-utils.spec ++++++
--- /var/tmp/diff_new_pack.cJ9640/_old 2009-02-07 08:07:19.000000000 +0100
+++ /var/tmp/diff_new_pack.cJ9640/_new 2009-02-07 08:07:19.000000000 +0100
@@ -21,7 +21,7 @@
Name: input-utils
BuildRequires: SDL-devel linux-kernel-headers
Version: 2007.06.22
-Release: 156
+Release: 157
Provides: joystick
Obsoletes: joystick
AutoReqProv: on
@@ -34,6 +34,7 @@
Patch1: %{name}-on_exit.patch
Patch2: %{name}-dtor.patch
Patch3: %{name}-absset.patch
+Patch4: %{name}-eviocgbit.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%define programs absset evtest ffcfstress ffmvforce ffset fftest inputattach
jscal jstest

@@ -53,6 +54,7 @@
%patch1
%patch2
%patch3
+%patch4

%build
make CFLAGS="$RPM_OPT_FLAGS -Wall" PROGRAMS="%{programs}"
@@ -69,6 +71,8 @@
%{_bindir}/*

%changelog
+* Thu Feb 05 2009 prusnak@xxxxxxx
+- fixed EVIOCGBIT call (eviocgbit.patch) [bnc#472773]
* Wed Jan 28 2009 prusnak@xxxxxxx
- added absset program (absset.patch) [bnc#468966]
* Wed Oct 29 2008 prusnak@xxxxxxx

++++++ input-utils-eviocgbit.patch ++++++
--- evtest.c
+++ evtest.c
@@ -333,14 +333,14 @@
printf("Input device name: \"%s\"\n", name);

memset(bit, 0, sizeof(bit));
- ioctl(fd, EVIOCGBIT(0, EV_MAX), bit[0]);
+ ioctl(fd, EVIOCGBIT(0, sizeof(bit[0])), bit[0]);
printf("Supported events:\n");

for (i = 0; i < EV_MAX; i++)
if (test_bit(i, bit[0])) {
printf(" Event type %d (%s)\n", i, events[i] ?
events[i] : "?");
if (!i) continue;
- ioctl(fd, EVIOCGBIT(i, KEY_MAX), bit[i]);
+ ioctl(fd, EVIOCGBIT(i, sizeof(bit[i])), bit[i]);
for (j = 0; j < KEY_MAX; j++)
if (test_bit(j, bit[i])) {
printf(" Event code %d (%s)\n", j,
names[i] ? (names[i][j] ? names[i][j] : "?") : "?");

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



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