summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-02-22 13:25:42 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-02-22 13:25:42 +0000
commit3567ca155eb4bcd7d7a426b0ed8c16a3b6c8e466 (patch)
tree22e25c45c63fc15e551ae6ffab13721b8b8cc42c /sys-fs
parentRemove lcov patches for gcc9, now upstream (diff)
downloadpatches-3567ca155eb4bcd7d7a426b0ed8c16a3b6c8e466.tar.bz2
patches-3567ca155eb4bcd7d7a426b0ed8c16a3b6c8e466.tar.xz
patches-3567ca155eb4bcd7d7a426b0ed8c16a3b6c8e466.zip
Temp fix for libgit-0.99
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/netfs-gitfs/0004-Type-fixes-work-new-libgit2.patch28
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
+