summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rw-r--r--extra/dmidecode/PKGBUILD8
-rw-r--r--extra/llvm/PKGBUILD33
-rw-r--r--extra/llvm/clang-3.2-fix-std-thread-with-libstdc++.patch17
-rw-r--r--extra/smartmontools/PKGBUILD5
-rw-r--r--extra/wcslib/PKGBUILD10
-rw-r--r--extra/xfce4-notifyd/PKGBUILD10
6 files changed, 57 insertions, 26 deletions
diff --git a/extra/dmidecode/PKGBUILD b/extra/dmidecode/PKGBUILD
index 6f5e9ceba..3c5fe030d 100644
--- a/extra/dmidecode/PKGBUILD
+++ b/extra/dmidecode/PKGBUILD
@@ -1,17 +1,17 @@
-# $Id: PKGBUILD 143727 2011-11-28 17:28:42Z giovanni $
+# $Id: PKGBUILD 183308 2013-04-21 10:54:50Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=dmidecode
-pkgver=2.11
-pkgrel=2
+pkgver=2.12
+pkgrel=1
pkgdesc="Desktop Management Interface table related utilities"
arch=('i686' 'x86_64')
url="http://www.nongnu.org/dmidecode"
license=('GPL')
depends=('glibc')
source=("http://download.savannah.nongnu.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('535487cc041f2db746587cf40a2059f0')
+md5sums=('a406f3cbb27736491698697beeddb781')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
diff --git a/extra/llvm/PKGBUILD b/extra/llvm/PKGBUILD
index d1642a983..b354261ca 100644
--- a/extra/llvm/PKGBUILD
+++ b/extra/llvm/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 176908 2013-02-02 12:44:44Z foutrelis $
+# $Id: PKGBUILD 183300 2013-04-20 23:37:12Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: Sebastian Nowicki <sebnow@gmail.com>
@@ -11,7 +11,7 @@
pkgname=('llvm' 'llvm-ocaml' 'clang' 'clang-analyzer')
pkgver=3.2
-pkgrel=5
+pkgrel=6
arch=('i686' 'x86_64')
url="http://llvm.org/"
license=('custom:University of Illinois/NCSA Open Source License')
@@ -24,8 +24,9 @@ source=(http://llvm.org/releases/$pkgver/$pkgname-$pkgver.src.tar.gz
cindexer-clang-path.patch
enable-lto.patch
llvm-3.1-fix-debug-line-info.patch
+ clang-3.2-fix-std-thread-with-libstdc++.patch
clang-3.1-fix-libprofile_rt.a-location.patch)
-sha256sums=('378f9ed7126409785aa399bf367762753dbda563b60612dae1a92d5263ab8130'
+sha256sums=('125090c4d26740f1d5e9838477c931ed7d9ad70d599ba265f46f3a42cb066343'
'2aaaf03f7c0f6b16fe97ecc81247dc2bf2d4bec7620a77cc74670b7e07ff5658'
'a9a6b73a1bd5fc763f3b3826a6ce796cb150042d37d319e06e72d3d9778aaac1'
'312574e655f9a87784ca416949c505c452b819fad3061f2cde8aced6540a19a3'
@@ -33,18 +34,17 @@ sha256sums=('378f9ed7126409785aa399bf367762753dbda563b60612dae1a92d5263ab8130'
'3074df5322900e087377a8e03a02115463ccc0011c25917c2f06df11facd9b92'
'fe3969d9ec93263814d9892a15b6a1eb60ad756fe7c3985a45d8cd82bc9b7a7b'
'db1f1aadebbc4c4232bdad49fb9b7dc61eac727085c63154b870fa9ce64fd18d'
+ '02b2c0fd29bc165140eb4524700254bfdd88369706719acb3f3be3134f1e67e8'
'0d32ad283566357ca1bfbeb4cbe6b0b961943b79d3d718ed0435101c05629137')
-build() {
+prepare() {
cd "$srcdir/$pkgname-$pkgver.src"
# At the present, clang must reside inside the LLVM source code tree to build
# See http://llvm.org/bugs/show_bug.cgi?id=4840
- rm -rf tools/clang
- cp -r "$srcdir/clang-$pkgver.src" tools/clang
+ mv "$srcdir/clang-$pkgver.src" tools/clang
- rm -rf projects/compiler-rt
- cp -r "$srcdir/compiler-rt-$pkgver.src" projects/compiler-rt
+ mv "$srcdir/compiler-rt-$pkgver.src" projects/compiler-rt
# Fix symbolic links from OCaml bindings to LLVM libraries
sed -i 's:\$(PROJ_libdir):/usr/lib/llvm:' bindings/ocaml/Makefile.ocaml
@@ -70,6 +70,11 @@ build() {
# Use gold instead of default linker, and always use the plugin
patch -d tools/clang -Np0 -i "$srcdir/enable-lto.patch"
+ # Fix FS#34861: crash on apps built using C++11's std::thread
+ # http://llvm.org/bugs/show_bug.cgi?id=12730
+ patch -d tools/clang -Np2 -i \
+ "$srcdir/clang-3.2-fix-std-thread-with-libstdc++.patch"
+
# Fix FS#29984: [clang] -coverage is broken
patch -d tools/clang -Np1 -i \
"$srcdir/clang-3.1-fix-libprofile_rt.a-location.patch"
@@ -81,16 +86,22 @@ build() {
# Drop "svn" suffix from version string
sed -i 's/3\.2svn/3.2/g' configure
+ # Prepare Python 2 override
+ mkdir "$srcdir/python2-path"
+ ln -s /usr/bin/python2 "$srcdir/python2-path/python"
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver.src"
+
# Apply strip option to configure
_optimized_switch="enable"
[[ $(check_option strip) == n ]] && _optimized_switch="disable"
# Include location of libffi headers in CPPFLAGS
- export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags libffi)"
+ CPPFLAGS+=" $(pkg-config --cflags libffi)"
# Use Python 2
- mkdir "$srcdir/python2-path"
- ln -s /usr/bin/python2 "$srcdir/python2-path/python"
export PATH="$srcdir/python2-path:$PATH"
# Force the use of GCC instead of clang
diff --git a/extra/llvm/clang-3.2-fix-std-thread-with-libstdc++.patch b/extra/llvm/clang-3.2-fix-std-thread-with-libstdc++.patch
new file mode 100644
index 000000000..6963603b1
--- /dev/null
+++ b/extra/llvm/clang-3.2-fix-std-thread-with-libstdc++.patch
@@ -0,0 +1,17 @@
+--- cfe/trunk/lib/Basic/Targets.cpp 2013/04/04 23:51:36 178815
++++ cfe/trunk/lib/Basic/Targets.cpp 2013/04/04 23:53:43 178816
+@@ -2730,6 +2730,14 @@
+ case NoMMX3DNow:
+ break;
+ }
++
++ if (CPU >= CK_i486) {
++ Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1");
++ Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2");
++ Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4");
++ }
++ if (CPU >= CK_i586)
++ Builder.defineMacro("__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8");
+ }
+
+ bool X86TargetInfo::hasFeature(StringRef Feature) const {
diff --git a/extra/smartmontools/PKGBUILD b/extra/smartmontools/PKGBUILD
index 145d9297c..09337c78a 100644
--- a/extra/smartmontools/PKGBUILD
+++ b/extra/smartmontools/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 180692 2013-03-25 19:47:01Z giovanni $
+# $Id: PKGBUILD 183306 2013-04-21 10:49:31Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Jeff Mickey <jeff@archlinux.org>
# Contributor: Jani Talikka <jani.talikka@gmail.com>
@@ -6,12 +6,13 @@
pkgname=smartmontools
pkgver=6.1
-pkgrel=1
+pkgrel=2
pkgdesc="Control and monitor S.M.A.R.T. enabled ATA and SCSI Hard Drives"
url="http://smartmontools.sourceforge.net"
license=('GPL')
arch=('i686' 'x86_64')
depends=('gcc-libs' 'libcap-ng' 'bash')
+optdepends=('heirloom-mailx: to get mail alerts to work')
backup=('etc/smartd.conf'
'etc/conf.d/smartd')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz"
diff --git a/extra/wcslib/PKGBUILD b/extra/wcslib/PKGBUILD
index 44b53b5bf..80d66a5cf 100644
--- a/extra/wcslib/PKGBUILD
+++ b/extra/wcslib/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 171525 2012-11-18 11:23:12Z andrea $
+# $Id: PKGBUILD 183302 2013-04-21 06:02:20Z andrea $
# Maintainer: Your Name <youremail@domain.com>
pkgname=wcslib
-pkgver=4.16
+pkgver=4.17
pkgrel=1
pkgdesc="A C library that implements the 'World Coordinate System' (WCS) standard in FITS"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@ license=('GPL3')
depends=('cfitsio')
makedepends=('gcc-fortran')
source=("ftp://ftp.atnf.csiro.au/pub/software/${pkgname}/${pkgname}.tar.bz2")
-md5sums=('30439a0bb730ef936646d646c9f07518')
+md5sums=('81f739c84789b84626db9fe4cd866081')
build() {
cd $pkgname-$pkgver
@@ -27,11 +27,13 @@ build() {
#}
package() {
+ # Fix install on i686
+ install -d "${pkgdir}"/usr/include/${pkgname}-${pkgver}
+
cd $pkgname-$pkgver
make DESTDIR="$pkgdir/" install
# Fix wrong permissions
-
chmod g=rx,-s "${pkgdir}"/usr/{bin/,/lib/{,pkgconfig},share/man/man1/}
chmod -s "${pkgdir}"/usr/{include/wcslib-${pkgver}/,share/doc/wcslib-${pkgver}/{,html/}}
}
diff --git a/extra/xfce4-notifyd/PKGBUILD b/extra/xfce4-notifyd/PKGBUILD
index 1cf84b838..4511dd426 100644
--- a/extra/xfce4-notifyd/PKGBUILD
+++ b/extra/xfce4-notifyd/PKGBUILD
@@ -1,22 +1,22 @@
-# $Id: PKGBUILD 157873 2012-04-30 04:20:51Z foutrelis $
+# $Id: PKGBUILD 183310 2013-04-21 17:16:07Z foutrelis $
# Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
# Contributor: tobias <tobias funnychar archlinux.org>
pkgname=xfce4-notifyd
-pkgver=0.2.2
-pkgrel=3
+pkgver=0.2.3
+pkgrel=1
pkgdesc="Notification daemon for the Xfce desktop"
arch=('i686' 'x86_64')
url="http://goodies.xfce.org/projects/applications/xfce4-notifyd"
license=('GPL2')
groups=('xfce4-goodies')
-depends=('libxfce4ui' 'hicolor-icon-theme')
+depends=('libxfce4ui' 'libnotify' 'hicolor-icon-theme')
makedepends=('intltool')
provides=('notification-daemon')
options=('!libtool')
install=$pkgname.install
source=(http://archive.xfce.org/src/apps/$pkgname/0.2/$pkgname-$pkgver.tar.bz2)
-sha256sums=('b66e68dfc2164bcf479acd3c7e8b6f83065d23aef988535e2db3506d06a39168')
+sha256sums=('dd40f64c9db22b0b971e81e8e74a4ab6afe6d0bb819ab5d0badee89e13faa63b')
build() {
cd "$srcdir/$pkgname-$pkgver"