[arch-commits] Commit in afpfs-ng/repos (9 files)
Date: Tuesday, July 7, 2020 @ 21:25:22 Author: felixonmars Revision: 660410 archrelease: copy trunk to community-staging-x86_64 Added: afpfs-ng/repos/community-staging-x86_64/ afpfs-ng/repos/community-staging-x86_64/01-gcrypt.patch (from rev 660407, afpfs-ng/trunk/01-gcrypt.patch) afpfs-ng/repos/community-staging-x86_64/02-pointer.patch (from rev 660407, afpfs-ng/trunk/02-pointer.patch) afpfs-ng/repos/community-staging-x86_64/10-fix-errno.patch (from rev 660407, afpfs-ng/trunk/10-fix-errno.patch) afpfs-ng/repos/community-staging-x86_64/20-build-error-fixes.patch (from rev 660407, afpfs-ng/trunk/20-build-error-fixes.patch) afpfs-ng/repos/community-staging-x86_64/21-header-path-fix.patch (from rev 660407, afpfs-ng/trunk/21-header-path-fix.patch) afpfs-ng/repos/community-staging-x86_64/30-include-fixes.patch (from rev 660408, afpfs-ng/trunk/30-include-fixes.patch) afpfs-ng/repos/community-staging-x86_64/PKGBUILD (from rev 660408, afpfs-ng/trunk/PKGBUILD) afpfs-ng/repos/community-staging-x86_64/fix_afpfs-ng_includes.patch (from rev 660408, afpfs-ng/trunk/fix_afpfs-ng_includes.patch) -+ 01-gcrypt.patch | 26 02-pointer.patch| 280 +++ 10-fix-errno.patch | 23 20-build-error-fixes.patch | 125 + 21-header-path-fix.patch| 16 30-include-fixes.patch | 44 PKGBUILD| 66 fix_afpfs-ng_includes.patch | 3082 ++ 8 files changed, 3662 insertions(+) Copied: afpfs-ng/repos/community-staging-x86_64/01-gcrypt.patch (from rev 660407, afpfs-ng/trunk/01-gcrypt.patch) === --- community-staging-x86_64/01-gcrypt.patch(rev 0) +++ community-staging-x86_64/01-gcrypt.patch2020-07-07 21:25:22 UTC (rev 660410) @@ -0,0 +1,26 @@ +diff -ru afpfs-ng-0.8.1/configure.ac afpfs-ng-0.8.1+iPhone/configure.ac +--- afpfs-ng-0.8.1/configure.ac2008-03-08 16:23:12.0 + afpfs-ng-0.8.1+iPhone/configure.ac 2010-10-24 05:26:15.0 + +@@ -50,21 +50,6 @@ + case $host in + *-*-darwin*) + AC_MSG_CHECKING([for correct gcrypt version]) +- AC_RUN_IFELSE( +- [AC_LANG_PROGRAM([ +- #include +- #include ],[ +- char*p= GCRYPT_VERSION; +- unsigned int vers; +- vers=atoi(p)*1; +- p=strchr(p,'.')+1; +- vers+=atoi(p)*100; +- p=strchr(p,'.')+1; +- vers+=atoi(p); +- if (vers<10400) return 1; +- ])], +- [AC_MSG_RESULT([yes])], +- [AC_MSG_ERROR([version is < 1.4.0])]) + AM_CONDITIONAL(HAVE_LIBGCRYPT, true) + AC_DEFINE([HAVE_LIBGCRYPT], [1] ) + ;; + Copied: afpfs-ng/repos/community-staging-x86_64/02-pointer.patch (from rev 660407, afpfs-ng/trunk/02-pointer.patch) === --- community-staging-x86_64/02-pointer.patch (rev 0) +++ community-staging-x86_64/02-pointer.patch 2020-07-07 21:25:22 UTC (rev 660410) @@ -0,0 +1,280 @@ +diff -up afpfs-ng-0.8.1/cmdline/getstatus.c.pointer afpfs-ng-0.8.1/cmdline/getstatus.c +--- afpfs-ng-0.8.1/cmdline/getstatus.c.pointer 2011-06-14 17:06:35.0 +0200 afpfs-ng-0.8.1/cmdline/getstatus.c 2011-06-14 17:07:25.0 +0200 +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include + +diff -up afpfs-ng-0.8.1/fuse/client.c.pointer afpfs-ng-0.8.1/fuse/client.c +--- afpfs-ng-0.8.1/fuse/client.c.pointer 2008-03-08 03:44:16.0 +0100 afpfs-ng-0.8.1/fuse/client.c 2011-06-14 17:02:15.0 +0200 +@@ -61,8 +61,9 @@ static int start_afpfsd(void) + snprintf(filename, PATH_MAX, + "/usr/local/bin/%s",AFPFSD_FILENAME); + if (access(filename,X_OK)) { +- snprintf(filename, "/usr/bin/%s", ++ snprintf(filename, sizeof(filename), "/usr/bin/%s", + AFPFSD_FILENAME); ++ filename[sizeof(filename) - 1] = 0; + if (access(filename,X_OK)) { + printf("Could not find server (%s)\n", + filename); +diff -up afpfs-ng-0.8.1/fuse/fuse_int.c.pointer afpfs-ng-0.8.1/fuse/fuse_int.c +--- afpfs-ng-0.8.1/fuse/fuse_int.c.pointer 2008-03-02 06:06:24.0 +0100 afpfs-ng-0.8.1/fuse/fuse_int.c 2011-06-14 17:02:15.0 +0200
[arch-commits] Commit in afpfs-ng/repos (9 files)
Date: Friday, January 11, 2019 @ 07:21:05 Author: felixonmars Revision: 47 archrelease: copy trunk to community-staging-x86_64 Added: afpfs-ng/repos/community-staging-x86_64/ afpfs-ng/repos/community-staging-x86_64/01-gcrypt.patch (from rev 42, afpfs-ng/trunk/01-gcrypt.patch) afpfs-ng/repos/community-staging-x86_64/02-pointer.patch (from rev 42, afpfs-ng/trunk/02-pointer.patch) afpfs-ng/repos/community-staging-x86_64/10-fix-errno.patch (from rev 42, afpfs-ng/trunk/10-fix-errno.patch) afpfs-ng/repos/community-staging-x86_64/20-build-error-fixes.patch (from rev 43, afpfs-ng/trunk/20-build-error-fixes.patch) afpfs-ng/repos/community-staging-x86_64/21-header-path-fix.patch (from rev 43, afpfs-ng/trunk/21-header-path-fix.patch) afpfs-ng/repos/community-staging-x86_64/30-include-fixes.patch (from rev 43, afpfs-ng/trunk/30-include-fixes.patch) afpfs-ng/repos/community-staging-x86_64/PKGBUILD (from rev 43, afpfs-ng/trunk/PKGBUILD) afpfs-ng/repos/community-staging-x86_64/fix_afpfs-ng_includes.patch (from rev 43, afpfs-ng/trunk/fix_afpfs-ng_includes.patch) -+ 01-gcrypt.patch | 26 02-pointer.patch| 280 +++ 10-fix-errno.patch | 23 20-build-error-fixes.patch | 125 + 21-header-path-fix.patch| 16 30-include-fixes.patch | 44 PKGBUILD| 62 fix_afpfs-ng_includes.patch | 3082 ++ 8 files changed, 3658 insertions(+) Copied: afpfs-ng/repos/community-staging-x86_64/01-gcrypt.patch (from rev 42, afpfs-ng/trunk/01-gcrypt.patch) === --- community-staging-x86_64/01-gcrypt.patch(rev 0) +++ community-staging-x86_64/01-gcrypt.patch2019-01-11 07:21:05 UTC (rev 47) @@ -0,0 +1,26 @@ +diff -ru afpfs-ng-0.8.1/configure.ac afpfs-ng-0.8.1+iPhone/configure.ac +--- afpfs-ng-0.8.1/configure.ac2008-03-08 16:23:12.0 + afpfs-ng-0.8.1+iPhone/configure.ac 2010-10-24 05:26:15.0 + +@@ -50,21 +50,6 @@ + case $host in + *-*-darwin*) + AC_MSG_CHECKING([for correct gcrypt version]) +- AC_RUN_IFELSE( +- [AC_LANG_PROGRAM([ +- #include +- #include ],[ +- char*p= GCRYPT_VERSION; +- unsigned int vers; +- vers=atoi(p)*1; +- p=strchr(p,'.')+1; +- vers+=atoi(p)*100; +- p=strchr(p,'.')+1; +- vers+=atoi(p); +- if (vers<10400) return 1; +- ])], +- [AC_MSG_RESULT([yes])], +- [AC_MSG_ERROR([version is < 1.4.0])]) + AM_CONDITIONAL(HAVE_LIBGCRYPT, true) + AC_DEFINE([HAVE_LIBGCRYPT], [1] ) + ;; + Copied: afpfs-ng/repos/community-staging-x86_64/02-pointer.patch (from rev 42, afpfs-ng/trunk/02-pointer.patch) === --- community-staging-x86_64/02-pointer.patch (rev 0) +++ community-staging-x86_64/02-pointer.patch 2019-01-11 07:21:05 UTC (rev 47) @@ -0,0 +1,280 @@ +diff -up afpfs-ng-0.8.1/cmdline/getstatus.c.pointer afpfs-ng-0.8.1/cmdline/getstatus.c +--- afpfs-ng-0.8.1/cmdline/getstatus.c.pointer 2011-06-14 17:06:35.0 +0200 afpfs-ng-0.8.1/cmdline/getstatus.c 2011-06-14 17:07:25.0 +0200 +@@ -1,4 +1,5 @@ + #include ++#include + #include + #include + +diff -up afpfs-ng-0.8.1/fuse/client.c.pointer afpfs-ng-0.8.1/fuse/client.c +--- afpfs-ng-0.8.1/fuse/client.c.pointer 2008-03-08 03:44:16.0 +0100 afpfs-ng-0.8.1/fuse/client.c 2011-06-14 17:02:15.0 +0200 +@@ -61,8 +61,9 @@ static int start_afpfsd(void) + snprintf(filename, PATH_MAX, + "/usr/local/bin/%s",AFPFSD_FILENAME); + if (access(filename,X_OK)) { +- snprintf(filename, "/usr/bin/%s", ++ snprintf(filename, sizeof(filename), "/usr/bin/%s", + AFPFSD_FILENAME); ++ filename[sizeof(filename) - 1] = 0; + if (access(filename,X_OK)) { + printf("Could not find server (%s)\n", + filename); +diff -up afpfs-ng-0.8.1/fuse/fuse_int.c.pointer afpfs-ng-0.8.1/fuse/fuse_int.c +--- afpfs-ng-0.8.1/fuse/fuse_int.c.pointer 2008-03-02 06:06:24.0 +0100 afpfs-ng-0.8.1/fuse/fuse_int.c 2011-06-14 17:02:15.0