diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-19 01:32:30 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2016-11-19 01:32:30 -0300 |
commit | f1af63ba6c3ffcc18c1a33066451905cffeb284e (patch) | |
tree | e3a607c8328e9fdbb33487d2aa88d310c0c5c156 /nonprism/icedove-hardened/firefox-gcc-6.0.patch | |
parent | ac18d429e0ccad247b95ddda051710ebfa26cb55 (diff) | |
download | abslibre-f1af63ba6c3ffcc18c1a33066451905cffeb284e.tar.gz abslibre-f1af63ba6c3ffcc18c1a33066451905cffeb284e.tar.bz2 abslibre-f1af63ba6c3ffcc18c1a33066451905cffeb284e.zip |
move hardened packages to [nonprism] -> https://lists.parabola.nu/pipermail/dev/2016-October/004563.html
Diffstat (limited to 'nonprism/icedove-hardened/firefox-gcc-6.0.patch')
-rw-r--r-- | nonprism/icedove-hardened/firefox-gcc-6.0.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nonprism/icedove-hardened/firefox-gcc-6.0.patch b/nonprism/icedove-hardened/firefox-gcc-6.0.patch new file mode 100644 index 000000000..0a74d3616 --- /dev/null +++ b/nonprism/icedove-hardened/firefox-gcc-6.0.patch @@ -0,0 +1,26 @@ +diff -up firefox-44.0/nsprpub/config/make-system-wrappers.pl.back firefox-44.0/nsprpub/config/make-system-wrappers.pl +--- firefox-44.0/nsprpub/config/make-system-wrappers.pl.back 2016-01-24 00:23:49.000000000 +0100 ++++ firefox-44.0/nsprpub/config/make-system-wrappers.pl 2016-02-02 14:58:45.064112655 +0100 +@@ -19,7 +19,9 @@ while (<STDIN>) { + open OUT, ">$output_dir/$_"; + print OUT "#pragma GCC system_header\n"; # suppress include_next warning + print OUT "#pragma GCC visibility push(default)\n"; ++ print OUT "#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n"; + print OUT "#include_next \<$_\>\n"; ++ print OUT "#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS\n"; + print OUT "#pragma GCC visibility pop\n"; + close OUT; + } +diff -up firefox-44.0/mozglue/build/arm.cpp.old firefox-44.0/mozglue/build/arm.cpp +--- firefox-44.0/mozglue/build/arm.cpp.old 2016-02-03 10:07:29.879526500 +0100 ++++ firefox-44.0/mozglue/build/arm.cpp 2016-02-03 10:08:11.062697517 +0100 +@@ -104,7 +104,9 @@ check_neon(void) + + # elif defined(__linux__) || defined(ANDROID) + # include <stdio.h> ++#define _GLIBCXX_INCLUDE_NEXT_C_HEADERS + # include <stdlib.h> ++#undef _GLIBCXX_INCLUDE_NEXT_C_HEADERS + # include <string.h> + + enum{ |