diff --git a/README.patches b/README.patches
index 42b99b2..368f3bb 100644
--- a/README.patches
+++ b/README.patches
@@ -529,3 +529,8 @@ Individual patches for Vim 7.4:
   2125  7.4.505  problem on MS-Windows file name longer than MAX_PATH bytes
   1680  7.4.506  MS-Windows: Cannot open a file with 259 characters
   2027  7.4.507  (after 7.4.496) building with MingW and Perl may fail
+  1928  7.4.508  when generating ja.sjis.po, header is not correctly adjusted
+  3558  7.4.509  users are not aware their encryption is weak
+  2508  7.4.510  "-fwrapv" argument breaks use of cproto
+  1938  7.4.511  generating proto for if_ruby.c uses type not defined elsewhere
+  3016  7.4.512  cannot generate prototypes for Win32 files and VMS
diff --git a/vim.spec b/vim.spec
index 7c9d91b..8181a8d 100644
--- a/vim.spec
+++ b/vim.spec
@@ -1,4 +1,4 @@
-%define patchlevel 507
+%define patchlevel 512
 %if %{?WITH_SELINUX:0}%{!?WITH_SELINUX:1}
 %define WITH_SELINUX 1
 %endif
@@ -554,6 +554,11 @@ Patch504: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.504
 Patch505: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.505
 Patch506: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.506
 Patch507: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.507
+Patch508: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.508
+Patch509: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.509
+Patch510: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.510
+Patch511: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.511
+Patch512: ftp://ftp.vim.org/pub/vim/patches/7.4/7.4.512
 
 Patch3000: vim-7.4-syntax.patch
 Patch3002: vim-7.1-nowarnings.patch
@@ -1208,6 +1213,11 @@ perl -pi -e "s,bin/nawk,bin/awk,g" runtime/tools/mve.awk
 %patch505 -p0
 %patch506 -p0
 %patch507 -p0
+%patch508 -p0
+%patch509 -p0
+%patch510 -p0
+%patch511 -p0
+%patch512 -p0
 
 # install spell files
 %if %{withvimspell}
@@ -1725,6 +1735,9 @@ rm -rf %{buildroot}
 %{_datadir}/icons/hicolor/*/apps/*
 
 %changelog
+* Wed Nov 12 2014 Karsten Hopp <karsten@redhat.com> 7.4.512-1
+- patchlevel 512
+
 * Thu Nov 06 2014 Karsten Hopp <karsten@redhat.com> 7.4.507-1
 - patchlevel 507