summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/chromium/.md5sum2
-rw-r--r--extra/chromium/Pkgfile13
2 files changed, 9 insertions, 6 deletions
diff --git a/extra/chromium/.md5sum b/extra/chromium/.md5sum
index dca95d6c3..b14b598c8 100644
--- a/extra/chromium/.md5sum
+++ b/extra/chromium/.md5sum
@@ -1,4 +1,4 @@
-d82c448258c5e1d9f13cfe25578b4d4e chromium-5.0.375.113.tar.bz2
+1561473e598c58f19cd96669e950da2f chromium-5.0.375.123.tar.bz2
897de25e9c25a01f8b1b67abe554a6b7 chromium.desktop
93cd6f5f53b15546dc9d3de49118534c chromium.sh
dfbc18bb26dffa2dc6d4d3a857730902 drop_sse2.patch
diff --git a/extra/chromium/Pkgfile b/extra/chromium/Pkgfile
index 7e20840a6..bfe270f45 100644
--- a/extra/chromium/Pkgfile
+++ b/extra/chromium/Pkgfile
@@ -6,7 +6,7 @@
# Depends on: yasm, nss, gconf, alsa-lib, xdg-utils, hicolor-icon-theme, bzip2, libxss, libevent
name=chromium
-version=5.0.375.113
+version=5.0.375.123
release=1
source=(http://build.chromium.org/buildbot/official/$name-$version.tar.bz2 \
@@ -15,14 +15,17 @@ source=(http://build.chromium.org/buildbot/official/$name-$version.tar.bz2 \
build() {
-# Compilation des sources
+### Compilation des sources
cd $name-$version
### Patch
- patch -p1 -i$SRC/ffmpeg_branding_mime.patch
-# patch -p1 -i$SRC/drop_sse2.patch
- patch -p1 -i$SRC/libpng-1.4.patch
+ # workaround for gcc 4.5
+ # see http://code.google.com/p/chromium/issues/detail?id=41887
+ export CFLAGS="${CFLAGS} -fno-ipa-cp"
+ patch -p1 -i $SRC/ffmpeg_branding_mime.patch
+ [ "${CARCH}" == 'i686' ] && (patch -p1 -i $SRC/drop_sse2.patch)
+ patch -p1 -i $SRC/libpng-1.4.patch
### Configure
build/gyp_chromium -f make build/all.gyp --depth=. \