app-mobilephone/gammu: remove unused patch
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>
Thu, 29 Mar 2018 18:36:37 +0000 (20:36 +0200)
committerAaron Bauman <bman@gentoo.org>
Fri, 30 Mar 2018 02:31:52 +0000 (22:31 -0400)
Closes: https://github.com/gentoo/gentoo/pull/7699

app-mobilephone/gammu/files/gammu-1.38.4-smsd.patch [deleted file]

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 (file)
index cae4afb..0000000
+++ /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);
-         }
-     }
-