summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoyote <coyote@bks.tv>2017-09-04 18:22:22 +0300
committerMichael Palimaka <kensington@gentoo.org>2017-10-16 22:13:41 +1100
commit8d0bc939e335e51a0d595db992f081537fb9eb63 (patch)
tree3783477041ae918e4589f797399c9f66bebed29d /app-mobilephone/gammu/files
parentdev-python/www-authenticate: Initial version (diff)
downloadgentoo-8d0bc939e335e51a0d595db992f081537fb9eb63.tar.gz
gentoo-8d0bc939e335e51a0d595db992f081537fb9eb63.tar.bz2
gentoo-8d0bc939e335e51a0d595db992f081537fb9eb63.zip
app-mobilephone/gammu: bump version to 1.38.4
Switch to EAPI=6, exclude unneeded patches, fix automagic to ODBC. Closes: https://bugs.gentoo.org/608002
Diffstat (limited to 'app-mobilephone/gammu/files')
-rw-r--r--app-mobilephone/gammu/files/gammu-1.38.4-smsd.patch22
1 files changed, 22 insertions, 0 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
new file mode 100644
index 000000000000..cae4afbb6c51
--- /dev/null
+++ b/app-mobilephone/gammu/files/gammu-1.38.4-smsd.patch
@@ -0,0 +1,22 @@
+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);
+ }
+ }
+