summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-mobilephone/gammu/files/gammu-1.38.4-smsd.patch')
-rw-r--r--app-mobilephone/gammu/files/gammu-1.38.4-smsd.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/app-mobilephone/gammu/files/gammu-1.38.4-smsd.patch b/app-mobilephone/gammu/files/gammu-1.38.4-smsd.patch
deleted file mode 100644
index cae4afbb6c5..00000000000
--- a/app-mobilephone/gammu/files/gammu-1.38.4-smsd.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -BurpN gammu-1.36.8.orig/smsd/uid.c gammu-1.38.4/smsd/uid.c
---- gammu-1.38.4.orig/smsd/uid.c 2017-06-18 14:33:32.000000000 +0300
-+++ gammu-1.38.4/smsd/uid.c 2017-10-10 01:48:20.696098522 +0300
-@@ -54,7 +54,7 @@
- if (pwd == NULL) {
- /* Try to handle it as a number */
- uid = strtol(name, &endptr, 10);
-- if (*endptr == 0 && uid > 0) {
-+ if (*endptr == 0 && uid >= 0) {
- pwd = getpwuid(uid);
- }
- }
-@@ -85,7 +85,7 @@
- /* Try to handle it as a number */
- if (grp == NULL) {
- gid = strtol(name, &endptr, 10);
-- if (*endptr == 0 && gid > 0) {
-+ if (*endptr == 0 && gid >= 0) {
- grp = getgrgid(gid);
- }
- }
-