summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Menelkir2021-01-25 08:15:44 -0300
committerDaniel Menelkir2021-01-25 08:15:44 -0300
commit9414ecac3e972c623cd680e74eb1b863ec0ddf28 (patch)
treea0dfa0e2139ae2cd32719f889abeeb8b99a2ce11
parent5e601353515b9d64f56084ba7049c9431737c708 (diff)
downloadaur-9414ecac3e972c623cd680e74eb1b863ec0ddf28.tar.gz
deleted: g15daemon-1.9.5.3-config-write.patch
deleted: g15daemon-1.9.5.3-recv-oob-answer.patch deleted: g15daemon-1.9.5.3-uinput.patch
-rw-r--r--g15daemon-1.9.5.3-config-write.patch12
-rw-r--r--g15daemon-1.9.5.3-recv-oob-answer.patch11
-rw-r--r--g15daemon-1.9.5.3-uinput.patch35
3 files changed, 0 insertions, 58 deletions
diff --git a/g15daemon-1.9.5.3-config-write.patch b/g15daemon-1.9.5.3-config-write.patch
deleted file mode 100644
index 6f52d231f2e..00000000000
--- a/g15daemon-1.9.5.3-config-write.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Nuar g15daemon-1.9.5.3.orig/g15daemon/utility_funcs.c g15daemon-1.9.5.3/g15daemon/utility_funcs.c
---- g15daemon-1.9.5.3.orig/g15daemon/utility_funcs.c 2008-01-26 07:02:07.000000000 +0200
-+++ g15daemon-1.9.5.3/g15daemon/utility_funcs.c 2011-11-09 09:19:43.000000000 +0200
-@@ -356,7 +356,7 @@
- config_items_t * item=NULL;
- char line[1024];
-
-- config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC);
-+ config_fd = open(filename,O_CREAT|O_RDWR|O_TRUNC, 0644);
- if(config_fd){
- snprintf(line,1024,"# G15Daemon Configuration File\n# any items entered before a [section] header\n# will be in the Global config space\n# comments you wish to keep should start with a semicolon';'\n");
- write(config_fd,line,strlen(line));
diff --git a/g15daemon-1.9.5.3-recv-oob-answer.patch b/g15daemon-1.9.5.3-recv-oob-answer.patch
deleted file mode 100644
index adb4dccc444..00000000000
--- a/g15daemon-1.9.5.3-recv-oob-answer.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- g15daemon-1.9.5.3.orig/libg15daemon_client/g15daemon_net.c
-+++ g15daemon-1.9.5.3/libg15daemon_client/g15daemon_net.c
-@@ -217,7 +217,7 @@
- if(poll(pfd,1,100)>0){
- if(pfd[0].revents & POLLPRI && !(pfd[0].revents & POLLERR || pfd[0].revents & POLLHUP || pfd[0].revents & POLLNVAL)) {
- memset(packet,0,sizeof(packet));
-- msgret = recv(sock, packet, 10 , MSG_OOB);
-+ msgret = recv(sock, packet, sizeof(packet) , MSG_OOB);
- if (msgret < 1) {
- return -1;
- }
diff --git a/g15daemon-1.9.5.3-uinput.patch b/g15daemon-1.9.5.3-uinput.patch
deleted file mode 100644
index f91843281cd..00000000000
--- a/g15daemon-1.9.5.3-uinput.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Index: g15daemon-1.9.5.3/g15daemon/g15_plugin_uinput.c
-===================================================================
---- g15daemon-1.9.5.3/plugins/g15_plugin_uinput.c
-+++ g15daemon-1.9.5.3/plugins/g15_plugin_uinput.c
-@@ -125,6 +125,14 @@
- event.value = G15KEY_DOWN;
-
- write (uinp_fd, &event, sizeof(event));
-+
-+ /* Need to write sync event */
-+ memset(&event, 0, sizeof(event));
-+ event.type = EV_SYN;
-+ event.code = SYN_REPORT;
-+ event.value = 0;
-+ write(uinp_fd, &event, sizeof(event));
-+
- }
-
- static void g15_uinput_keyup(unsigned char code)
-@@ -137,6 +145,14 @@
- event.value = G15KEY_UP;
-
- write (uinp_fd, &event, sizeof(event));
-+
-+ /* Need to write sync event */
-+ memset(&event, 0, sizeof(event));
-+ event.type = EV_SYN;
-+ event.code = SYN_REPORT;
-+ event.value = 0;
-+ write(uinp_fd, &event, sizeof(event));
-+
- }
-
- void (*keyup)(unsigned char code) = &g15_uinput_keyup;
-