From 8f72976db1311f5de6d4916f4db0058346e0f727 Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 30 Jan 2019 15:42:32 -0500 Subject: add freefilesync dpkg rough draft --- freefilesync/debian/patches/makefile.patch | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 freefilesync/debian/patches/makefile.patch (limited to 'freefilesync/debian/patches/makefile.patch') diff --git a/freefilesync/debian/patches/makefile.patch b/freefilesync/debian/patches/makefile.patch new file mode 100644 index 0000000..b3ff7ff --- /dev/null +++ b/freefilesync/debian/patches/makefile.patch @@ -0,0 +1,32 @@ +diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/Makefile 10.3-2/FreeFileSync/Source/Makefile +--- 10.3-0/FreeFileSync/Source/Makefile 2018-08-07 05:03:33.000000000 -0400 ++++ 10.3-2/FreeFileSync/Source/Makefile 2018-08-15 22:25:06.694355202 -0400 +@@ -9,7 +9,7 @@ + -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wshadow -Wnon-virtual-dtor \ + -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread + +-LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -pthread ++LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -lz -pthread + + #Gtk - support recycler/icon loading/no button border/grid scrolling + CXXFLAGS += `pkg-config --cflags gtk+-2.0` +@@ -101,6 +101,7 @@ + all: ../Build/Bin/$(APPNAME) + + ../Build/Bin/$(APPNAME): $(OBJ_FILES) ++ mkdir -p ../Build/Bin + g++ -o $@ $^ $(LINKFLAGS) + + ../Obj/FFS_GCC_Make_Release/ffs/src/%.o : % +diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/RealTimeSync/Makefile 10.3-2/FreeFileSync/Source/RealTimeSync/Makefile +--- 10.3-0/FreeFileSync/Source/RealTimeSync/Makefile 2018-08-07 05:03:33.000000000 -0400 ++++ 10.3-2/FreeFileSync/Source/RealTimeSync/Makefile 2018-08-15 22:25:15.968461418 -0400 +@@ -6,7 +6,7 @@ + -Wall -Wfatal-errors -Wmissing-include-dirs -Wswitch-enum -Wcast-align -Wshadow -Wnon-virtual-dtor \ + -O3 -DNDEBUG `wx-config --cxxflags --debug=no` -pthread + +-LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -pthread ++LINKFLAGS = -s -no-pie `wx-config --libs std, aui --debug=no` -lz -pthread + + #Gtk - support "no button border" + CXXFLAGS += `pkg-config --cflags gtk+-2.0` -- cgit