diff options
-rw-r--r-- | sys-fs/netfs-gitfs/0004-Type-fixes-work-new-libgit2.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys-fs/netfs-gitfs/0004-Type-fixes-work-new-libgit2.patch b/sys-fs/netfs-gitfs/0004-Type-fixes-work-new-libgit2.patch new file mode 100644 index 0000000..569192c --- /dev/null +++ b/sys-fs/netfs-gitfs/0004-Type-fixes-work-new-libgit2.patch @@ -0,0 +1,28 @@ +From 413cc342466803f33bbb751e810d5eb7ef44ab43 Mon Sep 17 00:00:00 2001 +From: Dan Goodliffe <dan@randomdan.homeip.net> +Date: Sat, 22 Feb 2020 13:19:51 +0000 +Subject: [PATCH 4/4] Type fixes work new libgit2 + +--- + src/blob.cpp | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/src/blob.cpp b/src/blob.cpp +index 59e5f83..6311b31 100644 +--- a/src/blob.cpp ++++ b/src/blob.cpp +@@ -46,8 +46,10 @@ GitFS::Blob::fgetattr(ReqEnv, const ::Ice::Current&) + + + NetFS::Buffer +-GitFS::Blob::read(long long int offset, long long int size, const ::Ice::Current&) ++GitFS::Blob::read(long long int o, long long int s, const ::Ice::Current&) + { ++ const decltype(blobSize) offset(o); ++ const decltype(blobSize) size(s); + if (offset > blobSize) { + return {}; + } +-- +2.25.1 + |