patches/glibc/ports-2.6.1/110-ARM-asm_page_h.patch
author Darcy Watkins <dwatkins@tranzeo.com>
Thu Aug 05 18:19:07 2010 +0200 (2010-08-05)
branch1.8
changeset 2073 a3b7a63dce01
parent 518 c1e6c0ebfac1
permissions -rw-r--r--
cc/gcc: with static ppl, correctly link with libm

On some Fedora boxen (at least FC13), it is also required
to link with libm when static ppl is used.
(transplanted from bcd33fce4db9c18223b59ecdc96f10bf6dd574de)
yann@518
     1
diff -durN glibc-ports-2.7.orig/sysdeps/unix/sysv/linux/arm/ioperm.c glibc-ports-2.7/sysdeps/unix/sysv/linux/arm/ioperm.c
yann@518
     2
--- glibc-2.6.1.orig/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c	2005-06-10 13:12:09.000000000 +0200
yann@518
     3
+++ glibc-2.6.1/glibc-ports-2.6.1/sysdeps/unix/sysv/linux/arm/ioperm.c	2008-05-18 16:19:45.000000000 +0200
yann@518
     4
@@ -45,7 +45,6 @@
yann@518
     5
 #include <sys/mman.h>
yann@518
     6
 
yann@518
     7
 #include <linux/version.h>
yann@518
     8
-#include <asm/page.h>
yann@518
     9
 #include <sys/sysctl.h>
yann@518
    10
 
yann@518
    11
 #define PATH_ARM_SYSTYPE	"/etc/arm_systype"