[packages/dmapi] - added build fix from Gentoo to miscfix patch

hawk hawk at pld-linux.org
Thu Nov 9 14:57:49 CET 2017


commit 64743e3ba4f351db618f738eac066fe016f28c29
Author: Marcin Krol <hawk at tld-linux.org>
Date:   Thu Nov 9 13:56:43 2017 +0000

    - added build fix from Gentoo to miscfix patch

 dmapi-miscfix.patch | 12 ++++++++++++
 dmapi.spec          |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/dmapi.spec b/dmapi.spec
index 59bf855..e6d7dd5 100644
--- a/dmapi.spec
+++ b/dmapi.spec
@@ -2,7 +2,7 @@ Summary:	DMAPI library
 Summary(pl.UTF-8):	Biblioteka DMAPI
 Name:		dmapi
 Version:	2.2.12
-Release:	2
+Release:	3
 # doc/COPYING mentions LGPL for files in "dmapi", but all sources are explicitly marked GPL
 License:	GPL v2
 Group:		Libraries
diff --git a/dmapi-miscfix.patch b/dmapi-miscfix.patch
index 87c48a9..2b2bc34 100644
--- a/dmapi-miscfix.patch
+++ b/dmapi-miscfix.patch
@@ -13,3 +13,15 @@
 -    done
      AC_SUBST(have_zipped_manpages)
    ])
+--- a/libdm/dm_handle2path.c
++++ b/libdm/dm_handle2path.c
+@@ -20,6 +20,9 @@
+ #include <dmapi_kern.h>
+ #include "dmapi_lib.h"
+ 
++#include <fcntl.h> /* open */
++#include <unistd.h> /* close */
++#include <string.h> /* strlen */
+ #include <mntent.h>
+ #include <dirent.h>
+ #ifdef linux
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/dmapi.git/commitdiff/64743e3ba4f351db618f738eac066fe016f28c29



More information about the pld-cvs-commit mailing list