[libserialport] 03/07: update maintainer, add patch to fix kfreebsd build

Zoltan Gyarmati zgyarmati-guest at moszumanska.debian.org
Wed Mar 29 21:28:41 UTC 2017


This is an automated email from the git hooks/post-receive script.

zgyarmati-guest pushed a commit to branch master
in repository libserialport.

commit 5c445f326e9e63e388c5e0d3cd7253e62236663f
Author: Zoltan Gyarmati <mr.zoltan.gyarmati at gmail.com>
Date:   Mon Feb 27 00:31:36 2017 +0100

    update maintainer, add patch to fix kfreebsd build
---
 debian/changelog                                   |  8 ++++++++
 debian/control                                     |  4 ++--
 ...city-for-__GLIBC__-to-set-the-feature-mac.patch | 24 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 4 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index abc5745..bb7a0e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libserialport (0.1.1-2) unstable; urgency=medium
+
+  * New maintainer (Closes: #852832)
+  * Add patch to fix build of kfreebsd (Closes: #816334)
+  * Standards-Version: 3.9.8 (no changes required)
+
+ -- Zoltan Gyarmati <mr.zoltan.gyarmati at gmail.com>  Mon, 27 Feb 2017 00:22:18 +0100
+
 libserialport (0.1.1-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/control b/debian/control
index d82fe82..897267e 100644
--- a/debian/control
+++ b/debian/control
@@ -1,8 +1,8 @@
 Source: libserialport
 Priority: extra
-Maintainer: Uwe Hermann <uwe at debian.org>
+Maintainer: Zoltan Gyarmati <mr.zoltan.gyarmati at gmail.com>
 Build-Depends: debhelper (>= 9), autotools-dev, pkg-config
-Standards-Version: 3.9.7
+Standards-Version: 3.9.8
 Section: libs
 Homepage: http://sigrok.org/wiki/Libserialport
 
diff --git a/debian/patches/0001-check-explicity-for-__GLIBC__-to-set-the-feature-mac.patch b/debian/patches/0001-check-explicity-for-__GLIBC__-to-set-the-feature-mac.patch
new file mode 100644
index 0000000..cd449f0
--- /dev/null
+++ b/debian/patches/0001-check-explicity-for-__GLIBC__-to-set-the-feature-mac.patch
@@ -0,0 +1,24 @@
+From: Zoltan Gyarmati <mr.zoltan.gyarmati at gmail.com>
+Date: Mon, 27 Feb 2017 00:17:34 +0100
+Subject: check explicity for __GLIBC__ to set the feature macros also in
+ kfreebsd, closes: #816334
+
+---
+ libserialport_internal.h | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/libserialport_internal.h b/libserialport_internal.h
+index 669152b..69d8113 100644
+--- a/libserialport_internal.h
++++ b/libserialport_internal.h
+@@ -21,8 +21,8 @@
+ #ifndef LIBSERIALPORT_LIBSERIALPORT_INTERNAL_H
+ #define LIBSERIALPORT_LIBSERIALPORT_INTERNAL_H
+ 
+-
+-#ifdef __linux__
++/* We need to check also for __GLIBC__ for kfreebsd */
++#if defined( __GLIBC__) || defined(__linux__)
+ /* For timeradd, timersub, timercmp. */
+ #define _BSD_SOURCE 1 /* for glibc < 2.19 */
+ #define _DEFAULT_SOURCE 1 /* for glibc >= 2.20 */
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9487bda
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-check-explicity-for-__GLIBC__-to-set-the-feature-mac.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libserialport.git



More information about the debian-science-commits mailing list