dpkg-source -x the package and change into that directory
// Set the path to the patches correctly so that quilt can find them
-sven@marvin:/tmp/foo/tclcurl-7.19.0$ export QUILT_PATCHES=debian/patches
+tclcurl-7.19.0$ export QUILT_PATCHES=debian/patches
// Check on the different patches available
-sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt series
+tclcurl-7.19.0$ quilt series
man-section
reformat-tclcurl3
correct-linking
// Apply the correct-linking patch, this will cause quilt to apply all patches
// stacked on the selected one first.
-sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt push correct-linking
+tclcurl-7.19.0$ quilt push correct-linking
[...]
// Take a look at the current diff
-sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt diff
+tclcurl-7.19.0$ quilt diff
[...]
// Open configure for editing
-sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt edit configure
+tclcurl-7.19.0$ quilt edit configure
[...]
// Refresh the patch you're working on
-sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt refresh
+tclcurl-7.19.0$ quilt refresh
Refreshed patch correct-linking
// Remove the patch from your working stack
-sven@marvin:/tmp/foo/tclcurl-7.19.0$ quilt pop
+tclcurl-7.19.0$ quilt pop
Removing patch correct-linking
Restoring configure
Restoring configure.in
Now at patch reformat-tclcurl3
-This should be enough to get your modifications in.
+// Add a new patch
+tclcurl-7.19.0$ quilt new my-patch
+Patch my-patch is now on top
+
+You can now edit, refresh and pop this patch of the stack
+when you're done.
+
+// Importing an external patch is also possible
+tclcurl-7.19.0$ quilt import -P <patch> /path/to/ext-patch
+
Adding patches to quilt without actually using it