From e14a52ecaeb8cdfd04f1c5a6b5670974b89458a4 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Thu, 9 Dec 2004 19:09:06 +0000 Subject: [PATCH] upgrading package: snownews 1.5.5.1 -> 1.5.6.1 --- snownews/snownews.patch | 11 +++++++++++ snownews/snownews.spec | 10 ++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 snownews/snownews.patch diff --git a/snownews/snownews.patch b/snownews/snownews.patch new file mode 100644 index 0000000000..4fb2fb6218 --- /dev/null +++ b/snownews/snownews.patch @@ -0,0 +1,11 @@ +Index: conversions.c +--- conversions.c.orig 2004-12-09 12:29:08 +0100 ++++ conversions.c 2004-12-09 20:07:48 +0100 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + /* I have no idea what needs to be defined to get strptime() on glibc. + * This is stolen from somewhere else and it works for me(tm). diff --git a/snownews/snownews.spec b/snownews/snownews.spec index 538a14b118..588eccf5e1 100644 --- a/snownews/snownews.spec +++ b/snownews/snownews.spec @@ -33,11 +33,12 @@ Distribution: OpenPKG Class: EVAL Group: Network License: GPL -Version: 1.5.5.1 -Release: 20041030 +Version: 1.5.6.1 +Release: 20041209 # list of sources Source0: http://kiza.kcore.de/software/snownews/download/snownews-%{version}.tar.gz +Patch0: snownews.patch # build information Prefix: %{l_prefix} @@ -61,6 +62,9 @@ AutoReqProv: no %prep %setup -q + %patch -p0 + +%build ./configure %{l_shtool} subst \ -e 's;^\(CC=\).*$;\1%{l_cc};' \ @@ -77,8 +81,6 @@ AutoReqProv: no %{l_shtool} subst \ -e 's;\((String)\)s;\1;g' \ config.h - -%build %{l_make} %{l_mflags -O} %install