Browse Source

Change fix for pentadactyl on palemoon

master
mid-kid 8 years ago
parent
commit
36759f23c3
  1. 10
      satellites/extrafiles/Pale-Moon/Pale-Moon-27.2.0-kinda-fix-segfault.patch
  2. 7
      satellites/palemoon.sat

10
satellites/extrafiles/Pale-Moon/Pale-Moon-27.2.0-kinda-fix-segfault.patch

@ -1,10 +0,0 @@
+++ js/src/jsarray.cpp
@@ -830,6 +830,8 @@
* a native object (possibly a slow array) that has indexed properties,
* return true.
*/
+ if (obj == (void *)1) break;
+
if (!obj->isNative())
return true;
if (obj->isIndexed())

7
satellites/palemoon.sat

@ -11,6 +11,8 @@ define_option 'pulseaudio: Build with support for PulseAudio'
dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \ dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Release/$name-${version}_Release.tar.gz" \
'd122a69ceaac94efeeb365fce39aa31f' 'd122a69ceaac94efeeb365fce39aa31f'
dlfile "https://github.com/MoonchildProductions/$name/commit/a8a31880a42f5283f30c6f670ce7da8940fe43a3.diff" \
'cfeaea882f7c958ca9702399494b9338'
( name=autoconf version="$version_autoconf" ( name=autoconf version="$version_autoconf"
dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \ dlextract "https://ftp.gnu.org/gnu/$name/$name-$version.tar.gz" \
'9de56d4a161a723228220b0f425dc711' '9de56d4a161a723228220b0f425dc711'
@ -20,7 +22,6 @@ dlextract "https://github.com/MoonchildProductions/$name/archive/${version}_Rele
'87c24a4090c1577ba817ec6882602491' '87c24a4090c1577ba817ec6882602491'
) )
extrafile 'palemoon.desktop' extrafile 'palemoon.desktop'
extrafile "$name-$version-kinda-fix-segfault.patch"
header_end header_end
( cd "autoconf-$version_autoconf" ( cd "autoconf-$version_autoconf"
@ -39,8 +40,8 @@ header_end
cd "$name-${version}_Release" cd "$name-${version}_Release"
# Circumvents segfault when loading pentadactyl # Circumvents segfault when loading pentadactyl (https://github.com/MoonchildProductions/Pale-Moon/issues/966)
patch -p0 -i "../$name-$version-kinda-fix-segfault.patch" patch -p1 -R -i ../a8a31880a42f5283f30c6f670ce7da8940fe43a3.diff
cat > .mozconfig << EOF cat > .mozconfig << EOF
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding. # Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.

Loading…
Cancel
Save