summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-07-25 17:30:48 -0700
committerPatrick McLean <chutzpah@gentoo.org>2019-07-25 17:30:48 -0700
commit70985feb3fc5e0dbb27fcd557fc2aae76e088017 (patch)
tree75e7f1aff638f47172cb1476d2acbbb37d425ea7 /dev-util/trace-cmd/files
parentdev-util/trace-cmd: Update 9999 to work with current git (diff)
downloadgentoo-70985feb3fc5e0dbb27fcd557fc2aae76e088017.tar.gz
gentoo-70985feb3fc5e0dbb27fcd557fc2aae76e088017.tar.bz2
gentoo-70985feb3fc5e0dbb27fcd557fc2aae76e088017.zip
dev-util/trace-cmd: Clean up old
Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-util/trace-cmd/files')
-rw-r--r--dev-util/trace-cmd/files/trace-cmd-2.7-makefile.patch36
-rw-r--r--dev-util/trace-cmd/files/trace-cmd-2.7-soname.patch13
2 files changed, 0 insertions, 49 deletions
diff --git a/dev-util/trace-cmd/files/trace-cmd-2.7-makefile.patch b/dev-util/trace-cmd/files/trace-cmd-2.7-makefile.patch
deleted file mode 100644
index a9d7584dc625..000000000000
--- a/dev-util/trace-cmd/files/trace-cmd-2.7-makefile.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/Makefile b/Makefile
-index a5d2c38..a99e5a4 100644
---- a/Makefile
-+++ b/Makefile
-@@ -63,7 +63,7 @@ python_dir = $(HOME)/.trace-cmd/python
- var_dir = $(HOME)/.trace-cmd/
- else
- plugin_dir = $(libdir)/trace-cmd/plugins
--python_dir = $(libdir)/trace-cmd/python
-+python_dir ?= $(libdir)/trace-cmd/python
- PLUGIN_DIR = -DPLUGIN_DIR="$(plugin_dir)"
- PYTHON_DIR = -DPYTHON_DIR="$(python_dir)"
- PLUGIN_DIR_SQ = '$(subst ','\'',$(PLUGIN_DIR))'
-@@ -119,8 +119,13 @@ endif # NO_PYTHON
- test-build = $(if $(shell sh -c 'echo "$(1)" | \
- $(CC) -o /dev/null -c -x c - > /dev/null 2>&1 && echo y'), $2)
-
-+ifndef NO_UDIS86
- # have udis86 disassembler library?
--udis86-flags := $(call test-build,\#include <udis86.h>,-DHAVE_UDIS86 -ludis86)
-+udis86-flags := -DHAVE_UDIS86
-+udis86-ldflags := -ludis86
-+else
-+udis86-flags := -UHAVE_UDIS86
-+endif # NO_UDIS86
-
- define BLK_TC_FLUSH_SOURCE
- #include <linux/blktrace_api.h>
-@@ -276,6 +281,7 @@ endif
- # Append required CFLAGS
- override CFLAGS += $(CONFIG_FLAGS) $(INCLUDES) $(PLUGIN_DIR_SQ) $(VAR_DIR)
- override CFLAGS += $(udis86-flags) $(blk-flags)
-+override LDFLAGS += $(udis86-ldflags)
-
- ifeq ($(VERBOSE),1)
- Q =
diff --git a/dev-util/trace-cmd/files/trace-cmd-2.7-soname.patch b/dev-util/trace-cmd/files/trace-cmd-2.7-soname.patch
deleted file mode 100644
index 937f0617a4a4..000000000000
--- a/dev-util/trace-cmd/files/trace-cmd-2.7-soname.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/Makefile b/Makefile
-index a5d2c38..588809e 100644
---- a/Makefile
-+++ b/Makefile
-@@ -308,7 +308,7 @@ do_app_build = \
-
- do_compile_shared_library = \
- ($(print_shared_lib_compile) \
-- $(CC) --shared $^ -o $@)
-+ $(CC) --shared $^ -Wl,-soname,$@ -o $@)
-
- do_compile_plugin_obj = \
- ($(print_plugin_obj_compile) \