diff --git a/main/fftw/APKBUILD b/main/fftw/APKBUILD
index 679d6eed66f7c090379308162d3efa5079356b09..ee0b67925a0b26775d37ac9e96aa35c3ceddae24 100644
--- a/main/fftw/APKBUILD
+++ b/main/fftw/APKBUILD
@@ -1,7 +1,7 @@
 # Contributor: William Pitcock <nenolod@dereferenced.org>
 # Maintainer: William Pitcock <nenolod@dereferenced.org>
 pkgname=fftw
-pkgver=3.3.5
+pkgver=3.3.6p1
 pkgrel=0
 pkgdesc="fastest fourier transform in the west"
 url="http://www.fftw.org/"
@@ -12,12 +12,13 @@ install=
 # order of the libs split functions are important because of lib naming
 subpackages="$pkgname-dev $pkgname-doc $pkgname-single-libs:single
 	$pkgname-long-double-libs:long_double $pkgname-double-libs:double"
-source="http://www.fftw.org/$pkgname-$pkgver.tar.gz
+srcpkgver=${pkgver//p/-pl}
+source="http://www.fftw.org/$pkgname-$srcpkgver.tar.gz
 	cycle.h.patch"
 arch="all"
 _precision="single double long-double"
 
-builddir="$srcdir/$pkgname-$pkgver"
+builddir="$srcdir/$pkgname-$srcpkgver"
 
 prepare() {
 	cd "$builddir"
@@ -84,9 +85,9 @@ long_double() {
 		"$subpkgdir"/usr/lib/ || return 1
 }
 
-md5sums="6cc08a3b9c7ee06fdd5b9eb02e06f569  fftw-3.3.5.tar.gz
+md5sums="682a0e78d6966ca37c7446d4ab4cc2a1  fftw-3.3.6-pl1.tar.gz
 81537a7e16451d3e66c025cbaba58973  cycle.h.patch"
-sha256sums="8ecfe1b04732ec3f5b7d279fdb8efcad536d555f9d1e8fabd027037d45ea8bcf  fftw-3.3.5.tar.gz
+sha256sums="1ef4aa8427d9785839bc767f3eb6a84fcb5e9a37c31ed77a04e7e047519a183d  fftw-3.3.6-pl1.tar.gz
 1f2e555ceda21146bf7fce408f1a9a12782c646df6d23f3e2202ec7342c4ad01  cycle.h.patch"
-sha512sums="a81f02d884cfe4171fab479b0e5ec76eceb9c5da6d4eda1f89281b7e1efa2d8176c9ba87051595c402889eb32172d216ce40eb2bef41289c646f01002fb4ba8e  fftw-3.3.5.tar.gz
+sha512sums="e2ed33fcb068a36a841bbd898d12ceec74f4e9a0a349e7c55959878b50224a69a0f87656347dad7d7e1448ebc50d28d8f34f6da7992c43072d26942fd97c0134  fftw-3.3.6-pl1.tar.gz
 d71ffb0aa658f7b22239491698426f4a97e657abc953020745f7581d2937a062a279eaa5980cd7f7fe2e8425a032eafc3d4c0cffdc79a83a3aef382c988d739a  cycle.h.patch"