- Add explicitly-include-unistd.patch and specify higher version of gcc to build on SLE/Leap. OBS-URL: https://build.opensuse.org/request/show/1132487 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/sysprof?expand=0&rev=72
13 lines
376 B
Diff
13 lines
376 B
Diff
Index: sysprof-45.1/src/libsysprof/sysprof-elf-loader.c
|
|
===================================================================
|
|
--- sysprof-45.1.orig/src/libsysprof/sysprof-elf-loader.c
|
|
+++ sysprof-45.1/src/libsysprof/sysprof-elf-loader.c
|
|
@@ -21,6 +21,7 @@
|
|
#include "config.h"
|
|
|
|
#include <fcntl.h>
|
|
+#include <unistd.h>
|
|
#include <sys/stat.h>
|
|
|
|
#include "sysprof-elf-private.h"
|