04_kfreebsd_version_check.patch: drop brain-dead runtime version

check.
This commit is contained in:
Josselin Mouette
2009-11-22 20:17:25 +00:00
parent 01f63fdbb2
commit 9cd39e5117
3 changed files with 25 additions and 1 deletions

4
debian/changelog vendored
View File

@@ -6,13 +6,15 @@ libgtop2 (2.28.0-3) unstable; urgency=low
* 03_kfreebsd_installdirs.patch: patch to install binaries in
libexecdir so that we can version the installation directory. Also
use DESTDIR in the installation hooks.
* 04_kfreebsd_version_check.patch: drop brain-dead runtime version
check.
* Rename 90_autoconf.patch to 90_autotools.patch, re-run all the
autotools on top of that.
* Pass a versioned libexecdir to the configure arguments.
* Install the server binary on kfreebsd.
* Exclude it from dh_fixperms.
-- Josselin Mouette <joss@debian.org> Sun, 22 Nov 2009 18:16:17 +0100
-- Josselin Mouette <joss@debian.org> Sun, 22 Nov 2009 21:17:18 +0100
libgtop2 (2.28.0-2) unstable; urgency=low

View File

@@ -0,0 +1,21 @@
Index: libgtop-2.28.0/src/daemon/server.c
===================================================================
--- libgtop-2.28.0.orig/src/daemon/server.c 2009-11-22 21:14:47.613184919 +0100
+++ libgtop-2.28.0/src/daemon/server.c 2009-11-22 21:15:02.673188074 +0100
@@ -86,16 +86,6 @@ main(int argc, char *argv[])
LIBGTOP_COMPILE_RELEASE);
_exit (1);
}
-#else
- 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",
- LIBGTOP_COMPILE_SYSTEM,
- LIBGTOP_COMPILE_RELEASE,
- LIBGTOP_COMPILE_MACHINE);
- _exit (1);
- }
#endif
glibtop_init_p (glibtop_global_server, 0, 0);

View File

@@ -1,5 +1,6 @@
01_kfreebsd_kvm_libs.patch
02_hurd_stub_backend.patch
03_kfreebsd_installdirs.patch
04_kfreebsd_version_check.patch
90_autotools.patch
99_ltmain_as-needed.patch