Files
perfsuite/perfsuite-no_implicit_decls.patch
Philipp Thomas 114347fd6f - Update to 1.1.4:
* Removed a debug line that was mistakenly left.  With it
    "psrun" always printed the following when starting a program,
    Event: '<event_name>', component index: <papi_comp_index>.
    such as: "Event: 'PAPI_BR_CN', component index: 0."
    For a complete description of all changes sincew 1.0.4a see
    the file CHANGES in the package documentation.
- Add CHANGES, LICENSE and AUTHORS to the package documentation
- Add perfsuite-no_implicit_decls.patch to fix strcmp being declared
  implicitly.

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/perfsuite?expand=0&rev=4
2014-09-08 12:38:01 +00:00

35 lines
1.2 KiB
Diff

---
configure.ac | 3 ++-
src/libpshwpc/dyn-conf.c | 4 ++++
2 files changed, 6 insertions(+), 1 deletion(-)
Index: configure.ac
===================================================================
--- configure.ac.orig 2014-09-08 14:02:25.352700258 +0200
+++ configure.ac 2014-09-08 14:17:17.520546625 +0200
@@ -957,7 +957,8 @@ AC_CHECK_HEADERS(asm/ptrace.h asm/user.h
AC_CHECK_HEADERS(errno.h execinfo.h fcntl.h getopt.h)
AC_CHECK_HEADERS(glob.h gnu/libc-version.h)
AC_CHECK_HEADERS(limits.h linux/user.h malloc.h pwd.h signal.h stddef.h)
-AC_CHECK_HEADERS(stdio.h stdlib.h)
+AC_CHECK_HEADERS(stdio.h)
+AC_HEADER_STDC()
AC_CHECK_HEADERS(sys/ioctl.h sys/mman.h sys/resource.h sys/stat.h)
AC_CHECK_HEADERS(sys/syscall.h sys/time.h sys/types.h sys/ucontext.h)
AC_CHECK_HEADERS(sys/utsname.h time.h ucontext.h unistd.h)
Index: src/libpshwpc/dyn-conf.c
===================================================================
--- src/libpshwpc/dyn-conf.c.orig 2013-04-30 18:34:06.000000000 +0200
+++ src/libpshwpc/dyn-conf.c 2014-09-08 14:18:14.607832935 +0200
@@ -50,6 +50,10 @@
# include <stdio.h>
#endif
+#if STDC_HEADERS
+# include <string.h>
+#endif
+
#include <psinternal.h>
#include <psdebug.h>