From 3567ca155eb4bcd7d7a426b0ed8c16a3b6c8e466 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 22 Feb 2020 13:25:42 +0000 Subject: Temp fix for libgit-0.99 --- .../0004-Type-fixes-work-new-libgit2.patch | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 sys-fs/netfs-gitfs/0004-Type-fixes-work-new-libgit2.patch (limited to 'sys-fs/netfs-gitfs') 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 +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 + -- cgit v1.2.3