summaryrefslogtreecommitdiff
path: root/x11/modular-xorg-server/patches/patch-ed
diff options
context:
space:
mode:
Diffstat (limited to 'x11/modular-xorg-server/patches/patch-ed')
-rw-r--r--x11/modular-xorg-server/patches/patch-ed25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11/modular-xorg-server/patches/patch-ed b/x11/modular-xorg-server/patches/patch-ed
new file mode 100644
index 00000000000..3063b0c39b1
--- /dev/null
+++ b/x11/modular-xorg-server/patches/patch-ed
@@ -0,0 +1,25 @@
+$NetBSD: patch-ed,v 1.1 2008/02/25 15:39:16 joerg Exp $
+
+--- Xext/security.c.orig 2006-11-16 18:39:03.000000000 +0100
++++ Xext/security.c
+@@ -1567,9 +1567,9 @@ SecurityLoadPropertyAccessList(void)
+ return;
+
+ #ifndef __UNIXOS2__
+- f = fopen(SecurityPolicyFile, "r");
++ f = Fopen(SecurityPolicyFile, "r");
+ #else
+- f = fopen((char*)__XOS2RedirRoot(SecurityPolicyFile), "r");
++ f = Fopen((char*)__XOS2RedirRoot(SecurityPolicyFile), "r");
+ #endif
+ if (!f)
+ {
+@@ -1653,7 +1653,7 @@ SecurityLoadPropertyAccessList(void)
+ }
+ #endif /* PROPDEBUG */
+
+- fclose(f);
++ Fclose(f);
+ } /* SecurityLoadPropertyAccessList */
+
+