summaryrefslogtreecommitdiffstats
path: root/x11/gdm/files/patch-common_gdm-common.c
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-06-02 19:58:25 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-06-02 19:58:25 +0800
commite8bf40e496dbf74e2ee91a95bf04886ad32a23f4 (patch)
tree26558e38dafffdf2318eb68bd26e54a98fb1d67a /x11/gdm/files/patch-common_gdm-common.c
parent6c90da75235f2adc2c2cf2c590fb85459cdde03a (diff)
downloadmarcuscom-ports-e8bf40e496dbf74e2ee91a95bf04886ad32a23f4.tar.gz
marcuscom-ports-e8bf40e496dbf74e2ee91a95bf04886ad32a23f4.tar.zst
marcuscom-ports-e8bf40e496dbf74e2ee91a95bf04886ad32a23f4.zip
Backport fix for CVE-2011-1709 from the 2.32.2 release.
As I understand it this only happens with GLib 2.28. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16019 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/files/patch-common_gdm-common.c')
-rw-r--r--x11/gdm/files/patch-common_gdm-common.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/gdm/files/patch-common_gdm-common.c b/x11/gdm/files/patch-common_gdm-common.c
new file mode 100644
index 000000000..9fa4acafa
--- /dev/null
+++ b/x11/gdm/files/patch-common_gdm-common.c
@@ -0,0 +1,13 @@
+--- common/gdm-common.c.orig 2007-12-23 10:29:20.000000000 +0100
++++ common/gdm-common.c 2007-12-23 10:29:34.000000000 +0100
+@@ -33,6 +33,10 @@
+
+ #include "gdm-common.h"
+
++#ifndef ENODATA
++#define ENODATA EAGAIN
++#endif
++
+ void
+ gdm_set_fatal_warnings_if_unstable (void)
+ {
bsd-ports-gnome/commit/devel/p5-Heap?id=81797980f7c6379ede593d353bfc4a53034c4e62'>search.cpan.org redirect reduction canonicalization project, pass 1:Bill Fenner2005-09-221-1/+1 * Update to 0.71.Anton Berezin2004-12-064-11/+13 * SIZEify (maintainer timeout)Trevor Johnson2004-03-311-0/+1 * - Update to version 0.70Kirill Ponomarev2003-12-292-2/+2 * utilize SITE_PERLYing-Chieh Liao2003-10-24