summaryrefslogtreecommitdiff
path: root/veracrypt/debian/patches/1001-port-to-libfuse3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'veracrypt/debian/patches/1001-port-to-libfuse3.patch')
-rw-r--r--veracrypt/debian/patches/1001-port-to-libfuse3.patch33
1 files changed, 11 insertions, 22 deletions
diff --git a/veracrypt/debian/patches/1001-port-to-libfuse3.patch b/veracrypt/debian/patches/1001-port-to-libfuse3.patch
index 5f2860e..d0b9565 100644
--- a/veracrypt/debian/patches/1001-port-to-libfuse3.patch
+++ b/veracrypt/debian/patches/1001-port-to-libfuse3.patch
@@ -3,32 +3,21 @@ From: Unit 193 <unit193@unit193.net>
Forwarded: https://github.com/veracrypt/VeraCrypt/issues/528
---
- src/Driver/Fuse/Driver.make | 2 +-
src/Driver/Fuse/FuseService.cpp | 26 +++++++++-----------------
- src/Main/Main.make | 2 +-
- 3 files changed, 11 insertions(+), 19 deletions(-)
+ src/Makefile | 2 +-
+ 2 files changed, 10 insertions(+), 18 deletions(-)
---- a/src/Main/Main.make
-+++ b/src/Main/Main.make
-@@ -102,7 +102,7 @@ endif
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -52,7 +52,7 @@ export LFLAGS :=
- #------ FUSE configuration ------
+ export PKG_CONFIG ?= pkg-config
+ export PKG_CONFIG_PATH ?= /usr/local/lib/pkgconfig
+-export VC_FUSE_PACKAGE := fuse
++export VC_FUSE_PACKAGE := fuse3
+ export VC_OSX_FUSET ?= 0
--FUSE_LIBS = $(shell $(PKG_CONFIG) fuse --libs)
-+FUSE_LIBS = $(shell $(PKG_CONFIG) fuse3 --libs)
-
- #------ Executable ------
-
---- a/src/Driver/Fuse/Driver.make
-+++ b/src/Driver/Fuse/Driver.make
-@@ -15,6 +15,6 @@ NAME := Driver
- OBJS :=
- OBJS += FuseService.o
-
--CXXFLAGS += $(shell $(PKG_CONFIG) fuse --cflags)
-+CXXFLAGS += $(shell $(PKG_CONFIG) fuse3 --cflags)
-
- include $(BUILD_INC)/Makefile.inc
+ export WX_CONFIG ?= wx-config
--- a/src/Driver/Fuse/FuseService.cpp
+++ b/src/Driver/Fuse/FuseService.cpp
@@ -13,7 +13,7 @@
bgstack15