rpms/snownews/devel snownews-1.5.12-ncursesw.patch, NONE, 1.1 snownews.spec, 1.22, 1.23

Zing Zing Shishak shishz at fedoraproject.org
Mon Dec 14 23:34:11 UTC 2009


Author: shishz

Update of /cvs/pkgs/rpms/snownews/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4856

Modified Files:
	snownews.spec 
Added Files:
	snownews-1.5.12-ncursesw.patch 
Log Message:
* Mon Dec 14 2009 Zing <zing at fastmail.fm> - 1.5.12-2
- Bring back link with ncursesw, set -DUTF_8 for xmlUTF8Strlen #546431
  mistakenly dropped when charset patch went upstream


snownews-1.5.12-ncursesw.patch:
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE snownews-1.5.12-ncursesw.patch ---
--- snownews-1.5.12/configure.orig	2009-12-14 14:55:02.059524232 -0500
+++ snownews-1.5.12/configure	2009-12-14 14:55:18.154460825 -0500
@@ -13,7 +13,7 @@ chomp($xmlldflags);
 
 my $prefix = "/usr/local";
 my $cflags = "-Wall -Wno-format-y2k -O2 -DLOCALEPATH=\"\\\"\$(LOCALEPATH)\\\"\" -DOS=\\\"$os\\\" $xmlcflags \$(EXTRA_CFLAGS) ";
-my $ldflags = "-lncurses -lcrypto $xmlldflags \$(EXTRA_LDFLAGS) ";
+my $ldflags = "-lncursesw -lcrypto $xmlldflags \$(EXTRA_LDFLAGS) ";
 
 my $use_nls = 1;
 parse_cmdl_line();


Index: snownews.spec
===================================================================
RCS file: /cvs/pkgs/rpms/snownews/devel/snownews.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- snownews.spec	6 Oct 2009 01:58:45 -0000	1.22
+++ snownews.spec	14 Dec 2009 23:34:10 -0000	1.23
@@ -1,6 +1,6 @@
 Name:		snownews
 Version: 	1.5.12
-Release: 	1%{?dist}
+Release: 	2%{?dist}
 Summary: 	A text mode RSS/RDF newsreader
 Group: 		Applications/Internet
 License: 	GPLv2
@@ -9,6 +9,7 @@ Source0: 	http://home.kcore.de/~kiza/sof
 Patch0:		snownews-1.5.10-nocheck.patch
 Patch1:		snownews-1.5.10-nostrip.patch
 Patch2:		snownews-1.5.12-manpage.patch
+Patch3:		snownews-1.5.12-ncursesw.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:	libxml2-devel
 BuildRequires:	ncurses-devel
@@ -28,10 +29,11 @@ with any version of libxml2.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 ./configure --prefix=%{_prefix}
-EXTRA_CFLAGS="$RPM_OPT_FLAGS -fPIE" EXTRA_LDFLAGS="-pie" make %{?_smp_mflags}
+EXTRA_CFLAGS="$RPM_OPT_FLAGS -fPIE -DUTF_8" EXTRA_LDFLAGS="-pie" make %{?_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -51,6 +53,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/*/man1/*
 
 %changelog
+* Mon Dec 14 2009 Zing <zing at fastmail.fm> - 1.5.12-2
+- Bring back link with ncursesw, set -DUTF_8 for xmlUTF8Strlen #546431
+  mistakenly dropped when charset patch went upstream
+
 * Mon Oct  5 2009 Zing <zing at fastmail.fm> - 1.5.12-1
 - Bug fixes + openssl added as a requirement
 - Corrected two crashes when using mark unread and open URL on




More information about the fedora-extras-commits mailing list