|
|
@@ -348,3 +348,23 @@ Index: hints/freebsd.sh
|
|
|
cccdlflags='-DPIC -fPIC'
|
|
|
;;
|
|
|
|
|
|
+
|
|
|
+-----------------------------------------------------------------------------
|
|
|
+
|
|
|
+Fix issue when <asm/page.h> is missing from the Linux headers.
|
|
|
+See https://bugs.gentoo.org/show_bug.cgi?id=168312 for details.
|
|
|
+
|
|
|
+Index: ext/IPC/SysV/SysV.xs
|
|
|
+--- ext/IPC/SysV/SysV.xs.orig 2001-06-30 14:46:07.000000000 -0400
|
|
|
++++ ext/IPC/SysV/SysV.xs 2006-06-02 17:37:22.000000000 -0400
|
|
|
+@@ -3,9 +3,6 @@
|
|
|
+ #include "XSUB.h"
|
|
|
+
|
|
|
+ #include <sys/types.h>
|
|
|
+-#ifdef __linux__
|
|
|
+-# include <asm/page.h>
|
|
|
+-#endif
|
|
|
+ #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
|
|
|
+ #ifndef HAS_SEM
|
|
|
+ # include <sys/ipc.h>
|
|
|
+
|