aboutsummaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2019-04-02 10:09:04 +0200
committerUlrich Müller <ulm@gentoo.org>2019-04-02 10:09:04 +0200
commit835f61910c26fb178282dc48d194c35b65c2f7fa (patch)
tree0f8222dc5928acb986bef1a1842b8c8103cc8e71 /emacs
parentFix compilation with glibc-2.28, bug 681904. (diff)
downloademacs-patches-835f61910c26fb178282dc48d194c35b65c2f7fa.tar.gz
emacs-patches-835f61910c26fb178282dc48d194c35b65c2f7fa.tar.bz2
emacs-patches-835f61910c26fb178282dc48d194c35b65c2f7fa.zip
Declare __dso_handle variable, bug 682282.emacs-23.4-patches-23
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'emacs')
-rw-r--r--emacs/23.4/31_all_dso-handle.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/emacs/23.4/31_all_dso-handle.patch b/emacs/23.4/31_all_dso-handle.patch
new file mode 100644
index 0000000..673e90e
--- /dev/null
+++ b/emacs/23.4/31_all_dso-handle.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/682282
+
+--- emacs-23.4-orig/src/emacs.c
++++ emacs-23.4/src/emacs.c
+@@ -217,6 +217,8 @@
+ output a warning in dump-emacs. */
+ #define MAX_HEAP_BSS_DIFF (1024*1024)
+
++void *__dso_handle = NULL;
++
+
+ #ifdef HAVE_WINDOW_SYSTEM
+ extern Lisp_Object Vinitial_window_system;