Use c\(.*\) instead of \1.h
This commit is contained in:
parent
183d1a8cad
commit
e9054cdb6b
2 changed files with 5 additions and 5 deletions
|
|
@ -5,8 +5,8 @@ diff -pruN uim-1.4.1.orig/xim/locale.cpp uim-1.4.1/xim/locale.cpp
|
|||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
+#include <cstdlib>
|
||||
+#include <cstring>
|
||||
#include <locale.h>
|
||||
#include <iconv.h>
|
||||
#include <errno.h>
|
||||
|
|
@ -17,7 +17,7 @@ diff -pruN uim-1.4.1.orig/xim/ximserver.cpp uim-1.4.1/xim/ximserver.cpp
|
|||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
+#include <cstdlib>
|
||||
#include <ctype.h>
|
||||
#include <locale.h>
|
||||
#include <X11/Xlib.h>
|
||||
|
|
|
|||
4
uim.spec
4
uim.spec
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
Name: uim
|
||||
Version: 1.4.1
|
||||
Release: 10%{?dist}
|
||||
Release: 11%{?dist}
|
||||
# uim itself is licensed under BSD
|
||||
# scm/py.scm, helper/eggtrayicon.[ch], qt/pref-kseparator.{cpp,h}
|
||||
# and qt/chardict/chardict-kseparator.{cpp,h} is licensed under LGPLv2+
|
||||
|
|
@ -387,7 +387,7 @@ fi
|
|||
%dir %{_datadir}/uim
|
||||
|
||||
%changelog
|
||||
* Thu Jan 31 2008 Akira TAGOH <tagoh@redhat.com> - 1.4.1-10
|
||||
* Thu Jan 31 2008 Akira TAGOH <tagoh@redhat.com> - 1.4.1-11
|
||||
- Use full path to bring up XIM server.
|
||||
- uim-1.4.1-gcc43.patch: Fix a build fail with gcc-4.3.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue