summaryrefslogtreecommitdiff
path: root/debian/patches/0001-Rename-intercept-interception.patch
blob: 9eb5fd50c2053cb31e3ec3395c45e4d721a792c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From 3b0dac2200060d7e2887e326d9f7936c82ebb52c Mon Sep 17 00:00:00 2001
From: Osamu Aoki <osamu@debian.org>
Date: Tue, 2 Aug 2022 01:45:37 +0900
Subject: [PATCH 1/1] Rename: intercept -> interception

Binary executable name is renamed to avoid collision with bear
package: intercept -> interception

Signed-off-by: Osamu Aoki <osamu@debian.org>
---
 CMakeLists.txt | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index af5fd82..efd5a8f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,10 +13,10 @@ target_include_directories(udevmon PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
 target_compile_options(udevmon PRIVATE -Wall -Wextra -pedantic -std=c++11)
 target_link_libraries(udevmon evdev udev yaml-cpp)
 
-add_executable(intercept intercept.c)
-target_include_directories(intercept PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
-target_compile_options(intercept PRIVATE -Wall -Wextra)
-target_link_libraries(intercept evdev)
+add_executable(interception intercept.c)
+target_include_directories(interception PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
+target_compile_options(interception PRIVATE -Wall -Wextra)
+target_link_libraries(interception evdev)
 
 add_executable(uinput uinput.cpp)
 target_include_directories(uinput PRIVATE ${LIBEVDEV_INCLUDE_DIRS})
@@ -29,6 +29,6 @@ target_compile_options(mux PRIVATE -Wall -Wextra -pedantic -std=c++11 -DBOOST_DA
 target_link_libraries(mux Threads::Threads rt)
 
 install(TARGETS udevmon RUNTIME DESTINATION bin)
-install(TARGETS intercept RUNTIME DESTINATION bin)
+install(TARGETS interception RUNTIME DESTINATION bin)
 install(TARGETS uinput RUNTIME DESTINATION bin)
 install(TARGETS mux RUNTIME DESTINATION bin)
-- 
2.35.1