rpms/bsd-games/devel bsd-games-2.17-nolibtermcap.patch, NONE, 1.1 bsd-games-2.17-ospeed.patch, 1.1, 1.2 bsd-games.spec, 1.10, 1.11
Michael Thomas (wart)
fedora-extras-commits at redhat.com
Tue Mar 6 22:23:35 UTC 2007
Author: wart
Update of /cvs/extras/rpms/bsd-games/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv7376
Modified Files:
bsd-games-2.17-ospeed.patch bsd-games.spec
Added Files:
bsd-games-2.17-nolibtermcap.patch
Log Message:
- Remove BR: libtermcap-devel
- Change includes of <termcap.h> to <ncurses/termcap.h>
bsd-games-2.17-nolibtermcap.patch:
--- NEW FILE bsd-games-2.17-nolibtermcap.patch ---
--- tetris/screen.c.orig 2007-03-06 12:17:34.000000000 -0800
+++ tetris/screen.c 2007-03-06 12:17:44.000000000 -0800
@@ -46,7 +46,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <termcap.h>
+#include <ncurses/termcap.h>
#include <termios.h>
#include <unistd.h>
--- tetris/scores.c.orig 2007-03-06 12:15:08.000000000 -0800
+++ tetris/scores.c 2007-03-06 12:15:18.000000000 -0800
@@ -51,7 +51,7 @@
#include <sys/file.h>
#include <sys/stat.h>
#include <time.h>
-#include <termcap.h>
+#include <ncurses/termcap.h>
#include <unistd.h>
#include "pathnames.h"
--- backgammon/common_source/back.h.orig 2007-03-06 12:26:39.000000000 -0800
+++ backgammon/common_source/back.h 2007-03-06 12:26:49.000000000 -0800
@@ -40,7 +40,7 @@
#include <stdlib.h>
#include <string.h>
#include <termios.h>
-#include <termcap.h>
+#include <ncurses/termcap.h>
#include <unistd.h>
#define rnum(r) (random()%r)
--- hack/hack.tty.c.orig 2007-03-06 14:12:00.000000000 -0800
+++ hack/hack.tty.c 2007-03-06 14:12:11.000000000 -0800
@@ -106,7 +106,7 @@
*/
#include <termios.h>
-#include <termcap.h>
+#include <ncurses/termcap.h>
#include "hack.h"
#include "extern.h"
--- hack/hack.termcap.c.orig 2007-03-06 14:14:48.000000000 -0800
+++ hack/hack.termcap.c 2007-03-06 14:14:58.000000000 -0800
@@ -69,7 +69,7 @@
#include <string.h>
#include <termios.h>
-#include <termcap.h>
+#include <ncurses/termcap.h>
#include <stdlib.h>
#include <unistd.h>
#include "hack.h"
bsd-games-2.17-ospeed.patch:
Index: bsd-games-2.17-ospeed.patch
===================================================================
RCS file: /cvs/extras/rpms/bsd-games/devel/bsd-games-2.17-ospeed.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- bsd-games-2.17-ospeed.patch 29 Apr 2006 15:34:43 -0000 1.1
+++ bsd-games-2.17-ospeed.patch 6 Mar 2007 22:23:02 -0000 1.2
@@ -5,7 +5,7 @@
*/
#include <sys/cdefs.h>
-+#include <termcap.h>
++#include <ncurses/termcap.h>
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
The Regents of the University of California. All rights reserved.\n");
@@ -25,7 +25,7 @@
*/
#include <sys/cdefs.h>
-+#include <termcap.h>
++#include <ncurses/termcap.h>
#ifndef lint
__COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
The Regents of the University of California. All rights reserved.\n");
Index: bsd-games.spec
===================================================================
RCS file: /cvs/extras/rpms/bsd-games/devel/bsd-games.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- bsd-games.spec 31 Jan 2007 00:16:25 -0000 1.10
+++ bsd-games.spec 6 Mar 2007 22:23:02 -0000 1.11
@@ -1,7 +1,7 @@
Summary: Collection of text-based games
Name: bsd-games
Version: 2.17
-Release: 17%{?dist}
+Release: 18%{?dist}
License: BSD
Group: Amusements/Games
URL: ftp://metalab.unc.edu/pub/Linux/games/
@@ -22,8 +22,9 @@
Patch8: bsd-games-2.17-monop-rename.patch
Patch9: bsd-games-2.17-banner-rename.patch
Patch10: bsd-games-2.17-stdio-c++.patch
+Patch11: bsd-games-2.17-nolibtermcap.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: ncurses-devel libtermcap-devel words flex bison
+BuildRequires: ncurses-devel words flex bison
Requires(Pre): /usr/sbin/groupadd
%description
@@ -47,6 +48,7 @@
%patch8 -p1 -b .monop.rename
%patch9 -p0 -b .banner.rename
%patch10 -p0 -b .cplusplus
+%patch11 -p0 -b .nolibtermcap
%build
# We include a templatized configuration settings file to set
@@ -162,6 +164,10 @@
%doc AUTHORS COPYING ChangeLog ChangeLog.0 THANKS YEAR2000 README.hunt trek/USD.doc/trek.me
%changelog
+* Tue Mar 6 2007 Wart <wart at kobold.org> 2.17-18
+- Remove BR: libtermcap-devel
+- Change includes of <termcap.h> to <ncurses/termcap.h>
+
* Tue Jan 30 2007 Wart <wart at kobold.org> 2.17-17
- Patch to add extern "C" block to prevent c++ compiler error.
More information about the scm-commits
mailing list