forked from pool/libmicro
- Build with optflags
- Refresh patches - Add libmicro-implicit-fortify-decl.patch OBS-URL: https://build.opensuse.org/package/show/benchmark/libmicro?expand=0&rev=12
This commit is contained in:
parent
5617c7c213
commit
0d69feea95
36
libmicro-implicit-fortify-decl.patch
Normal file
36
libmicro-implicit-fortify-decl.patch
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Index: mmap.c
|
||||||
|
===================================================================
|
||||||
|
--- mmap.c.orig
|
||||||
|
+++ mmap.c
|
||||||
|
@@ -32,6 +32,7 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <strings.h>
|
||||||
|
+#include <string.h>
|
||||||
|
|
||||||
|
#include "libmicro.h"
|
||||||
|
|
||||||
|
Index: mprotect.c
|
||||||
|
===================================================================
|
||||||
|
--- mprotect.c.orig
|
||||||
|
+++ mprotect.c
|
||||||
|
@@ -34,6 +34,7 @@
|
||||||
|
#include <sys/mman.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <strings.h>
|
||||||
|
+#include <string.h>
|
||||||
|
|
||||||
|
#include "libmicro.h"
|
||||||
|
|
||||||
|
Index: munmap.c
|
||||||
|
===================================================================
|
||||||
|
--- munmap.c.orig
|
||||||
|
+++ munmap.c
|
||||||
|
@@ -34,6 +34,7 @@
|
||||||
|
#include <sys/mman.h>
|
||||||
|
#include <fcntl.h>
|
||||||
|
#include <strings.h>
|
||||||
|
+#include <string.h>
|
||||||
|
|
||||||
|
#include "libmicro.h"
|
||||||
|
|
@ -3,6 +3,9 @@ Sat Jul 2 16:33:07 UTC 2016 - mpluskal@suse.com
|
|||||||
|
|
||||||
- Update to latest mercurial snapshot (4.2.2+hg.20120726)
|
- Update to latest mercurial snapshot (4.2.2+hg.20120726)
|
||||||
* lots of small changes
|
* lots of small changes
|
||||||
|
- Build with optflags
|
||||||
|
- Refresh patches
|
||||||
|
- Add libmicro-implicit-fortify-decl.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Feb 14 17:04:27 UTC 2015 - mpluskal@suse.com
|
Sat Feb 14 17:04:27 UTC 2015 - mpluskal@suse.com
|
||||||
|
@ -27,6 +27,7 @@ Source0: %{name}-%{version}.tar.xz
|
|||||||
Patch0: find_binary.patch
|
Patch0: find_binary.patch
|
||||||
Patch1: removed_undefined_warning.patch
|
Patch1: removed_undefined_warning.patch
|
||||||
Patch2: fix-link.diff
|
Patch2: fix-link.diff
|
||||||
|
Patch3: libmicro-implicit-fortify-decl.patch
|
||||||
Requires: gcc
|
Requires: gcc
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -40,9 +41,10 @@ performance of various system and library calls.
|
|||||||
%patch0
|
%patch0
|
||||||
%patch1
|
%patch1
|
||||||
%patch2
|
%patch2
|
||||||
|
%patch3
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm bin-*/*.a
|
rm bin-*/*.a
|
||||||
|
Loading…
Reference in New Issue
Block a user