testing/snownews: added wide char curses support

This commit is contained in:
ScrumpyJack 2015-05-12 15:36:32 +00:00 committed by Natanael Copa
parent 28e0432b32
commit cd348c8802
2 changed files with 7 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# Maintainer:
pkgname=snownews
pkgver=1.5.12
pkgrel=0
pkgrel=1
pkgdesc="Snownews is a text mode RSS/RDF newsreader"
url="https://kiza.eu/software/snownews/"
arch="all"
@ -37,8 +37,8 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
md5sums="80da8943fc5aa96571924aec0087d4c0 snownews-1.5.12.tar.gz
45e5cd95985c7f00fb13b1df1ce9b83c configure.patch"
1cc8b5571c4d977417b41915f74ffef5 configure.patch"
sha256sums="26dd96e9345d9cbc1c0c9470417080dd0c3eb31e7ea944f78f3302d7060ecb90 snownews-1.5.12.tar.gz
d4346de0fda37d3b98ab58475167e845666c6bb7aab0dff6adf96dbda889a5d7 configure.patch"
597e360414501f0588459316c4b51b905a9d0eec4ce75ce891b2e315f39bbbbc configure.patch"
sha512sums="7a7ccd5ea57f8bbb73f1429ab931a38203e858c74a383c5347e66088b84f6a7240feeee99e179687ce0a7a89c6c1406ce20d6c5d6771d25a0a0301fa5526e220 snownews-1.5.12.tar.gz
b6fcd744d7f7b83685a6c5f6978ebc464367355e8e9eaf82f9922586fc881afc473019aba1e2b90e18a8b77be37175429dc886cdfe28a3fc7c1489a0316b6b33 configure.patch"
d7ed00a401c1963a5619b0b221ae354e5a8a8423f75313e906f43b5a64c099fac8239d7eb1a34d47c284e96b9ad2965f1ecdad58fb28101f7397143847a5e230 configure.patch"

View File

@ -1,11 +1,11 @@
--- snownews-1.5.12/configure
+++ snownews-1.5.12/configure.patched
@@ -13,7 +13,7 @@
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 = "-liconv -lintl -lncurses -lcrypto $xmlldflags \$(EXTRA_LDFLAGS) ";
+my $ldflags = "-lintl -lncursesw -lcrypto $xmlldflags \$(EXTRA_LDFLAGS) ";
my $use_nls = 1;
parse_cmdl_line();