04_kfreebsd_version_check.patch: drop brain-dead runtime version
check.
This commit is contained in:
4
debian/changelog
vendored
4
debian/changelog
vendored
@@ -6,13 +6,15 @@ libgtop2 (2.28.0-3) unstable; urgency=low
|
|||||||
* 03_kfreebsd_installdirs.patch: patch to install binaries in
|
* 03_kfreebsd_installdirs.patch: patch to install binaries in
|
||||||
libexecdir so that we can version the installation directory. Also
|
libexecdir so that we can version the installation directory. Also
|
||||||
use DESTDIR in the installation hooks.
|
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
|
* Rename 90_autoconf.patch to 90_autotools.patch, re-run all the
|
||||||
autotools on top of that.
|
autotools on top of that.
|
||||||
* Pass a versioned libexecdir to the configure arguments.
|
* Pass a versioned libexecdir to the configure arguments.
|
||||||
* Install the server binary on kfreebsd.
|
* Install the server binary on kfreebsd.
|
||||||
* Exclude it from dh_fixperms.
|
* 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
|
libgtop2 (2.28.0-2) unstable; urgency=low
|
||||||
|
|
||||||
|
21
debian/patches/04_kfreebsd_version_check.patch
vendored
Normal file
21
debian/patches/04_kfreebsd_version_check.patch
vendored
Normal 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);
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@@ -1,5 +1,6 @@
|
|||||||
01_kfreebsd_kvm_libs.patch
|
01_kfreebsd_kvm_libs.patch
|
||||||
02_hurd_stub_backend.patch
|
02_hurd_stub_backend.patch
|
||||||
03_kfreebsd_installdirs.patch
|
03_kfreebsd_installdirs.patch
|
||||||
|
04_kfreebsd_version_check.patch
|
||||||
90_autotools.patch
|
90_autotools.patch
|
||||||
99_ltmain_as-needed.patch
|
99_ltmain_as-needed.patch
|
||||||
|
Reference in New Issue
Block a user