summaryrefslogtreecommitdiffstats
path: root/devel/libgtop/files/patch-src_daemon_server.c
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-11-03 12:08:15 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-11-03 12:08:15 +0800
commit75dc056962adbd6eba715622530d4e0c032b71ee (patch)
treef75701d9e150d5983d167a0a8e13efc9ee64ead7 /devel/libgtop/files/patch-src_daemon_server.c
parent3dbeda8a6470c9991fa8fd060605859e1092fdee (diff)
downloadmarcuscom-ports-75dc056962adbd6eba715622530d4e0c032b71ee.tar.gz
marcuscom-ports-75dc056962adbd6eba715622530d4e0c032b71ee.tar.zst
marcuscom-ports-75dc056962adbd6eba715622530d4e0c032b71ee.zip
Update to 2.21.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9906 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/libgtop/files/patch-src_daemon_server.c')
-rw-r--r--devel/libgtop/files/patch-src_daemon_server.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/libgtop/files/patch-src_daemon_server.c b/devel/libgtop/files/patch-src_daemon_server.c
new file mode 100644
index 000000000..bf0bba5c7
--- /dev/null
+++ b/devel/libgtop/files/patch-src_daemon_server.c
@@ -0,0 +1,17 @@
+--- src/daemon/server.c.orig Mon Feb 17 15:22:19 2003
++++ src/daemon/server.c Mon Feb 17 15:23:31 2003
+@@ -88,11 +88,12 @@
+ 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
+