diff options
author | wiz <wiz@pkgsrc.org> | 2003-12-27 23:04:23 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-12-27 23:04:23 +0000 |
commit | 865d0a84f06ddb97dade6a8abb89079ca744d7bb (patch) | |
tree | 0d2f5ac0fba8c16500dfe91c258b952d3f11ca71 /www/snownews/patches | |
parent | 8a16a06b30c1c976f0ddee01702ba2832d839bd4 (diff) | |
download | pkgsrc-865d0a84f06ddb97dade6a8abb89079ca744d7bb.tar.gz |
Import of snownews-1.4.2 from Bruce J.A. Nourish via pkgsrc-wip.
Snownews is a small console RSS/RDF newsreader. It will handle RSS 1.0
feeds that comply with the W3C RDF specification, but will also support
userland's 0.91 and 2.0 versions.
Diffstat (limited to 'www/snownews/patches')
-rw-r--r-- | www/snownews/patches/patch-aa | 17 | ||||
-rw-r--r-- | www/snownews/patches/patch-ab | 13 | ||||
-rw-r--r-- | www/snownews/patches/patch-ac | 24 |
3 files changed, 54 insertions, 0 deletions
diff --git a/www/snownews/patches/patch-aa b/www/snownews/patches/patch-aa new file mode 100644 index 00000000000..418198f1b93 --- /dev/null +++ b/www/snownews/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.1.1.1 2003/12/27 23:04:23 wiz Exp $ + +--- Makefile.inc.orig Tue Dec 23 19:28:09 2003 ++++ Makefile.inc +@@ -1,8 +1,7 @@ +-CC = gcc +-MAKE = make +-INSTALL = install +-PREFIX = /usr/local +-LOCALEPATH = $(PREFIX)/share/locale ++MAKE = $(GMAKE) ++INSTALL = ${BSD_INSTALL_DATA} -c ++PREFIX = $(LOCALBASE) ++LOCALEPATH = $(PREFIX)/$(PKGLOCALEDIR)/locale + DISTFILES = AUTHOR COPYING CREDITS Changelog README README.de README.colors INSTALL INSTALL.solaris INSTALL.FreeOpenNetBSD TODO opml2snow \ + Makefile Makefile.inc Makefile.solaris \ + doc po \ diff --git a/www/snownews/patches/patch-ab b/www/snownews/patches/patch-ab new file mode 100644 index 00000000000..8f7d69c1ad5 --- /dev/null +++ b/www/snownews/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2003/12/27 23:04:23 wiz Exp $ + +--- ../snownews-1.4.2.orig/conversions.c 2003-12-23 04:10:35.000000000 -0700 ++++ conversions.c 2003-12-23 15:19:48.000000000 -0700 +@@ -55,7 +55,7 @@ + return NULL; + } + +- if (iconv (cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft) == -1) { ++ if (iconv (cd, (const char **)&inbuf, &inbytesleft, &outbuf, &outbytesleft) == -1) { + return NULL; + } + diff --git a/www/snownews/patches/patch-ac b/www/snownews/patches/patch-ac new file mode 100644 index 00000000000..0a305b8a094 --- /dev/null +++ b/www/snownews/patches/patch-ac @@ -0,0 +1,24 @@ +$NetBSD: patch-ac,v 1.1.1.1 2003/12/27 23:04:23 wiz Exp $ + +--- Makefile.orig Tue Dec 23 19:28:09 2003 ++++ Makefile +@@ -2,7 +2,7 @@ include Makefile.inc + + LDFLAGS = -lncurses `xml2-config --libs` $(EXTRA_LDFLAGS) + OBJFILES = main.o netio.o interface.o xmlparse.o updatecheck.o conversions.o dialog.o ui-support.o categories.o +-CFLAGS = -Wall -O2 -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) ++CFLAGS = -Wall -DLOCALEPATH="\"$(LOCALEPATH)\"" -DOS=\"$(shell uname)\" `xml2-config --cflags` $(EXTRA_CFLAGS) + VERSION = `grep VERSION version.h | sed s/\"//g | sed s/\#define\ VERSION\ //` + MAN = doc/man + DISTDIR = snownews-$(VERSION) +@@ -29,8 +29,8 @@ install: snownews snownews.1 locales + if [ ! -d "$(PREFIX)/bin" ]; then \ + mkdir -p $(PREFIX)/bin; \ + fi +- $(INSTALL) -s snownews $(PREFIX)/bin +- $(INSTALL) opml2snow $(PREFIX)/bin ++ $(BSD_INSTALL_PROGRAM) snownews $(PREFIX)/bin ++ $(BSD_INSTALL_SCRIPT) opml2snow $(PREFIX)/bin + $(MAKE) -C $(MAN) install-man + $(MAKE) -C po install + @echo "" |