From 8478dc6bd9727805ca00ad921c2ce806894c21bc Mon Sep 17 00:00:00 2001 From: Michael Schwendt Date: Fri, 1 Jul 2005 21:01:06 +0000 Subject: [PATCH] - fix missing return value (#149361) --- aalib-1.4rc5-bug149361.patch | 12 ++++++++++++ aalib.spec | 9 +++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 aalib-1.4rc5-bug149361.patch diff --git a/aalib-1.4rc5-bug149361.patch b/aalib-1.4rc5-bug149361.patch new file mode 100644 index 0000000..66d7619 --- /dev/null +++ b/aalib-1.4rc5-bug149361.patch @@ -0,0 +1,12 @@ +diff -Nur aalib-1.4.0-orig/src/aalinuxkbd.c aalib-1.4.0/src/aalinuxkbd.c +--- aalib-1.4.0-orig/src/aalinuxkbd.c 2001-04-26 16:37:31.000000000 +0200 ++++ aalib-1.4.0/src/aalinuxkbd.c 2005-07-01 22:57:59.000000000 +0200 +@@ -200,7 +200,7 @@ + static int rawmode_init(void) + { + if (!closed) +- return; ++ return 0; + mypid = getpid(); + if (tty_fd == -1) { + tty_fd = fileno(stdin); diff --git a/aalib.spec b/aalib.spec index c3d835d..b08e13d 100644 --- a/aalib.spec +++ b/aalib.spec @@ -3,7 +3,7 @@ Summary: An ASCII art library. Name: aalib Version: 1.4.0 -Release: 0.%{rc_subver}.4 +Release: 0.%{rc_subver}.5 License: LGPL Group: System Environment/Libraries @@ -11,6 +11,7 @@ URL: http://aa-project.sourceforge.net/aalib/ Source0: http://download.sourceforge.net/aa-project/%{name}-1.4%{rc_subver}.tar.gz Patch0: %{name}-aclocal.patch Patch1: %{name}-config-rpath.patch +Patch2: aalib-1.4rc5-bug149361.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: slang-devel XFree86-devel gpm-devel @@ -39,6 +40,7 @@ with aalib. %setup -q %patch0 -p0 %patch1 -p0 +%patch2 -p1 -b .bug149361 %build @@ -91,7 +93,10 @@ fi %{_datadir}/aclocal/aalib.m4 %changelog -* Fri Apr 7 2005 Michael Schwendt +* Fri Jul 1 2005 Michael Schwendt 1.4.0-0.rc5.5 +- fix missing return value (#149361) + +* Thu Apr 7 2005 Michael Schwendt 1.4.0-0.rc5.4 - rebuilt * Thu Dec 16 2004 Michael Schwendt 1.4.0-0.rc5.3