diff options
author | David Seifert <soap@gentoo.org> | 2021-02-13 10:54:34 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-02-13 10:54:34 +0100 |
commit | 6c9d623b817d83875351c916cca8121454e249b6 (patch) | |
tree | 6987f9061840caf6e9a9bc33eb58bfdea354a0c9 /net-analyzer/slurm/files | |
parent | dev-ruby/rails: add 6.0.3.5 (diff) | |
download | gentoo-6c9d623b817d83875351c916cca8121454e249b6.tar.gz gentoo-6c9d623b817d83875351c916cca8121454e249b6.tar.bz2 gentoo-6c9d623b817d83875351c916cca8121454e249b6.zip |
net-analyzer/slurm: Fix includes
* Port to EAPI 7
* Use patch from Alpine
Bug: https://bugs.gentoo.org/757054
Closes: https://bugs.gentoo.org/713664
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-analyzer/slurm/files')
-rw-r--r-- | net-analyzer/slurm/files/slurm-0.4.3-fix-includes.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-analyzer/slurm/files/slurm-0.4.3-fix-includes.patch b/net-analyzer/slurm/files/slurm-0.4.3-fix-includes.patch new file mode 100644 index 000000000000..9e933ffc509c --- /dev/null +++ b/net-analyzer/slurm/files/slurm-0.4.3-fix-includes.patch @@ -0,0 +1,22 @@ +--- a/os.h ++++ b/os.h +@@ -177,7 +177,7 @@ + #elif defined (__linux__) /* L I N U X */ + #include <stdio.h> + #include <sys/param.h> +-#include <sys/sysctl.h> ++#include <linux/sysctl.h> + #include <stdlib.h> + #include <stdarg.h> + #include <unistd.h> +@@ -195,8 +195,8 @@ + #include <netinet/in.h> + #include <net/if.h> + #include <arpa/inet.h> +-#include <net/ppp_defs.h> +-#include <net/if_ppp.h> ++#include <linux/ppp_defs.h> ++#include <linux/if_ppp.h> + #elif defined (__Solaris__) /* S O L A R I S */ + #include <stdio.h> + #define NO_CURSES_E 1 |