cd /Applications/MAMP/htdocs/drupal/sites/all/modules/uc_discounts/
diff -up original.php new.php > filename.patch