summaryrefslogtreecommitdiff
path: root/x11/xorg-libs/patches/patch-ay
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xorg-libs/patches/patch-ay')
-rw-r--r--x11/xorg-libs/patches/patch-ay27
1 files changed, 14 insertions, 13 deletions
diff --git a/x11/xorg-libs/patches/patch-ay b/x11/xorg-libs/patches/patch-ay
index d2678b2688f..47c19cd9ec1 100644
--- a/x11/xorg-libs/patches/patch-ay
+++ b/x11/xorg-libs/patches/patch-ay
@@ -1,13 +1,13 @@
-$NetBSD: patch-ay,v 1.1 2005/02/21 16:45:40 hira Exp $
+$NetBSD: patch-ay,v 1.2 2005/03/01 19:00:11 xtraeme Exp $
---- programs/Xserver/hw/xfree86/loader/elfloader.c.orig 2005-02-20 23:45:37.000000000 +0900
-+++ programs/Xserver/hw/xfree86/loader/elfloader.c 2005-02-20 23:45:46.000000000 +0900
+--- programs/Xserver/hw/xfree86/loader/elfloader.c.orig 2005-03-01 16:52:41.000000000 +0000
++++ programs/Xserver/hw/xfree86/loader/elfloader.c 2005-03-01 16:53:55.000000000 +0000
@@ -922,7 +922,7 @@
ErrorF("ELFCreateGOT() Unable to reallocate memory!!!!\n");
return FALSE;
}
--# if defined(linux) || defined(__OpenBSD__)
-+# if defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__)
+-# if defined(linux) || defined(__OpenBSD__) || defined(sun)
++# if defined(linux) || defined(__OpenBSD__) || defined(sun) || defined(__NetBSD__)
{
unsigned long page_size = getpagesize();
unsigned long round;
@@ -15,26 +15,27 @@ $NetBSD: patch-ay,v 1.1 2005/02/21 16:45:40 hira Exp $
ErrorF("ELFCreatePLT() Unable to allocate memory!!!!\n");
return;
}
--# if defined(linux) || defined(__OpenBSD__)
-+# if defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__)
+-# if defined(linux) || defined(__OpenBSD__) || defined(sun)
++# if defined(linux) || defined(__OpenBSD__) || defined(sun) || defined(__NetBSD__)
{
unsigned long page_size = getpagesize();
unsigned long round;
-@@ -2775,7 +2775,7 @@
+@@ -2775,7 +2775,8 @@
elffile->lsection[j].size = SecSize(i);
elffile->lsection[j].flags = flags;
switch (SecType(i)) {
--#if defined(linux) || defined(__OpenBSD__)
-+#if defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__)
+-#if defined(linux) || defined(__OpenBSD__) || defined(sun)
++
++#if defined(linux) || defined(__OpenBSD__) || defined(sun) || defined(__NetBSD__)
case SHT_PROGBITS:
{
unsigned long page_size = getpagesize();
-@@ -2979,7 +2979,7 @@
+@@ -2979,7 +2980,7 @@
ErrorF("Unable to allocate ELF sections\n");
return NULL;
}
--# if defined(linux) || defined(__OpenBSD__)
-+# if defined(linux) || defined(__OpenBSD__) || defined(__NetBSD__)
+-# if defined(linux) || defined(__OpenBSD__) || defined(sun)
++# if defined(linux) || defined(__OpenBSD__) || defined(sun) || defined(__NetBSD__)
{
unsigned long page_size = getpagesize();
unsigned long round;