pkgsrc/sysutils/libgtop/patches/patch-bd

22 lines
841 B
Text

$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