summaryrefslogtreecommitdiff
path: root/sysutils/libgtop/patches/patch-bd
blob: 3fa5b05a0dca682d3451145e20348f99fd0bfbe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-bd,v 1.1 2007/09/20 21:12:14 wiz Exp $

From FreeBSD's GNOME development repository.

--- src/daemon/server.c.orig	2004-06-09 20:52:21.000000000 +0200
+++ src/daemon/server.c
@@ -88,11 +88,13 @@ main(int argc, char *argv[])
 	if (strcmp (uts.sysname, LIBGTOP_COMPILE_SYSTEM) ||
 	    strcmp (uts.release, LIBGTOP_COMPILE_RELEASE) ||
 	    strcmp (uts.machine, LIBGTOP_COMPILE_MACHINE)) {
-		fprintf (stderr, "Can only run on %s %s %s\n",
+		fprintf (stderr, "This libgtop was compiled on %s %s %s\n",
 			 LIBGTOP_COMPILE_SYSTEM,
 			 LIBGTOP_COMPILE_RELEASE,
 			 LIBGTOP_COMPILE_MACHINE);
-		_exit (1);
+                fprintf (stderr, "If you see strange problems caused by it,\n");
+                fprintf (stderr, "you should recompile libgtop and dependent"
+                         "applications.\n");
 	}
 #endif