aboutsummaryrefslogtreecommitdiff
path: root/www/firefox-esr/files/patch-third__party_sqlite3_src_moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'www/firefox-esr/files/patch-third__party_sqlite3_src_moz.build')
-rw-r--r--www/firefox-esr/files/patch-third__party_sqlite3_src_moz.build12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/firefox-esr/files/patch-third__party_sqlite3_src_moz.build b/www/firefox-esr/files/patch-third__party_sqlite3_src_moz.build
new file mode 100644
index 000000000000..8f1ed77f2be7
--- /dev/null
+++ b/www/firefox-esr/files/patch-third__party_sqlite3_src_moz.build
@@ -0,0 +1,12 @@
+--- third_party/sqlite3/src/moz.build.old 2021-08-09 16:08:59.381182000 -0500
++++ third_party/sqlite3/src/moz.build 2021-08-09 16:10:25.370954000 -0500
+@@ -92,7 +92,8 @@
+
+ # Enabling sqlite math functions
+ DEFINES['SQLITE_ENABLE_MATH_FUNCTIONS'] = True
+-if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "Android":
++if CONFIG["OS_TARGET"] == "Linux" or CONFIG["OS_TARGET"] == "Android" or \
++ CONFIG["OS_TARGET"] == "FreeBSD":
+ OS_LIBS += [
+ "m"
+ ]