mirror of
https://git.freebsd.org/ports.git
synced 2025-06-24 22:20:35 -04:00
Resolves CVE-2019-12838 Add NOT_FOR_ARCHS since upstream has deprecated 32-bit architectures
14 lines
293 B
C
14 lines
293 B
C
--- src/srun/libsrun/srun_job.c.orig 2019-05-28 17:23:14 UTC
|
|
+++ src/srun/libsrun/srun_job.c
|
|
@@ -117,6 +117,11 @@ static int pty_sigarray[] = { SIGWINCH, 0 };
|
|
|
|
extern char **environ;
|
|
|
|
+#ifdef __FreeBSD__
|
|
+#define __environ environ
|
|
+extern char **environ;
|
|
+#endif
|
|
+
|
|
/*
|
|
* Prototypes:
|
|
*/
|