Fix patch headers to work with git-buildpackage.

Fix patch headers to work with git-buildpackage, retaining as much meta
info as possible.
This commit is contained in:
Carlos Maddela
2016-12-18 22:25:54 +11:00
parent 5249b88996
commit 45af00b78e
8 changed files with 127 additions and 80 deletions

View File

@@ -1,11 +1,25 @@
Author: Rogério Theodoro de Brito <rbrito@ime.usp.br>
Description: Fix spelling errors in binaries
From: =?utf-8?q?Rog=C3=A9rio_Theodoro_de_Brito?= <rbrito@ime.usp.br>
Date: Sun, 8 Apr 2012 21:55:13 +0900
Subject: Fix spelling errors in binaries
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Index: dvdisaster/preferences.c
===================================================================
--- dvdisaster.orig/preferences.c 2012-04-08 21:55:06.732741250 +0900
+++ dvdisaster/preferences.c 2012-04-08 21:55:13.004771913 +0900
@@ -1627,7 +1627,7 @@
Description: Fix spelling errors in binaries
Author: Rogério Theodoro de Brito <rbrito@ime.usp.br>
Last-Update: 2012-04-08
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---
preferences.c | 4 ++--
rs01-fix.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/preferences.c b/preferences.c
index 84abf2b..2f3355c 100644
--- a/preferences.c
+++ b/preferences.c
@@ -1627,7 +1627,7 @@ void CreatePreferencesWindow(void)
"The values include the borders: 0-100 will read 101 sectors.\n\n"
"<b>Note:</b> Limiting the reading range is not recommended for <i>adaptive reading</i> since it might "
@@ -14,7 +28,7 @@ Index: dvdisaster/preferences.c
"These settings are only effective for the current session and will not be saved."));
/** Image properties */
@@ -1911,7 +1911,7 @@
@@ -1911,7 +1911,7 @@ if(Closure->debugMode) /* hidden until version 0.80 */
"<b>0x20</b> This is the <i>recommended</i> mode. "
"The drive tries to apply "
"the built-in error correction to the best possible extent "
@@ -23,11 +37,11 @@ Index: dvdisaster/preferences.c
"<b>0x21</b> In this mode the drive skips the last stage "
"of its internal error correction and returns the "
"uncorrected sector instead. This may result in sectors "
Index: dvdisaster/rs01-fix.c
===================================================================
--- dvdisaster.orig/rs01-fix.c 2012-04-08 21:55:06.732741250 +0900
+++ dvdisaster/rs01-fix.c 2012-04-08 21:55:13.004771913 +0900
@@ -246,7 +246,7 @@
diff --git a/rs01-fix.c b/rs01-fix.c
index a867939..fe7707b 100644
--- a/rs01-fix.c
+++ b/rs01-fix.c
@@ -246,7 +246,7 @@ void RS01Fix(Method *method)
if(Closure->guiMode)
{ int answer = ModalDialog(GTK_MESSAGE_QUESTION, GTK_BUTTONS_OK_CANCEL, NULL,
_("The image file is %d bytes longer than noted\n"