pkgsrc/editors/manedit/patches/patch-ac
rillig 35fa61390a Updated manedit to 0.8.1.
Release Notes
-------------

	Fixed a bug that caused a crash whenever a string was added
	to the selection.

	Added new select and copy functions to the Viewer's menu.

	Improved the Editor's copy/paste ownership widget behavior.

	Fixed a GtkSelection bug in which redundant GtkSignals were
	being connected.

	Added pointer roller scroll support.

	Fixed a bug in the mapping of popup menus.
2007-10-14 07:49:54 +00:00

31 lines
999 B
Text

$NetBSD: patch-ac,v 1.4 2007/10/14 07:49:54 rillig Exp $
--- pref.c.orig 2007-02-11 09:00:00.000000000 +0100
+++ pref.c 2007-10-14 09:27:47.000000000 +0200
@@ -1705,7 +1705,7 @@ static void PrefCreatePanelLocations(pre
* first index of the text array (that's text[0]).
*/
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
text[0] = "/usr/share/man";
#else
text[0] = "/usr/man";
@@ -1713,7 +1713,7 @@ static void PrefCreatePanelLocations(pre
text[1] = "Global";
gtk_clist_append(GTK_CLIST(w), text);
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
text[0] = LOCALBASE "/man";
#else
text[0] = "/usr/local/man";
@@ -1721,7 +1721,7 @@ static void PrefCreatePanelLocations(pre
text[1] = "Local";
gtk_clist_append(GTK_CLIST(w), text);
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__)
text[0] = X11BASE"/man";
#else
text[0] = "/usr/X11R6/man";