Hello community,

here is the log from the commit of package v4l-utils for openSUSE:Factory 
checked in at 2013-03-22 12:09:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/v4l-utils (Old)
 and      /work/SRC/openSUSE:Factory/.v4l-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "v4l-utils", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/v4l-utils/v4l-utils.changes      2012-11-05 
06:34:14.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.v4l-utils.new/v4l-utils.changes 2013-03-22 
12:09:36.000000000 +0100
@@ -1,0 +2,6 @@
+Sat Mar 16 21:59:51 UTC 2013 - [email protected]
+
+- add use-openat-if-available.patch:
+  * prefer openat over deprecated open syscall (fixes aarch64) 
+
+-------------------------------------------------------------------

New:
----
  use-openat-if-available.patch

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

Other differences:
------------------
++++++ v4l-utils.spec ++++++
--- /var/tmp/diff_new_pack.JnKkD9/_old  2013-03-22 12:09:38.000000000 +0100
+++ /var/tmp/diff_new_pack.JnKkD9/_new  2013-03-22 12:09:38.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package v4l-utils
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 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
@@ -35,6 +35,7 @@
 Patch0:         disable_rds_compilation.patch
 # PATCH-FIX-UPSTREAM udev-rules-dir.patch [email protected] -- allow udev rules 
directory to be overridden
 Patch1:         udev-rules-dir.patch
+Patch2:         use-openat-if-available.patch
 # Only needed to patch broken images in the upstream tarball
 BuildRequires:  ImageMagick
 BuildRequires:  kernel-headers
@@ -142,6 +143,7 @@
 %setup -q
 %patch0
 %patch1 -p1
+%patch2 -p1
 
 %build
 make CFLAGS="%{optflags} -fno-strict-aliasing" CXXFLAGS="%{optflags}" 
%{?_smp_mflags}

++++++ use-openat-if-available.patch ++++++
>From ac8eb4d8e1c16b907e795da123a032869c77c56f Mon Sep 17 00:00:00 2001
From: Riku Voipio <[email protected]>
Date: Tue, 22 Jan 2013 12:44:48 +0200
Subject: [PATCH] libv4lsyscall-priv.h: use openat when available

New architectures such as 64-Bit arm build kernels without legacy
system calls - Such as the the no-at system calls. Thus, use
SYS_openat whenever it is available.

Signed-off-by: Riku Voipio <[email protected]>
---
 lib/libv4lconvert/libv4lsyscall-priv.h |    5 +++++
 1 file changed, 5 insertions(+)

Index: v4l-utils-0.8.9/lib/libv4lconvert/libv4lsyscall-priv.h
===================================================================
--- v4l-utils-0.8.9.orig/lib/libv4lconvert/libv4lsyscall-priv.h
+++ v4l-utils-0.8.9/lib/libv4lconvert/libv4lsyscall-priv.h
@@ -72,8 +72,13 @@ typedef off_t __off_t;
 
 #ifndef CONFIG_SYS_WRAPPER
 
+#ifdef SYS_openat
+#define SYS_OPEN(file, oflag, mode) \
+       syscall(SYS_openat, AT_FDCWD, (const char *)(file), (int)(oflag), 
(mode_t)(mode))
+#else
 #define SYS_OPEN(file, oflag, mode) \
        syscall(SYS_open, (const char *)(file), (int)(oflag), (mode_t)(mode))
+#endif
 #define SYS_CLOSE(fd) \
        syscall(SYS_close, (int)(fd))
 #define SYS_IOCTL(fd, cmd, arg) \
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to