- fix missing return value (#149361)

epel9
Michael Schwendt 20 years ago
parent 8a6b79522a
commit 8478dc6bd9

@ -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);

@ -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 <mschwendt[AT]users.sf.net>
* Fri Jul 1 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.4.0-0.rc5.5
- fix missing return value (#149361)
* Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 1.4.0-0.rc5.4
- rebuilt
* Thu Dec 16 2004 Michael Schwendt <mschwendt[AT]users.sf.net> 1.4.0-0.rc5.3

Loading…
Cancel
Save