[arch-commits] Commit in emacs/trunk (PKGBUILD emacs-23.3-xgselect_init.patch)
Juergen Hoetzel
juergen at archlinux.org
Thu Apr 12 11:14:12 UTC 2012
Date: Thursday, April 12, 2012 @ 07:14:11
Author: juergen
Revision: 156052
fix FS#29233 - [Emacs] hangs with the glib 2.32
Added:
emacs/trunk/emacs-23.3-xgselect_init.patch
Modified:
emacs/trunk/PKGBUILD
--------------------------------+
PKGBUILD | 7 +++++--
emacs-23.3-xgselect_init.patch | 13 +++++++++++++
2 files changed, 18 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-04-12 08:26:22 UTC (rev 156051)
+++ PKGBUILD 2012-04-12 11:14:11 UTC (rev 156052)
@@ -11,10 +11,13 @@
license=('GPL3')
depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'gtk2' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib')
install=emacs.install
-source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.bz2{,.sig} emacs-subversion17.patch)
+source=(ftp://ftp.gnu.org/gnu/emacs/$pkgname-$pkgver.tar.bz2{,.sig}
+ emacs-subversion17.patch
+ emacs-23.3-xgselect_init.patch)
md5sums=('070c68ad8e3c31fb3cb2414feaf5e6f0'
'55eb16eb48b44987693c0e3ea5ab8075'
- '12e2e7a66df5cc5ded54e1d30083a1fb')
+ '12e2e7a66df5cc5ded54e1d30083a1fb'
+ '0d3b3d701ba1295613ace30e8d67ca88')
build() {
cd "$srcdir"/$pkgname-$pkgver
Added: emacs-23.3-xgselect_init.patch
===================================================================
--- emacs-23.3-xgselect_init.patch (rev 0)
+++ emacs-23.3-xgselect_init.patch 2012-04-12 11:14:11 UTC (rev 156052)
@@ -0,0 +1,13 @@
+diff -up emacs-23.3/src/xgselect.c.xgselect_init emacs-23.3/src/xgselect.c
+--- emacs-23.3/src/xgselect.c.xgselect_init 2011-01-08 18:45:14.000000000 +0100
++++ emacs-23.3/src/xgselect.c 2011-11-11 13:00:53.211765255 +0100
+@@ -55,6 +55,9 @@ xg_select (max_fds, rfds, wfds, efds, ti
+ do {
+ if (n_gfds > gfds_size)
+ {
++ if (gfds_size == 0)
++ xgselect_initialize ();
++
+ while (n_gfds > gfds_size)
+ gfds_size *= 2;
+ xfree (gfds);
More information about the arch-commits
mailing list