pkgsrc/misc/siag/patches/patch-aw
reed 40df5f5b8c Update to 3.6.1.
Removed four patches -- three are integrated and antiword is removed.

No longer conflict with antiword.

Add patch (from OpenBSD) in attempt to fix egon.

Improve DESCR.

Add http download to MASTER_SITES.

Don't depend on gv or gnuplot. gnuplot is optional. And I don't
know why it depended on gv. This package provides its own postscript
viewer.

ChangeLog has:

061110	Buildability fixes for Egon.
	Unbundled Antiword.
	Corrected formatting errors in dictionary.it.
	Bundled o3read.

030916	Siag, PW: Ctrl-T adds sheet, Ctrl-W removes sheet.

030820	Got newest source from CVS. xsiag/window.c had to be
	reformatted using indent.

030309	Replaced applicationShellWidgetClass with
	mwApplicationShellWidgetClass. Instant drag and drop
	support, just like that. This means that Mowitz >= 0.3.0
	is now required.
	Siag, PW, Egon: remove drop.[ch] and use drop functionality
	in Mowitz instead. Added cb_drag and cb_drop callbacks.

030304	Replaced XtAppInitialize with XtOpenApplication everywhere.

030303	Changed .cvs to .csv in common/siag.dfmext.
2008-01-09 19:16:13 +00:00

15 lines
438 B
Text

$NetBSD: patch-aw,v 1.1 2008/01/09 19:16:14 reed Exp $
from OpenBSD ports
--- egon/fileio_ppt.c.orig Wed Apr 16 16:07:53 2003
+++ egon/fileio_ppt.c Wed Apr 16 16:08:36 2003
@@ -479,7 +479,7 @@ static int load(char *fn, buffer *b)
row = 1;
sty = MW_STY_DEFAULT;
- strncpy(filename, fn, 1000);
+ strncpy(filename, fn, sizeof filename);
cfs = cole_mount(filename, &colerrno);
if (cfs == NULL) {
cole_perror("Egon", colerrno);