rpms/emacs/devel emacsclient.patch,NONE,1.1 emacs.spec,1.121,1.122

Daniel Novotny dnovotny at fedoraproject.org
Fri Mar 27 14:21:30 UTC 2009


Author: dnovotny

Update of /cvs/extras/rpms/emacs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv24673

Modified Files:
	emacs.spec 
Added Files:
	emacsclient.patch 
Log Message:

fix #489066


emacsclient.patch:

--- NEW FILE emacsclient.patch ---
*** emacs-22.3/lib-src/emacsclient.c~	2007-02-16 09:12:59.000000000 -0800
--- emacs-22.3/lib-src/emacsclient.c	2009-03-05 15:42:53.000000000 -0800
***************
*** 48,53 ****
--- 48,54 ----
  
  # ifdef HAVE_INET_SOCKETS
  #  include <netinet/in.h>
+ #  include <arpa/inet.h>
  # endif
  
  # define INVALID_SOCKET -1


Index: emacs.spec
===================================================================
RCS file: /cvs/extras/rpms/emacs/devel/emacs.spec,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -r1.121 -r1.122
--- emacs.spec	12 Mar 2009 09:54:36 -0000	1.121
+++ emacs.spec	27 Mar 2009 14:21:00 -0000	1.122
@@ -4,7 +4,7 @@
 Name: emacs
 Epoch: 1
 Version: 22.3
-Release: 9%{?dist}
+Release: 10%{?dist}
 License: GPLv3+
 URL: http://www.gnu.org/software/emacs/
 Group: Applications/Editors
@@ -28,6 +28,7 @@
 Patch1: rpm-spec-mode.patch
 Patch2: po-mode-auto-replace-date-71264.patch
 Patch3: rpm-spec-mode-utc.patch
+Patch4: emacsclient.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: atk-devel, cairo-devel, freetype-devel, fontconfig-devel, giflib-devel, glibc-devel, gtk2-devel, libpng-devel
 BuildRequires: libjpeg-devel, libtiff-devel, libX11-devel, libXau-devel, libXdmcp-devel, libXrender-devel, libXt-devel
@@ -110,6 +111,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .glibc-open-macro
+%patch4 -p1
 
 # install rest of site-lisp files
 ( cd site-lisp
@@ -361,6 +363,9 @@
 %dir %{_datadir}/emacs/%{version}
 
 %changelog
+* Fri Mar 27 2009 Daniel Novotny <dnovotny at redhat.com> 1:22.3-10
+- fix segfaults when emacsclient connects to a tcp emacs server (#489066)
+
 * Thu Mar 12 2009 Daniel Novotny <dnovotny at redhat.com> 1:22.3-9
 - implement UTC change log option in rpm-spec-mode.el (#489829)
 




More information about the fedora-extras-commits mailing list