From f990e3ac9f2f53e9caaa6d5a70bcb6d58319a28f Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 20 Dec 2010 12:02:12 +0000 Subject: [PATCH] Add .pp to the list of extensions for Pascal source files. --- editors/nedit/Makefile | 4 ++-- editors/nedit/patches/patch-source_preferences_c | 15 +++++++++++++++ 2 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 editors/nedit/patches/patch-source_preferences_c diff --git a/editors/nedit/Makefile b/editors/nedit/Makefile index cb2c12fd1e2..4fc0ff13cb4 100644 --- a/editors/nedit/Makefile +++ b/editors/nedit/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.61 2010/12/08 12:47:37 jasper Exp $ +# $OpenBSD: Makefile,v 1.62 2010/12/20 12:02:12 jasper Exp $ # $FreeBSD: Makefile,v 1.10 1998/03/28 14:36:34 steve Exp $ COMMENT= X11/Motif GUI text editor DISTNAME= nedit-5.5 P_V= 0.5 -REVISION= 14 +REVISION= 15 DISTFILES= ${DISTNAME}-src${EXTRACT_SUFX} \ nedit_patterns-${P_V}.tgz:1 PATCHFILES= wrapmark.diff:0 diff --git a/editors/nedit/patches/patch-source_preferences_c b/editors/nedit/patches/patch-source_preferences_c new file mode 100644 index 00000000000..26124fee0ef --- /dev/null +++ b/editors/nedit/patches/patch-source_preferences_c @@ -0,0 +1,15 @@ +$OpenBSD: patch-source_preferences_c,v 1.3 2010/12/20 12:02:12 jasper Exp $ + +Add .pp to the list of extensions for Pascal source files. + +--- source/preferences.c.orig Mon Dec 20 01:41:55 2010 ++++ source/preferences.c Mon Dec 20 01:42:05 2010 +@@ -695,7 +695,7 @@ static PrefDescripRec PrefDescrip[] = { + Makefile:Makefile makefile .gmk:::None:8:8::\n\ + Matlab:.m .oct .sci:::::::\n\ + NEdit Macro:.nm .neditmacro:::::::\n\ +- Pascal:.pas .p .int:::::::\n\ ++ Pascal:.pas .p pp .int:::::::\n\ + Perl:.pl .pm .p5 .PL:\"^[ \\t]*#[ \\t]*!.*perl\":Auto:None:::\".,/\\\\`'!$@#%^&*()-=+{}[]\"\":;<>?~|\":\n\ + PostScript:.ps .eps .epsf .epsi:\"^%!\":::::\"/%(){}[]<>\":\n\ + Python:.py:\"^#!.*python\":Auto:None:::\"!\"\"#$%&'()*+,-./:;<=>?@[\\\\]^`{|}~\":\n\