diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xsetleds/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xsetleds/files')
-rw-r--r-- | x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch | 11 | ||||
-rw-r--r-- | x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch | 13 |
2 files changed, 24 insertions, 0 deletions
diff --git a/x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch b/x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch new file mode 100644 index 000000000000..bc929813a3fc --- /dev/null +++ b/x11-misc/xsetleds/files/xsetleds-0.1.3-assignment.patch @@ -0,0 +1,11 @@ +--- a/src/utils.c ++++ b/src/utils.c +@@ -38,7 +38,7 @@ + { + const char *p; + +- if (p = strrchr (filename, '/')) ++ if ((p = strrchr (filename, '/'))) + p = strrchr (filename, '/') + 1; + else + p = filename; diff --git a/x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch b/x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch new file mode 100644 index 000000000000..b256bdb2da66 --- /dev/null +++ b/x11-misc/xsetleds/files/xsetleds-0.1.3-isalpha.patch @@ -0,0 +1,13 @@ +--- a/src/xsetleds.c ++++ b/src/xsetleds.c +@@ -29,8 +29,9 @@ + #include <string.h> + #include <stdlib.h> + #include <stdarg.h> ++#include <ctype.h> /* isalpha() */ + +-#include <xsetleds.h> ++#include "xsetleds.h" + + + struct key keytab[] = { |