[oe-commits] org.oe.dreambox perl: fix compile

tmbinc commit oe at amethyst.openembedded.net
Thu Jul 24 08:38:57 UTC 2008


perl: fix compile

Author: tmbinc at openembedded.org
Branch: org.openembedded.dreambox
Revision: f614357ba8e0764943610cfaccb2ca995a6597da
ViewMTN: http://monotone.openembedded.org/revision/info/f614357ba8e0764943610cfaccb2ca995a6597da
Files:
1
packages/perl/files/dont_include_asm_page_h.patch
packages/perl/perl-native_5.8.7.bb
Diffs:

#
# mt diff -r12ae6213082ce509a909fe0db5ff886b09585fe6 -rf614357ba8e0764943610cfaccb2ca995a6597da
#
#
#
# add_file "packages/perl/files/dont_include_asm_page_h.patch"
#  content [ae52250c576cbe7ea4f571dfce5c16506c825703]
# 
# patch "packages/perl/perl-native_5.8.7.bb"
#  from [46bd366c882141f4e4b056bbeb3fdae7c94cd387]
#    to [603c15b3cc02cdd74a0b8610a0bc2dbab0eba814]
#
============================================================
--- packages/perl/files/dont_include_asm_page_h.patch	ae52250c576cbe7ea4f571dfce5c16506c825703
+++ packages/perl/files/dont_include_asm_page_h.patch	ae52250c576cbe7ea4f571dfce5c16506c825703
@@ -0,0 +1,12 @@
+diff -Naur perl-5.8.7-org/ext/IPC/SysV/SysV.xs perl-5.8.7/ext/IPC/SysV/SysV.xs
+--- perl-5.8.7-org/ext/IPC/SysV/SysV.xs	2001-06-30 20:46:07.000000000 +0200
++++ perl-5.8.7/ext/IPC/SysV/SysV.xs	2008-07-22 14:03:21.000000000 +0200
+@@ -4,7 +4,7 @@
+ 
+ #include <sys/types.h>
+ #ifdef __linux__
+-#   include <asm/page.h>
++//#   include <asm/page.h>
+ #endif
+ #if defined(HAS_MSG) || defined(HAS_SEM) || defined(HAS_SHM)
+ #ifndef HAS_SEM
============================================================
--- packages/perl/perl-native_5.8.7.bb	46bd366c882141f4e4b056bbeb3fdae7c94cd387
+++ packages/perl/perl-native_5.8.7.bb	603c15b3cc02cdd74a0b8610a0bc2dbab0eba814
@@ -2,7 +2,7 @@ LICENSE = "Artistic|GPL"
 MAINTAINER="David Karlstrom <daka at thg.se>"
 HOMEPAGE = "http://www.perl.org/"
 LICENSE = "Artistic|GPL"
-PR = "r3"
+PR = "r4"
 
 SECTION = "libs"
 inherit native
@@ -12,7 +12,8 @@ SRC_URI = "http://ftp.funet.fi/pub/CPAN/
 SRC_URI = "http://ftp.funet.fi/pub/CPAN/src/perl-${PV}.tar.gz \
            file://Configure-multilib.patch;patch=1 \
 	   file://host_gcc_4.2_buildfix.patch;patch=1 \
-           file://makedepend-dash.patch;patch=1"
+           file://makedepend-dash.patch;patch=1 \
+           file://dont_include_asm_page_h.patch;patch=1;pnum=1"
 S = "${WORKDIR}/perl-${PV}"
 
 #perl is not parallel_make safe






More information about the Openembedded-commits mailing list