summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-third__party_pdfium_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-third__party_pdfium_BUILD.gn')
-rw-r--r--www/iridium/files/patch-third__party_pdfium_BUILD.gn11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-third__party_pdfium_BUILD.gn b/www/iridium/files/patch-third__party_pdfium_BUILD.gn
new file mode 100644
index 000000000000..b14844a92bb9
--- /dev/null
+++ b/www/iridium/files/patch-third__party_pdfium_BUILD.gn
@@ -0,0 +1,11 @@
+--- third_party/pdfium/BUILD.gn.orig 2017-04-19 19:07:49 UTC
++++ third_party/pdfium/BUILD.gn
+@@ -65,7 +65,7 @@ config("pdfium_core_config") {
+ cflags = []
+ configs = [ ":pdfium_common_config" ]
+ defines = [ "V8_DEPRECATION_WARNINGS" ]
+- if (is_linux) {
++ if (is_linux || is_bsd) {
+ if (current_cpu == "x64") {
+ defines += [ "_FX_CPU_=_FX_X64_" ]
+ cflags += [ "-fPIC" ]