Add provides bundled gnulib
This commit is contained in:
parent
154221e221
commit
03f243dbfa
|
@ -0,0 +1,15 @@
|
|||
diff -ur prelude-manager-1.0.1.orig/libmissing/m4/stdio_h.m4 prelude-manager-1.0.1/libmissing/m4/stdio_h.m4
|
||||
--- prelude-manager-1.0.1.orig/libmissing/m4/stdio_h.m4 2010-10-26 09:18:09.000000000 -0400
|
||||
+++ prelude-manager-1.0.1/libmissing/m4/stdio_h.m4 2012-09-06 11:26:09.707913544 -0400
|
||||
@@ -35,9 +35,9 @@
|
||||
|
||||
dnl Check for declarations of anything we want to poison if the
|
||||
dnl corresponding gnulib module is not in use, and which is not
|
||||
- dnl guaranteed by C89.
|
||||
+ dnl guaranteed by C89 and C11.
|
||||
gl_WARN_ON_USE_PREPARE([[#include <stdio.h>
|
||||
- ]], [dprintf fpurge fseeko ftello getdelim getline popen renameat
|
||||
+ ]], [dprintf fpurge fseeko ftello getdelim getline gets popen renameat
|
||||
snprintf tmpfile vdprintf vsnprintf])
|
||||
])
|
||||
|
|
@ -9,7 +9,10 @@ License: GPLv2+
|
|||
URL: http://www.prelude-ids.org
|
||||
Source0: http://www.prelude-ids.org/download/releases/%{name}/%{name}-%{version}.tar.gz
|
||||
Source1: %{name}.service
|
||||
# Add PIE flags
|
||||
Patch1: %{name}-1.0.1-pie.patch
|
||||
# Adjust bundled gnulib to pass compilation with glibc-2.16.6
|
||||
Patch2: %{name}-1.0.1-Fix-building-with-glibc-2.16.6.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libpreludedb-devel, libxml2-devel
|
||||
|
@ -71,6 +74,7 @@ This plugin adds alerting by email capabilities to prelude-manager
|
|||
%prep
|
||||
%setup -q
|
||||
#%patch1 -p1
|
||||
%patch2 -p1
|
||||
|
||||
%build
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
|
Loading…
Reference in New Issue