rpms/emacs/devel emacs-23.2-m17ncheck.patch, NONE, 1.1 emacs.spec, 1.166, 1.167

Karel Klíč kklic at fedoraproject.org
Tue May 11 09:48:03 UTC 2010


Author: kklic

Update of /cvs/extras/rpms/emacs/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv4952

Modified Files:
	emacs.spec 
Added Files:
	emacs-23.2-m17ncheck.patch 
Log Message:
Added a patch fixing m17n and libotf version checking

emacs-23.2-m17ncheck.patch:
 ftfont.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE emacs-23.2-m17ncheck.patch ---
diff -up emacs-23.2/src/ftfont.c.m17ncheck emacs-23.2/src/ftfont.c
--- emacs-23.2/src/ftfont.c.m17ncheck	2010-05-11 11:22:19.977753842 +0200
+++ emacs-23.2/src/ftfont.c	2010-05-11 11:22:44.545753979 +0200
@@ -1578,8 +1578,8 @@ ftfont_otf_capability (font)
 
 #ifdef HAVE_M17N_FLT
 
-#if ((LIBOTF_MAJOR_VERSION > 1) || (LIBOTF_RELEASE_NUMBER >= 10) \
-     && (M17NLIB_MAJOR_VERSION > 1) || (M17NLIB_MINOR_VERSION >= 6))
+#if (((LIBOTF_MAJOR_VERSION > 1) || (LIBOTF_RELEASE_NUMBER >= 10))	\
+     && ((M17NLIB_MAJOR_VERSION > 1) || (M17NLIB_MINOR_VERSION >= 6)))
 /* We can use the new feature of libotf and m17n-flt to handle the
    character encoding scheme introduced in Unicode 5.1 and 5.2 for
    some Agian scripts.  */


Index: emacs.spec
===================================================================
RCS file: /cvs/extras/rpms/emacs/devel/emacs.spec,v
retrieving revision 1.166
retrieving revision 1.167
diff -u -p -r1.166 -r1.167
--- emacs.spec	11 May 2010 08:26:36 -0000	1.166
+++ emacs.spec	11 May 2010 09:48:03 -0000	1.167
@@ -4,7 +4,7 @@ Summary: GNU Emacs text editor
 Name: emacs
 Epoch: 1
 Version: 23.2
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv3+
 URL: http://www.gnu.org/software/emacs/
 Group: Applications/Editors
@@ -23,7 +23,10 @@ Source18: default.el
 Patch0: glibc-open-macro.patch
 Patch1: rpm-spec-mode.patch
 Patch3: rpm-spec-mode-utc.patch
+# Not sent to upstream.
 Patch4: emacs-23.1-xdg.patch
+# Not sent to upstream.
+Patch5: emacs-23.2-m17ncheck.patch
 
 BuildRequires: atk-devel, cairo-devel, desktop-file-utils, freetype-devel, fontconfig-devel, dbus-devel, giflib-devel, glibc-devel, gtk2-devel, libpng-devel
 BuildRequires: libjpeg-devel, libtiff-devel, libX11-devel, libXau-devel, libXdmcp-devel, libXrender-devel, libXt-devel
@@ -129,6 +132,7 @@ Emacs packages or see some elisp example
 
 %patch0 -p1 -b .glibc-open-macro
 %patch4 -p1 -b .xdg
+%patch5 -p1 -b .m17ncheck
 
 # Install site-lisp files
 cp %SOURCE7 %SOURCE9 %SOURCE10 site-lisp
@@ -388,6 +392,9 @@ alternatives --install %{_bindir}/etags 
 %dir %{_datadir}/emacs/%{version}
 
 %changelog
+* Tue May 11 2010 Karel Klic <kklic at redhat.com> - 1:23.2-2
+- Added a patch fixing m17n and libotf version checking (m17ncheck)
+
 * Mon May 10 2010 Karel Klic <kklic at redhat.com> - 1:23.2-1
 - Updated the prerelase to final version
 



More information about the scm-commits mailing list