Hello community,

here is the log from the commit of package acpid for openSUSE:Factory checked 
in at 2016-02-24 14:25:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/acpid (Old)
 and      /work/SRC/openSUSE:Factory/.acpid.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "acpid"

Changes:
--------
--- /work/SRC/openSUSE:Factory/acpid/acpid.changes      2015-09-30 
05:52:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.acpid.new/acpid.changes 2016-02-24 
14:25:29.000000000 +0100
@@ -1,0 +2,9 @@
+Sun Jan 17 10:05:01 UTC 2016 - [email protected]
+
+- Update to 2.0.26
+  * Fix build warning with new kernel headers.
+  * Fix build with musl libc.  Define isfdtype() if libc doesn't 
+    have it.
+  * Fix out of tree build.
+
+-------------------------------------------------------------------

Old:
----
  acpid-2.0.25.tar.xz

New:
----
  acpid-2.0.26.tar.xz

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

Other differences:
------------------
++++++ acpid.spec ++++++
--- /var/tmp/diff_new_pack.R4YSAI/_old  2016-02-24 14:25:30.000000000 +0100
+++ /var/tmp/diff_new_pack.R4YSAI/_new  2016-02-24 14:25:30.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package acpid
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           acpid
-Version:        2.0.25
+Version:        2.0.26
 Release:        0
 Summary:        Executes Actions at ACPI Events
 License:        GPL-2.0+

++++++ acpid-2.0.25.tar.xz -> acpid-2.0.26.tar.xz ++++++
++++ 1642 lines of diff (skipped)
++++    retrying with extended exclude list
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/Changelog new/acpid-2.0.26/Changelog
--- old/acpid-2.0.25/Changelog  2015-08-17 01:04:51.000000000 +0200
+++ new/acpid-2.0.26/Changelog  2016-01-15 20:37:07.000000000 +0100
@@ -1,4 +1,16 @@
-* Sun Aug 16 2015  Ted Felix <[email protected]>
+* 2.0.26  2016-01-15  Ted Felix <[email protected]>
+  - 2.0.26 release
+    (configure.ac)  (Ted Felix)
+  - Fix build warning with new kernel headers.  Debian #808015.
+    (libnetlink.c kacpimon/libnetlink.c)  (Ted Felix)
+  - Fix build with musl libc.  Define isfdtype() if libc doesn't have it.
+    (configure.ac sock.c)
+    (Khem Raj)
+  - Fix out of tree build.
+    (Makefile.am)
+    (Khem Raj)
+
+* 2.0.25  2015-08-16  Ted Felix <[email protected]>
   - 2.0.25 release
     (configure.ac)  (Ted Felix)
   - Remove release process from README.
@@ -7,7 +19,7 @@
     (Makefile.am kacpimon/Makefile.am kacpimon/libc_compat.h)
     (Ted Felix)
 
-* Sat Aug 15 2015  Ted Felix <[email protected]>
+* 2.0.24  2015-08-15  Ted Felix <[email protected]>
   - 2.0.24 release
     (configure.ac)  (Ted Felix)
   - Avoid using SW_VIDEOOUT_INSERT if it isn't available.  (input_layer.c)
@@ -22,7 +34,7 @@
   - Add systemd info to documentation.  (README TESTPLAN)
     (Ted Felix)
 
-* Sat Aug 23 2014  Ted Felix <[email protected]>
+* 2.0.23  2014-08-23  Ted Felix <[email protected]>
   - 2.0.23 release
     (configure.ac)  (Ted Felix)
   - Avoid using KEY_MICMUTE if it doesn't exist.
@@ -30,7 +42,7 @@
   - Add troubleshooting section to man page.
     (acpid.8)  (Ted Felix)
 
-* Sat March 15 2014  Ted Felix <[email protected]>
+* 2.0.22  2014-03-15  Ted Felix <[email protected]>
   - 2.0.22 release
     (configure.ac)  (Ted Felix)
   - Add support for F20.  Debian Bug #738611.
@@ -43,14 +55,14 @@
   - Update man page for --tpmutefix.
     (acpid.8)  (Ted Felix)
 
