[packages/rpm] - rel 45; define _GNU_SOURCE in rpmio.h

arekm arekm at pld-linux.org
Tue Sep 25 21:21:35 CEST 2018


commit f0190526e611252ad14478726ad4de2c407200cc
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Tue Sep 25 21:21:24 2018 +0200

    - rel 45; define _GNU_SOURCE in rpmio.h

 glibc.patch | 11 +++++++++++
 rpm.spec    |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
---
diff --git a/rpm.spec b/rpm.spec
index 56ea152..242b4d2 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -47,7 +47,7 @@ Summary(ru.UTF-8):	Менеджер пакетов от RPM
 Summary(uk.UTF-8):	Менеджер пакетів від RPM
 Name:		rpm
 Version:	5.4.15
-Release:	44
+Release:	45
 License:	LGPL v2.1
 Group:		Base
 # http://rpm5.org/files/rpm/rpm-5.4/rpm-5.4.15-0.20140824.src.rpm
diff --git a/glibc.patch b/glibc.patch
index 4e0f552..84a9b0f 100644
--- a/glibc.patch
+++ b/glibc.patch
@@ -34,6 +34,17 @@ diff -upr rpm-5.4.15.org/rpmio/rpmio.c rpm-5.4.15/rpmio/rpmio.c
 diff -upr rpm-5.4.15.org/rpmio/rpmio.h rpm-5.4.15/rpmio/rpmio.h
 --- rpm-5.4.15.org/rpmio/rpmio.h	2014-07-20 01:01:26.000000000 +0200
 +++ rpm-5.4.15/rpmio/rpmio.h	2018-08-11 12:36:48.761296851 +0200
+@@ -1,6 +1,10 @@
+ #ifndef	H_RPMIO
+ #define	H_RPMIO
+ 
++#ifndef	_GNU_SOURCE
++#define	_GNU_SOURCE	1
++#endif
++
+ /** \ingroup rpmio
+  * \file rpmio/rpmio.h
+  *
 @@ -25,7 +25,7 @@
  #if !defined(__LCLINT__) && !defined(__UCLIBC__) && defined(__GLIBC__) && \
  	(__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm.git/commitdiff/f0190526e611252ad14478726ad4de2c407200cc



More information about the pld-cvs-commit mailing list