commit suck for openSUSE:Factory
Hello community, here is the log from the commit of package suck for openSUSE:Factory checked in at Fri Apr 23 01:35:28 CEST 2010. -------- --- suck/suck.changes 2007-06-04 11:25:16.000000000 +0200 +++ /mounts/work_src_done/STABLE/suck/suck.changes 2010-04-22 14:18:32.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Apr 22 12:09:33 UTC 2010 - pth@novell.com + +- Fix location of inn3 headers. +- Fix some compiler warnings. +- Move examples to _docdir/examples. + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- suck-4.3.0-codecleanup.patch suck-4.3.0-inn3_headers_location.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suck.spec ++++++ --- /var/tmp/diff_new_pack.OHibC3/_old 2010-04-23 01:35:22.000000000 +0200 +++ /var/tmp/diff_new_pack.OHibC3/_new 2010-04-23 01:35:22.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package suck (Version 4.3.0) # -# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -29,7 +29,7 @@ Group: Productivity/Networking/News/Utilities AutoReqProv: on Version: 4.3.0 -Release: 721 +Release: 722 Url: http://www.sucknews.org Summary: Reading News Offline Source: suck-%{version}.tar.bz2 @@ -37,6 +37,8 @@ Patch1: suck-%{version}-ia64.patch Patch2: suck-%{version}-thrperl.dif Patch3: suck-%{version}-fgets.patch +Patch4: suck-%{version}-inn3_headers_location.patch +Patch5: suck-%{version}-codecleanup.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -53,14 +55,16 @@ Robert A. Yetman <bobyetman@home.com> %prep -%setup +%setup -q %patch %patch1 %patch2 %patch3 +%patch4 +%patch5 %build -CFLAGS="-Wall $RPM_OPT_FLAGS -pipe -fno-strict-aliasing" LDFLAGS=' ' ./configure --prefix=%_prefix +CFLAGS="-Wall $RPM_OPT_FLAGS -pipe" LDFLAGS=' ' ./configure --prefix=%_prefix make all lpost %install @@ -69,13 +73,17 @@ mandir="$RPM_BUILD_ROOT"/%{_mandir}/man1 \ install install_lpost +install -d %{buildroot}/%{_docdir}/%{name}/examples +install -m644 README* CHANGELOG %{buildroot}/%{_docdir}/%{name}/ +install sample/* %{buildroot}/%{_docdir}/%{name}/examples + %clean rm -rf "$RPM_BUILD_ROOT" %files %defattr(-,root,root) /usr/bin/* -%doc README* CHANGELOG sample/* +%doc %{_docdir}/%{name} %doc %{_mandir}/man1/* %changelog ++++++ suck-4.3.0-codecleanup.patch ++++++ Index: batch.c =================================================================== --- batch.c.orig 2010-04-22 13:49:30.820370821 +0200 +++ batch.c 2010-04-22 13:56:33.288369682 +0200 @@ -225,7 +225,7 @@ void do_lmovebatch(PMaster master) { pid = fork(); if(pid == 0) { /* in child */ - execvp(args[0], args); + execvp(args[0], (char * const *)args); MyPerror(batch_phrases[2]); /* only get here on errors */ exit(-1); /* so we aren't running two sucks */ } Index: both.c =================================================================== --- both.c.orig 2010-04-22 13:49:30.820370821 +0200 +++ both.c 2010-04-22 13:57:03.456369887 +0200 @@ -167,7 +167,8 @@ int connect_to_nntphost(const char *host struct sockaddr_in address; char sport[10]; int sockfd = -1; - + + memset(&saddr, '\0', sizeof(saddr)); #ifdef HAVE_LIBSSL SSL *ssl_struct = NULL; SSL_CTX *test1 = NULL; Index: db.h =================================================================== --- db.h.orig 2010-04-22 13:49:30.820370821 +0200 +++ db.h 2010-04-22 13:50:22.640270404 +0200 @@ -9,4 +9,4 @@ int db_mark_dled(PMaster, PList); int db_open(PMaster); void db_close(PMaster); -#endif _SUCK_DB_H +#endif /* _SUCK_DB_H */ ++++++ suck-4.3.0-inn3_headers_location.patch ++++++ Index: chkhistory_db.c =================================================================== --- chkhistory_db.c.orig 2010-04-22 13:46:43.000000000 +0200 +++ chkhistory_db.c 2010-04-22 13:59:23.331362751 +0200 @@ -82,8 +82,8 @@ static DBM *db = NULL; /* I know this is #ifdef USE_INN23 #include <sys/types.h> /* #include <configdata.h> obsolete */ -#include <libinn.h> -#include <dbz.h> +#include <inn/libinn.h> +#include <inn/dbz.h> #define close_history() dbzclose() #define USE_INN2 /* we need the rest of the inn2 code, only the includes are different */ #endif ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org
participants (1)
-
root@hilbert.suse.de