summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/makefile.patch
diff options
context:
space:
mode:
authorB Stack <bgstack15@gmail.com>2019-02-02 01:51:22 +0000
committerB Stack <bgstack15@gmail.com>2019-02-02 01:51:22 +0000
commit3c02a73c7f94cf91635b4ff736501e3d52265838 (patch)
tree47b224ccd882ec12a932ad77732704ea082eed65 /freefilesync/debian/patches/makefile.patch
parentadd palemoon dpkg for devuan (diff)
parentadd freefilesync dpkg rough draft (diff)
downloadstackrpms-3c02a73c7f94cf91635b4ff736501e3d52265838.tar.gz
stackrpms-3c02a73c7f94cf91635b4ff736501e3d52265838.tar.bz2
stackrpms-3c02a73c7f94cf91635b4ff736501e3d52265838.zip
Merge branch 'freefilesync-dpkg' into 'master'
freefilesync dpkg for devuan See merge request bgstack15/stackrpms!33
Diffstat (limited to 'freefilesync/debian/patches/makefile.patch')
-rw-r--r--freefilesync/debian/patches/makefile.patch32
1 files changed, 32 insertions, 0 deletions
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`
bgstack15