summaryrefslogtreecommitdiffhomepage
path: root/patches/zstd-1.3.4.local.patch
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz <lucio@lucioillanes.de>2020-03-28 12:32:38 +0100
committerGitHub <noreply@github.com>2020-03-28 12:32:38 +0100
commitbf34ddedf11f450ddb296b06baf42830bcc7ca7b (patch)
tree3ca0e6ab98059d3c9c710699536a48b3e83bc7e4 /patches/zstd-1.3.4.local.patch
parent35a2faf07e9ad3ff232b2c2023103f0ac67a304f (diff)
parent0c01fac9809d4ebee67eaf74f90435daa4ba0c4f (diff)
downloadmidipix_build-bf34ddedf11f450ddb296b06baf42830bcc7ca7b.tar.bz2
midipix_build-bf34ddedf11f450ddb296b06baf42830bcc7ca7b.tar.xz
Merge pull request #15 from duvallj/master
Various fixes for various -L flags, other build errors
Diffstat (limited to 'patches/zstd-1.3.4.local.patch')
-rw-r--r--patches/zstd-1.3.4.local.patch15
1 files changed, 13 insertions, 2 deletions
diff --git a/patches/zstd-1.3.4.local.patch b/patches/zstd-1.3.4.local.patch
index 10723d67..40e5250d 100644
--- a/patches/zstd-1.3.4.local.patch
+++ b/patches/zstd-1.3.4.local.patch
@@ -1,5 +1,6 @@
---- zstd-1.3.4/programs/Makefile.orig 2018-03-26 22:19:34.000000000 +0000
-+++ zstd-1.3.4/programs/Makefile 2018-04-30 14:55:39.468000000 +0000
+diff -ru a/programs/Makefile b/programs/Makefile
+--- a/programs/Makefile 2018-03-26 22:19:34.000000000 +0000
++++ b/programs/Makefile 2018-04-30 14:55:39.468000000 +0000
@@ -38,7 +38,6 @@
CPPFLAGS+= -I$(ZSTDDIR) -I$(ZSTDDIR)/common -I$(ZSTDDIR)/compress \
-I$(ZSTDDIR)/dictBuilder \
@@ -8,3 +9,13 @@
DEBUGFLAGS+=-Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
-Wstrict-aliasing=1 -Wswitch-enum -Wdeclaration-after-statement \
-Wstrict-prototypes -Wundef -Wpointer-arith -Wformat-security \
+diff -ru a/lib/libzstd.pc.in b/lib/libzstd.pc.in
+--- a/lib/libzstd.pc.in 2020-03-27 11:36:13.368590549 -0400
++++ b/lib/libzstd.pc.in 2020-03-27 11:36:28.362034466 -0400
+@@ -10,5 +10,5 @@
+ Description: fast lossless compression algorithm library
+ URL: http://www.zstd.net/
+ Version: @VERSION@
+-Libs: -L${libdir} -lzstd
++Libs: -lzstd
+ Cflags: -I${includedir}