From f2e5646b07138235e1aeea1edc4cd859faa3af51 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Dec 22 2008 21:53:03 +0000 Subject: Minor tweaks to patches to get them to work with no fuzz (BZ #465046) --- diff --git a/bsd-games-2.17-setresgid.patch b/bsd-games-2.17-setresgid.patch index 4a3a452..b37f57f 100644 --- a/bsd-games-2.17-setresgid.patch +++ b/bsd-games-2.17-setresgid.patch @@ -76,7 +76,7 @@ diff -Naur --exclude '*.swp' bsd-games-2.17/backgammon/backgammon/main.c bsd-gam +#define _GNU_SOURCE /* this must be done before the first include of unistd.h */ #include - #include + #include #ifndef lint @@ -101,7 +102,10 @@ long t; /* time for random num generator */ @@ -99,7 +99,7 @@ diff -Naur --exclude '*.swp' bsd-games-2.17/backgammon/teachgammon/teach.c bsd-g +#define _GNU_SOURCE /* this must be done before the first include of unistd.h */ #include - #include + #include #ifndef lint @@ -68,7 +69,10 @@ int i; diff --git a/bsd-games.spec b/bsd-games.spec index 8b06c1b..663ce70 100644 --- a/bsd-games.spec +++ b/bsd-games.spec @@ -1,11 +1,7 @@ -# Ick! This is only a temporary hack until I have more time -# to rebase the affected patches (#4, and possibly more) -%define _default_patch_fuzz 2 - Summary: Collection of text-based games Name: bsd-games Version: 2.17 -Release: 25%{?dist} +Release: 26%{?dist} License: BSD and BSD with advertising Group: Amusements/Games URL: ftp://metalab.unc.edu/pub/Linux/games/ @@ -177,6 +173,9 @@ rm -rf $RPM_BUILD_ROOT %doc AUTHORS COPYING ChangeLog ChangeLog.0 THANKS YEAR2000 README.hunt trek/USD.doc/trek.me %changelog +* Mon Dec 22 2008 Wart 2.17-26 +- Minor tweaks to patches to get them to work with no fuzz (BZ #465046) + * Mon Oct 20 2008 Wart 2.17-25 - Fix robots high score file permissions (BZ# 467726)