diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-16 13:07:24 +0100 |
commit | 0c100b7dd2b30e75b799d806df4ef899fd98e1ea (patch) | |
tree | 464c922e949c7e4d5d891fb2cdda5daee5612537 /www-apps/hugo/files/hugo-0.96.0-unbundle-libwebp-and-libsass.patch | |
parent | e68d405c5d712af4387159df07e226217bdda049 (diff) |
gentoo resync : 16.04.2022
Diffstat (limited to 'www-apps/hugo/files/hugo-0.96.0-unbundle-libwebp-and-libsass.patch')
-rw-r--r-- | www-apps/hugo/files/hugo-0.96.0-unbundle-libwebp-and-libsass.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/hugo/files/hugo-0.96.0-unbundle-libwebp-and-libsass.patch b/www-apps/hugo/files/hugo-0.96.0-unbundle-libwebp-and-libsass.patch new file mode 100644 index 000000000000..f9efee48cc48 --- /dev/null +++ b/www-apps/hugo/files/hugo-0.96.0-unbundle-libwebp-and-libsass.patch @@ -0,0 +1,44 @@ +From 0a44245bf6cfe103bb163f51f230eeccd69ab8c7 Mon Sep 17 00:00:00 2001 +From: tastytea <tastytea@tastytea.de> +Date: Tue, 29 Mar 2022 21:03:15 +0200 +Subject: [PATCH] Unbundle libwebp and libsass + +Use libwebp and libsass from the system instead of the bundled ones. +--- + .../github.com/bep/golibsass/internal/libsass/a__cgo.go | 8 ++++---- + vendor/github.com/bep/gowebp/internal/libwebp/a__cgo.go | 3 ++- + 2 files changed, 6 insertions(+), 5 deletions(-) + +diff --git a/vendor/github.com/bep/golibsass/internal/libsass/a__cgo.go b/vendor/github.com/bep/golibsass/internal/libsass/a__cgo.go +index af51b92..6b5e78b 100644 +--- a/vendor/github.com/bep/golibsass/internal/libsass/a__cgo.go ++++ b/vendor/github.com/bep/golibsass/internal/libsass/a__cgo.go +@@ -5,9 +5,9 @@ + // + package libsass + +-// #cgo CFLAGS: -O2 -fPIC +-// #cgo CPPFLAGS: -I../../libsass_src/include +-// #cgo CXXFLAGS: -g -std=c++0x -O2 -fPIC +-// #cgo LDFLAGS: -lstdc++ -lm ++// #cgo CFLAGS: -fPIC ++// #cgo CPPFLAGS: -DUSE_LIBSASS_SRC ++// #cgo CXXFLAGS: -std=c++0x -fPIC ++// #cgo LDFLAGS: -lstdc++ -lm -lsass + // #cgo darwin linux LDFLAGS: -ldl + import "C" +diff --git a/vendor/github.com/bep/gowebp/internal/libwebp/a__cgo.go b/vendor/github.com/bep/gowebp/internal/libwebp/a__cgo.go +index 4b105ab..33f429e 100644 +--- a/vendor/github.com/bep/gowebp/internal/libwebp/a__cgo.go ++++ b/vendor/github.com/bep/gowebp/internal/libwebp/a__cgo.go +@@ -2,5 +2,6 @@ + + package libwebp + +-// #cgo linux LDFLAGS: -lm ++// #cgo linux LDFLAGS: -lm -lwebp ++// #cgo CFLAGS: -DLIBWEBP_NO_SRC + import "C" +-- +2.35.1 + |