diff --git a/.cvsignore b/.cvsignore
index e69de29..982a39d 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+captcha-2.2.nofont.tar.gz
diff --git a/captcha-2.2-undef.patch b/captcha-2.2-undef.patch
new file mode 100644
index 0000000..dd642a3
--- /dev/null
+++ b/captcha-2.2-undef.patch
@@ -0,0 +1,51 @@
+diff -Naur captcha-2.2.orig/captcha.php captcha-2.2.new/captcha.php
+--- captcha-2.2.orig/captcha.php 2010-05-20 20:42:03.000000000 +0200
++++ captcha-2.2.new/captcha.php 2010-05-25 12:10:39.000000000 +0200
+@@ -164,7 +164,7 @@
+
+ #-- init
+ srand(microtime() + time()/2 - 21017);
+- if ($this->id) { $this->prev[] = $this->id; }
++ if (!empty($this->id)) { $this->prev[] = $this->id; }
+ $this->id = $this->new_id();
+
+ #-- meta informations
+@@ -211,7 +211,7 @@
+
+ #-- examine if captcha data is fresh
+ function is_valid() {
+- return isset($this->id) && ($this->created)
++ return isset($this->id) && !empty($this->created)
+ && ($this->expires > time())
+ && ($this->tries > 0)
+ && ($this->failures < 500)
+diff -Naur captcha-2.2.orig/index.php captcha-2.2.new/index.php
+--- captcha-2.2.orig/index.php 2010-05-20 20:18:31.000000000 +0200
++++ captcha-2.2.new/index.php 2010-05-25 12:18:13.000000000 +0200
+@@ -3,7 +3,7 @@
+ // load library and preset a few options
+ define("CAPTCHA_INVERSE", 1); // black background
+ define("CAPTCHA_NEW_URLS", 0); // no auto-disabling/hiding for the demo
+- include("captcha.php");
++ include("captchaphp/captcha.php");
+
+ ?>
+
+@@ -109,7 +109,7 @@
+
+
+
+-