-* Wed Jan 15 2014  Ted Felix <[email protected]>
+* 2.0.21  2014-01-15  Ted Felix <[email protected]>
   - 2.0.21 release
     (configure.ac)  (Ted Felix)
   - Add new <drop> action.  Debian #732277.
     (acpid.c event.h event.c acpid.8)
     (Pigeon <[email protected]>, Ted Felix)
 
-* Sun Sep 15 2013  Ted Felix <ted -at- tedfelix -dot- com>
+* 2.0.20  2013-09-15  Ted Felix <[email protected]>
   - 2.0.20 release
     (configure.ac)  (Ted Felix)
   - Improve build and release documentation.  
@@ -62,7 +74,7 @@
   - Update .gitignore for Eclipse.
     (.gitignore)  (Ted Felix)
 
-* Tue May 28 2013  Ted Felix <ted -at- tedfelix -dot- com>
+* 2.0.19  2013-05-28  Ted Felix <[email protected]>
   - 2.0.19 release
     (configure.ac)  (Ted Felix)
   - README improvements  (README)  (Ted Felix)
@@ -72,7 +84,7 @@
   - Add support for mic mute (KEY_MICMUTE).
     (input_layer.c)  (Ted Felix)
 
-* Fri Feb 15 2013  Ted Felix <http://www.tedfelix.com>
+* 2.0.18  2013-02-15  Ted Felix <[email protected]>
   - 2.0.18 release
     (configure.ac)  (Ted Felix)
   - README improvements  (README)  (Ted Felix)
@@ -83,7 +95,7 @@
   - Add info on logind.conf's HandlePowerKey to man page.
     (acpid.8)  (Ted Felix)
 
-* Sat Sep 15 2012  Ted Felix <http://www.tedfelix.com>
+* 2.0.17  2012-09-15  Ted Felix <[email protected]>
   - 2.0.17 release
     (configure.ac)  (Ted Felix)
   - Check for chmod.
@@ -99,7 +111,7 @@
   - Free regular expression.  
     (event.c)  (Cristian Rodriguez)
 
-* Thu Mar 29 2012  Ted Felix <http://www.tedfelix.com>
+* 2.0.16  2012-03-29  Ted Felix <[email protected]>
   - 2.0.16 release
     (configure.ac)  (Ted Felix)
   - Add tests for required functions to configure.ac.
@@ -113,7 +125,7 @@
   - Add notes on making the tarball.
     (README)  (Ted Felix)
 
