summaryrefslogtreecommitdiffstats
path: root/debian/patches/install_hwlatdetect_into_sbindir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/install_hwlatdetect_into_sbindir.patch')
-rw-r--r--debian/patches/install_hwlatdetect_into_sbindir.patch16
1 files changed, 9 insertions, 7 deletions
diff --git a/debian/patches/install_hwlatdetect_into_sbindir.patch b/debian/patches/install_hwlatdetect_into_sbindir.patch
index 49d8e89..5e64257 100644
--- a/debian/patches/install_hwlatdetect_into_sbindir.patch
+++ b/debian/patches/install_hwlatdetect_into_sbindir.patch
@@ -7,9 +7,11 @@ needs root privileges install it into $sbindir.
Makefile | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
---- a/Makefile
-+++ b/Makefile
-@@ -23,6 +23,7 @@
+Index: rt-tests/Makefile
+===================================================================
+--- rt-tests.orig/Makefile
++++ rt-tests/Makefile
+@@ -26,6 +26,7 @@ EXTRA_LIBS ?= -ldl # for get_cpu
DESTDIR ?=
prefix ?= /usr/local
bindir ?= $(prefix)/bin
@@ -17,16 +19,16 @@ needs root privileges install it into $sbindir.
mandir ?= $(prefix)/share/man
srcdir ?= $(prefix)/src
-@@ -30,8 +31,6 @@
+@@ -33,8 +34,6 @@ CFLAGS ?= -Wall -Wno-nonnull
CPPFLAGS += -D_GNU_SOURCE -Isrc/include
LDFLAGS ?=
--PYLIB ?= $(shell python -c 'import distutils.sysconfig; print distutils.sysconfig.get_python_lib()')
+-PYLIB ?= $(shell python3 -c 'import distutils.sysconfig; print (distutils.sysconfig.get_python_lib())')
-
ifndef DEBUG
- CFLAGS += -O2
+ CFLAGS += -O2 -g
else
-@@ -181,13 +180,9 @@
+@@ -198,13 +197,9 @@ install: all install_hwlatdetect
.PHONY: install_hwlatdetect
install_hwlatdetect: hwlatdetect