From 1bb066253efc26372d76d3cf53d35c41e406a8c5 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.eu>
Date: Tue, 22 Nov 2016 19:53:55 +0100
Subject: [PATCH] thunderbird: update to 45.5.0.

---
 srcpkgs/thunderbird/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/thunderbird/template b/srcpkgs/thunderbird/template
index 9ffca702b4..d0b4d641ff 100644
--- a/srcpkgs/thunderbird/template
+++ b/srcpkgs/thunderbird/template
@@ -1,13 +1,13 @@
 # Template build file for 'thunderbird'.
 pkgname=thunderbird
-version=45.4.0
+version=45.5.0
 revision=1
 short_desc="Standalone Mail/News reader"
 maintainer="Enno Boland <gottox@voidlinux.eu>"
 homepage="http://www.mozilla.org/thunderbird/"
 license="MPL-2.0, GPL-2, LGPL-2.1"
 distfiles="${MOZILLA_SITE}/${pkgname}/releases/${version}/source/${pkgname}-${version}.source.tar.xz"
-checksum=36f66edbb9b0f1ff9d0de8f12eab6cccbfa23db79e01db307fb2186904a38e61
+checksum=9571dee75d14cab3533e09599b2c183624f159cf8ae623f01ca6dc69eb846082
 
 nopie=yes
 lib32disabled=yes
@@ -22,7 +22,7 @@ makedepends="
  libSM-devel libXScrnSaver-devel libXt-devel libXdamage-devel"
 depends="desktop-file-utils hicolor-icon-theme"
 
-if [ ${XBPS_GCC_VERSION_MAJOR} -gt 5 ]; then
+if [ "${XBPS_GCC_VERSION_MAJOR}" -gt 5 ]; then
         # Append CFLAGS and CXXFLAGS to set work around code which gcc6 would
         # otherwise regard as out-of-specification and allow it to produce a
         # working program.