-* Thu Mar 15 2012  Ted Felix <http://www.tedfelix.com>
+* 2.0.15  2012-03-15  Ted Felix <[email protected]>
   - 2.0.15 release
     (configure.ac)  (Ted Felix)
   - Improve man page (Debian bug #656676).  
@@ -161,8 +173,7 @@
     openat(), and fdopen() in the configuration file processing.
     (event.c) (Cristian Rodriguez)
 
-* Thu Dec 15 2011  Ted Felix <http://www.tedfelix.com>
-  - 2.0.14 release
+* 2.0.14  2011-12-15  Ted Felix <[email protected]>
   - Fixed brace style.  (inotify_handler.c acpid.c)  (Ted Felix)
   - Added support for a "K" suffix on event strings to indicate that they
     may have originated from a keyboard input layer device.  This can be
@@ -192,8 +203,7 @@
     (connection_list.c connection_list.h inotify_handler.c input_layer.c 
     netlink.c proc.c sock.c)  (Ted Felix)
       
-* Tue Nov 15 2011  Ted Felix <http://www.tedfelix.com>
-  - 2.0.13 release
+* 2.0.13  2011-11-15  Ted Felix <[email protected]>
   - Fix for socket name buffer overflow.  (ud_socket.c)  (Ted Felix)
   - Moved acpid_log() out of acpid.h/.c and into log.h/.c to make it easier
     for all parts of acpid to use.  (Makefile acpid.h acpid.c connection_list.c
@@ -202,16 +212,13 @@
   - Cleaned up #includes and comment style.  (libnetlink.c libnetlink.h)
     (Ted Felix)
 
-* Mon Aug 15 2011  Ted Felix <http://www.tedfelix.com>
-  - 2.0.12 release
+* 2.0.12  2011-08-15  Ted Felix <[email protected]>
   - Changed exit() to _exit() if execl() fails.  (event.c)  (Ted Felix)
 
-* Sat Jul 30 2011  Ted Felix <http://www.tedfelix.com>
-  - 2.0.11 release
+* 2.0.11  2011-07-30  Ted Felix <[email protected]>
   - Set umask to 0077 for scripts run by acpid.  (event.c)  (Ted Felix)
 
-* Tue May 17 2011  Ted Felix <http://www.tedfelix.com>
-  - 2.0.10 release
+* 2.0.10  2011-05-17  Ted Felix <[email protected]>
   - Fixed compiler warnings in kacpimon.  (kacpimon/libnetlink.c)
     (Michael Meskes)
   - systemd support.  The socket acpid creates to connect with clients can now
@@ -219,8 +226,7 @@
     (Reiner Klussmeier)
   - man page improvements  (acpid.8)  (Ted Felix)
 
-* Fri Apr 15 2011  Ted Felix <http://www.tedfelix.com>
-  - 2.0.9 release
+* 2.0.9  2011-04-15  Ted Felix <[email protected]>
   - Removed newlines from acpid_log() calls and modified acpid_log() to
     no longer need newlines.  This change to acpid prevents blank lines in
     the log for versions of syslogd that preserve newlines.  (acpid.c 
@@ -231,14 +237,12 @@
     From: http://www.openwall.com/lists/oss-security/2011/01/19/4
   - Improvements to error handling.  (sock.c)  (Ted Felix)
 
-* Tue Feb 15 2011  Ted Felix <http://www.tedfelix.com>
-  - 2.0.8 release
+* 2.0.8  2011-02-15  Ted Felix <[email protected]>
   - Fixed "comparison between signed and unsigned integer expressions"
     error with gcc 4.6.  (libnetlink.c) (Eugeni Dodonov)
   - Fixed unused variable "type" with gcc 4.6.  (libnetlink.c) (Jiri Skala)
 
-* Mon Nov 15 2010  Ted Felix <http://www.tedfelix.com>
-  - 2.0.7 release
+* 2.0.7  2010-11-15  Ted Felix <[email protected]>
   - Reduced the startup logging and skipped processing of "." and ".."
     in the config files directory.  Debian #598198.  (event.c proc.c)
     (Ted Felix)
@@ -256,21 +260,18 @@
   - Added FD_CLOEXEC to the input layer fd's.  Red Hat #648221.  
     (input_layer.c) (Daniel Walsh)
 
-* Tue Jun 15 2010  Ted Felix <http://www.tedfelix.com>
-  - 2.0.6 release
+* 2.0.6  2010-06-15  Ted Felix <[email protected]>
   - Added getXconsole() to samples/powerbtn/powerbtn.sh to eliminate 
     dependency on other parts of Debian.  (samples/powerbtn/powerbtn.sh)
     (Debian and Timo Gurr)
 
-* Sat May 15 2010  Ted Felix <http://www.tedfelix.com>
-  - 2.0.5 release
+* 2.0.5  2010-05-15  Ted Felix <[email protected]>
   - Moved powerbtn.sh to powerbtn.sh.old and brought in the latest
     powerbtn.sh from Debian which handles KDE4.  
     (samples/powerbtn/powerbtn.sh samples/powerbtn/powerbtn.sh.old)  
     (Ted Felix)
 
-* Thu Apr 15 2010  Ted Felix <http://www.tedfelix.com>
-  - 2.0.4 release
+* 2.0.4  2010-04-15  Ted Felix <[email protected]>
   - Replaced all the mandb code in the makefile with a comment.  (Makefile) 
     (Ted Felix)
   - Revamped logging.  (acpid.c event.c inotify_handler.c input_layer.c 
@@ -282,8 +283,7 @@
   - Removed the %changelog token from the top of the Changelog.  This
     appears to be a Red Hat-ism.  (Changelog) (Ted Felix)
 
-* Mon Mar 15 2010  Ted Felix <http://www.tedfelix.com>
-  - 2.0.3 release
+* 2.0.3  2010-03-15  Ted Felix <[email protected]>
   - Fixed problem in makefile with mandb line when DESTDIR is not empty.
     (Makefile) (Jiri Skala)
   - Added missing headers needed by Red Hat/Fedora.  (acpid.c sock.c)
@@ -292,8 +292,7 @@
     in Linux".  (acpid.c) (Ted Felix)
   - Removed the test for bad kernels.  (acpid.c) (Ted Felix)
 
-* Mon Feb 15 2010  Ted Felix <http://www.tedfelix.com>
-  - 2.0.2 release
+* 2.0.2  2010-02-15  Ted Felix <[email protected]>
   - Increased MAX_CONNECTIONS to 20.  (connection_list.c)
   - Recalculate highestfd in delete_connection().  (connection_list.c)
     (Willi Mann)
@@ -302,8 +301,7 @@
   - Added fix for mandb issue.  (Makefile) (Robby Workman)
   - Moved README-NETLINK into README.  (README-NETLINK README)
 
-* Fri Jan 15 2010  Ted Felix <http://www.tedfelix.com>
-  - 2.0.1 release
+* 2.0.1  2010-01-15  Ted Felix <[email protected]>
   - Makefile improvements for packagers.  (Makefile) (Robby Workman)
     * Use DESTDIR instead of INSTPREFIX
     * Allow custom compiler optimizations
@@ -324,8 +322,7 @@
   - run-parts(8) naming convention for configuration files.  (event.c
     acpid.8) (Debian)
 
-* Tue Dec 15 2009  Ted Felix <http://www.tedfelix.com>
-  - 2.0.0 release
+* 2.0.0  2009-12-15  Ted Felix <[email protected]>
   - Fixed gcc 4.4 warnings for strict aliasing.  (kacpimon/acpi_ids.c)
     (Debian)
   - Fixed a printf() warning.  (kacpimon/input_layer.c) (Debian)
@@ -346,8 +343,7 @@
     (samples/sample.conf) (Ted Felix)
   - Improved the Example in the man page.  (acpid.8) (Ted Felix)
 
-* Thu Nov 13 2009  Ted Felix <http://www.tedfelix.com/>
-  - 1.0.10-netlink6 release
+* 1.0.10-netlink6  2009-11-13  Ted Felix <[email protected]>
   - Implemented discovery of new input layer devices using inotify(7).
     (inotify_handler.h inotify_handler.c acpid.c input_layer.h input_layer.c)
     (Ted Felix)
@@ -363,13 +359,11 @@
   - Turned off strict aliasing optimizations as the netlink code is
     filled with strict aliasing problems.  (Makefile) (Ted Felix)
 
-* Fri Nov 6 2009  Ted Felix <http://www.tedfelix.com/>
-  - 1.0.10-netlink5 release
+* 1.0.10-netlink5  2009-11-06  Ted Felix <[email protected]>
   - Fixed exit on device removal.  (input_layer.c connection_list.h
     connection_list.c) (Mikhail Krivtsov)
 
-* Sun Jul 19 2009  Ted Felix <http://www.tedfelix.com/>
-  - 1.0.10-netlink4 release
+* 1.0.10-netlink4  2009-07-19  Ted Felix <[email protected]>
   - Added events to input_layer.c to cover more buttons on the Thinkpad X40
     (input_layer.c) (Peter Stuge)
   - Fixed Makefile "dist" target to work properly.  (Makefile) (Ted Felix)
@@ -380,12 +374,11 @@
   - Removed unnecessary #include from connection_list.c.  (connection_list.c)
     (Ted Felix)
 
-* Mon May 04 2009  Ted Felix <http://www.tedfelix.com/>
-  - Fixed strict aliasing issue with gcc 4.4. (acpi_ids.c) (Michael Meskes
-    and Peter Alfredsen)
-  - 1.0.10-netlink3 release.
+* 1.0.10-netlink3  2009-05-04  Ted Felix <[email protected]>
+  - Fixed strict aliasing issue with gcc 4.4. (acpi_ids.c)
+    (Michael Meskes and Peter Alfredsen)
 
-* Sat May 02 2009  Ted Felix <http://www.tedfelix.com/>
+* 1.0.10-netlink2  2009-05-02  Ted Felix <[email protected]>
   - Merge of the following three 1.0.10 changes into 1.0.10-netlink2
     (Michael Meskes and Ted Felix)
 
@@ -403,28 +396,28 @@
 * Mon Feb 09 2009  Tim Hockin <[email protected]>
   - Open /dev/null O_RDWR, rather than O_RDONLY. (acpid.c)
 
-* Thu Dec 11 2008  Ted Felix <http://www.tedfelix.com/>
+* Thu Dec 11 2008  Ted Felix <[email protected]>
   - Version 1.0.8ted1
   - Netlink and Input Layer support.  Many files have been changed and
-    several have been added.  (Ted Felix <http://www.tedfelix.com/>)
+    several have been added.  (Ted Felix <[email protected]>)
 
 * Tue Oct 28 2008  Tim Hockin <[email protected]>
   - Bump version to 1.0.8 for release.
 
 * Sun Oct 26 2008  Tim Hockin <[email protected]>
-  - Define _GNU_SOURCE. (Makefile) (Ted Felix <http://www.tedfelix.com/>)
+  - Define _GNU_SOURCE. (Makefile) (Ted Felix <[email protected]>)
   - Rename a variable to avoid shadowing a global. (event.c) (Ted Felix
-    <http://www.tedfelix.com/>)
+    <[email protected]>)
   - Fix typos in man pages. (acpid.8, acpi_listen.8) (Ted Felix
-    <http://www.tedfelix.com/>)
+    <[email protected]>)
   - GCC 4.3.2 gives chdir() the _wur attribute (warn unused result). Check
-    for errors. (acpid.c) (Ted Felix <http://www.tedfelix.com/>)
+    for errors. (acpid.c) (Ted Felix <[email protected]>)
   - Check for ferror() in parse_file(). (event.c) (Ted Felix
-    <http://www.tedfelix.com/>)
+    <[email protected]>)
   - Only read regular files in acpid_read_conf(). (event.c) (Ted Felix
-    <http://www.tedfelix.com/>)
+    <[email protected]>)
   - Stop processing ACPI events when a lockfile exists (from Debian).
-    (acpid.8, acpid.c, acpid.h) (Ted Felix <http://www.tedfelix.com/>)
+    (acpid.8, acpid.c, acpid.h) (Ted Felix <[email protected]>)
 
 * Sat Nov 24 2007  Tim Hockin <[email protected]>
   - Build with -O2 flag (Makefile).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/Makefile.am new/acpid-2.0.26/Makefile.am
--- old/acpid-2.0.25/Makefile.am        2015-08-16 22:21:08.000000000 +0200
+++ new/acpid-2.0.26/Makefile.am        2016-01-13 16:51:30.000000000 +0100
@@ -7,7 +7,7 @@
 SUBDIRS = kacpimon
 
 AM_CFLAGS = -Wall -Wmissing-declarations -Wmissing-prototypes 
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wformat=2
-AM_CPPFLAGS = -include $(top_srcdir)/config.h
+AM_CPPFLAGS = -include $(top_builddir)/config.h
 
 sbin_PROGRAMS = acpid
 bin_PROGRAMS = acpi_listen
@@ -23,6 +23,6 @@
 dist_doc_DATA = COPYING Changelog README TESTPLAN TODO
 
 # Just docs to add to the dist.
-# One problem with this is that it includes all files in the samples dir 
+# One problem with this is that it includes all files in the samples dir
 # including editor backups ending in ~.  It's the best we've got for now.
 EXTRA_DIST = acpid-design.odg samples
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/build-aux/compile new/acpid-2.0.26/build-aux/compile
--- old/acpid-2.0.25/build-aux/compile  2015-08-17 01:08:59.000000000 +0200
+++ new/acpid-2.0.26/build-aux/compile  2016-01-15 20:39:20.000000000 +0100
@@ -3,7 +3,7 @@
 
 scriptversion=2012-10-14.11; # UTC
 
-# Copyright (C) 1999-2013 Free Software Foundation, Inc.
+# Copyright (C) 1999-2014 Free Software Foundation, Inc.
 # Written by Tom Tromey <[email protected]>.
 #
 # This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/build-aux/missing new/acpid-2.0.26/build-aux/missing
--- old/acpid-2.0.25/build-aux/missing  2015-08-17 01:08:59.000000000 +0200
+++ new/acpid-2.0.26/build-aux/missing  2016-01-15 20:39:20.000000000 +0100
@@ -3,7 +3,7 @@
 
 scriptversion=2013-10-28.13; # UTC
 
-# Copyright (C) 1996-2013 Free Software Foundation, Inc.
+# Copyright (C) 1996-2014 Free Software Foundation, Inc.
 # Originally written by Fran,cois Pinard <[email protected]>, 1996.
 
 # This program is free software; you can redistribute it and/or modify
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/config.h new/acpid-2.0.26/config.h
--- old/acpid-2.0.25/config.h   2015-08-17 01:09:08.000000000 +0200
+++ new/acpid-2.0.26/config.h   2016-01-15 20:39:29.000000000 +0100
@@ -34,6 +34,9 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #define HAVE_INTTYPES_H 1
 
+/* Define to 1 if you have the `isfdtype' function. */
+#define HAVE_ISFDTYPE 1
+
 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
    to 0 otherwise. */
 #define HAVE_MALLOC 1
@@ -133,7 +136,7 @@
 #define PACKAGE_NAME "acpid"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "acpid 2.0.25"
+#define PACKAGE_STRING "acpid 2.0.26"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "acpid"
@@ -142,7 +145,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "2.0.25"
+#define PACKAGE_VERSION "2.0.26"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -170,7 +173,7 @@
 
 
 /* Version number of package */
-#define VERSION "2.0.25"
+#define VERSION "2.0.26"
 
 /* Enable large inode numbers on Mac OS X 10.5.  */
 #ifndef _DARWIN_USE_64_BIT_INODE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/config.h.in new/acpid-2.0.26/config.h.in
--- old/acpid-2.0.25/config.h.in        2015-08-17 01:08:59.000000000 +0200
+++ new/acpid-2.0.26/config.h.in        2016-01-15 20:39:20.000000000 +0100
@@ -33,6 +33,9 @@
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
+/* Define to 1 if you have the `isfdtype' function. */
+#undef HAVE_ISFDTYPE
+
 /* Define to 1 if your system has a GNU libc compatible `malloc' function, and
    to 0 otherwise. */
 #undef HAVE_MALLOC
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/configure.ac new/acpid-2.0.26/configure.ac
--- old/acpid-2.0.25/configure.ac       2015-08-16 01:11:22.000000000 +0200
+++ new/acpid-2.0.26/configure.ac       2016-01-13 16:31:47.000000000 +0100
@@ -2,7 +2,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ([2.60])
-AC_INIT([acpid], [2.0.25])
+AC_INIT([acpid], [2.0.26])
 AC_CONFIG_SRCDIR([connection_list.h])
 AC_CONFIG_HEADERS([config.h])
 AC_CONFIG_AUX_DIR([build-aux])
@@ -41,7 +41,7 @@
 AC_CHECK_FUNC(openat, AC_DEFINE(HAVE_OPENAT, 1, "Define if openat() exists"), 
AC_MSG_ERROR(["openat() not found"]))
 AC_CHECK_FUNC(asprintf, AC_DEFINE(HAVE_ASPRINTF, 1, "Define if asprintf() 
exists"), AC_MSG_ERROR(["asprintf() not found"]))
 # These are actually required.  Should switch to above form.
-AC_CHECK_FUNCS([alarm dup2 memset regcomp select socket strcasecmp strdup 
strerror strrchr strtol])
+AC_CHECK_FUNCS([alarm dup2 isfdtype memset regcomp select socket strcasecmp 
strdup strerror strrchr strtol])
 
 # removed for now as kacpimon was not included in dist target
 #AC_ARG_ENABLE([kacpimon],AS_HELP_STRING([--enable-kacpimon], [Build 
kacpimon]))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/kacpimon/libnetlink.c new/acpid-2.0.26/kacpimon/libnetlink.c
--- old/acpid-2.0.25/kacpimon/libnetlink.c      2013-02-24 14:20:06.000000000 
+0100
+++ new/acpid-2.0.26/kacpimon/libnetlink.c      2015-12-16 16:37:04.000000000 
+0100
@@ -494,7 +494,7 @@
        int len = RTA_LENGTH(alen);
        struct rtattr *rta;
 
-       if ((int)NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) {
+       if ((int)NLMSG_ALIGN(n->nlmsg_len) + (int)RTA_ALIGN(len) > maxlen) {
                fprintf(stderr, "addattr_l ERROR: message exceeded bound of 
%d\n",maxlen);
                return -1;
        }
@@ -524,7 +524,7 @@
        int len = RTA_LENGTH(4);
        struct rtattr *subrta;
 
-       if (RTA_ALIGN(rta->rta_len) + len > maxlen) {
+       if ((int)RTA_ALIGN(rta->rta_len) + len > maxlen) {
                fprintf(stderr,"rta_addattr32: Error! max allowed bound %d 
exceeded\n",maxlen);
                return -1;
        }
@@ -542,7 +542,7 @@
        struct rtattr *subrta;
        int len = RTA_LENGTH(alen);
 
-       if (RTA_ALIGN(rta->rta_len) + RTA_ALIGN(len) > maxlen) {
+       if ((int)RTA_ALIGN(rta->rta_len) + (int)RTA_ALIGN(len) > maxlen) {
                fprintf(stderr,"rta_addattr_l: Error! max allowed bound %d 
exceeded\n",maxlen);
                return -1;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/libnetlink.c new/acpid-2.0.26/libnetlink.c
--- old/acpid-2.0.25/libnetlink.c       2015-07-29 00:32:35.000000000 +0200
+++ new/acpid-2.0.26/libnetlink.c       2015-12-16 16:35:50.000000000 +0100
@@ -496,7 +496,7 @@
        int len = RTA_LENGTH(alen);
        struct rtattr *rta;
 
-       if ((int)NLMSG_ALIGN(n->nlmsg_len) + RTA_ALIGN(len) > maxlen) {
+       if ((int)NLMSG_ALIGN(n->nlmsg_len) + (int)RTA_ALIGN(len) > maxlen) {
                fprintf(stderr, "addattr_l ERROR: message exceeded bound of 
%d\n",maxlen);
                return -1;
        }
@@ -526,7 +526,7 @@
        int len = RTA_LENGTH(4);
        struct rtattr *subrta;
 
-       if (RTA_ALIGN(rta->rta_len) + len > maxlen) {
+       if ((int)RTA_ALIGN(rta->rta_len) + len > maxlen) {
                fprintf(stderr,"rta_addattr32: Error! max allowed bound %d 
exceeded\n",maxlen);
                return -1;
        }
@@ -544,7 +544,7 @@
        struct rtattr *subrta;
        int len = RTA_LENGTH(alen);
 
-       if (RTA_ALIGN(rta->rta_len) + RTA_ALIGN(len) > maxlen) {
+       if ((int)RTA_ALIGN(rta->rta_len) + (int)RTA_ALIGN(len) > maxlen) {
                fprintf(stderr,"rta_addattr_l: Error! max allowed bound %d 
exceeded\n",maxlen);
                return -1;
        }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude 
config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 
--exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh 
old/acpid-2.0.25/sock.c new/acpid-2.0.26/sock.c
--- old/acpid-2.0.25/sock.c     2015-07-29 00:32:35.000000000 +0200
+++ new/acpid-2.0.26/sock.c     2016-01-13 16:50:14.000000000 +0100
@@ -50,6 +50,17 @@
 /* the number of non-root clients that are connected */
 int non_root_clients;
 
+#ifndef HAVE_ISFDTYPE
+static int
+isfdtype(int fd, int fdtype)
+{
+       struct stat64 st;
+       if (fstat64(fd, &st) != 0)
+               return -1;
+       return ((st.st_mode & S_IFMT) == (mode_t)fdtype);
+}
+#endif
+
 /* determine if a file descriptor is in fact a socket */
 int
 is_socket(int fd)

++++++ acpid-makefile.patch ++++++
--- /var/tmp/diff_new_pack.R4YSAI/_old  2016-02-24 14:25:30.000000000 +0100
+++ /var/tmp/diff_new_pack.R4YSAI/_new  2016-02-24 14:25:30.000000000 +0100
@@ -2,7 +2,7 @@
 ===================================================================
 --- Makefile.in.orig
 +++ Makefile.in
-@@ -980,7 +980,7 @@ info: info-recursive
+@@ -989,7 +989,7 @@ info: info-recursive
  
  info-am:
  


Reply via email to