summaryrefslogtreecommitdiff
path: root/graphics/guetzli/files/patch-guetzli.make
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2017-03-21 21:03:48 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2017-03-21 21:03:48 +0000
commitcc047104e07b17a5bf28ad1951fbdc27772c8c6d (patch)
treebcc8dc2c2505f862a31e6790ab698d76194e86e1 /graphics/guetzli/files/patch-guetzli.make
parentNew port: sysutils/lsop (diff)
New port: graphics/guetzli
Guetzli is a JPEG encoder that aims for excellent compression density at high visual quality. Guetzli-generated images are typically 20-30% smaller than images of equivalent quality generated by libjpeg. Guetzli generates only sequential (nonprogressive) JPEGs due to faster decompression speeds they offer. WWW: https://github.com/google/guetzli PR: 217872 Approved by: lme (mentor) Submitted by: Yuri Victorovich <yuri@rawbw.com> Differential Revision: https://reviews.freebsd.org/D10074
Diffstat (limited to 'graphics/guetzli/files/patch-guetzli.make')
-rw-r--r--graphics/guetzli/files/patch-guetzli.make20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/guetzli/files/patch-guetzli.make b/graphics/guetzli/files/patch-guetzli.make
new file mode 100644
index 000000000000..714e6a3c2e42
--- /dev/null
+++ b/graphics/guetzli/files/patch-guetzli.make
@@ -0,0 +1,20 @@
+--- guetzli.make.orig 2017-03-21 19:09:12 UTC
++++ guetzli.make
+@@ -19,8 +19,8 @@ ifeq ($(config),release)
+ INCLUDES += -I. -Ithird_party/butteraugli
+ FORCE_INCLUDE +=
+ ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
+- ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O3 -g `pkg-config --cflags libpng`
+- ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O3 -g -std=c++11 `pkg-config --cflags libpng`
++ ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) `pkg-config --cflags libpng`
++ ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -std=c++11 `pkg-config --cflags libpng`
+ ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
+ LIBS +=
+ LDDEPS +=
+@@ -210,4 +210,4 @@ $(OBJDIR)/butteraugli.o: third_party/butteraugli/butte
+ -include $(OBJECTS:%.o=%.d)
+ ifneq (,$(PCH))
+ -include $(OBJDIR)/$(notdir $(PCH)).d
+-endif
+\ No newline at end of file
++endif