summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDidier Raboud <odyx@debian.org>2018-02-09 17:23:25 +0100
committerDidier Raboud <odyx@debian.org>2018-02-09 17:07:57 +0100
commitc0f124f758880ab5dc42c4e8a6b137412d1805f7 (patch)
tree509bd952183defd50aaad0451415ed81b0308439
parent46e659aec40e4d50249f6684a62a835368c0ea97 (diff)
parent4341f243a34dbb8140800337d189345c370dc499 (diff)
Initialize git-dpm
-rw-r--r--debian/.git-dpm8
-rw-r--r--debian/patches/0001-Fix-various-missing-includes.patch (renamed from debian/patches/fix-missing-includes.patch)36
-rw-r--r--debian/patches/series2
-rw-r--r--src/c2espcommon.h1
-rw-r--r--src/command2esp.c1
5 files changed, 35 insertions, 13 deletions
diff --git a/debian/.git-dpm b/debian/.git-dpm
new file mode 100644
index 0000000..cbb3a82
--- /dev/null
+++ b/debian/.git-dpm
@@ -0,0 +1,8 @@
+# see git-dpm(1) from git-dpm package
+4341f243a34dbb8140800337d189345c370dc499
+4341f243a34dbb8140800337d189345c370dc499
+80223f8cb80f00260c66725dbd36522893f1d6ea
+80223f8cb80f00260c66725dbd36522893f1d6ea
+c2esp_27.orig.tar.gz
+628f76dd61d81b6fcabb458644f0426f4ed34c34
+143551
diff --git a/debian/patches/fix-missing-includes.patch b/debian/patches/0001-Fix-various-missing-includes.patch
index 971d962..bde86e6 100644
--- a/debian/patches/fix-missing-includes.patch
+++ b/debian/patches/0001-Fix-various-missing-includes.patch
@@ -1,16 +1,16 @@
-Description: Fix various missing includes
-Author: Didier Raboud <odyx@debian.org>
+From 4341f243a34dbb8140800337d189345c370dc499 Mon Sep 17 00:00:00 2001
+From: Didier Raboud <odyx@debian.org>
+Date: Fri, 9 Feb 2018 17:23:25 +0100
+Subject: Fix various missing includes
+
Last-Update: 2016-10-03
---- a/src/command2esp.c
-+++ b/src/command2esp.c
-@@ -44,6 +44,7 @@
- #include <cups/cups.h>
- #include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
- #include "string.h"
-+#include "strings.h" // strncasecmp
- #include <ctype.h>
- #include <fcntl.h> //files
- #include <time.h> //time functions used for debugging
+---
+ src/c2espcommon.h | 1 +
+ src/command2esp.c | 1 +
+ 2 files changed, 2 insertions(+)
+
+diff --git a/src/c2espcommon.h b/src/c2espcommon.h
+index 471f46a..088a2b8 100644
--- a/src/c2espcommon.h
+++ b/src/c2espcommon.h
@@ -19,6 +19,7 @@
@@ -21,3 +21,15 @@ Last-Update: 2016-10-03
#include <fcntl.h> //files
#include <time.h> //time functions used for debugging
+diff --git a/src/command2esp.c b/src/command2esp.c
+index 529342c..e30357e 100644
+--- a/src/command2esp.c
++++ b/src/command2esp.c
+@@ -44,6 +44,7 @@ Maintenance=003?
+ #include <cups/cups.h>
+ #include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
+ #include "string.h"
++#include "strings.h" // strncasecmp
+ #include <ctype.h>
+ #include <fcntl.h> //files
+ #include <time.h> //time functions used for debugging
diff --git a/debian/patches/series b/debian/patches/series
index 3949450..d3f54b9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1 @@
-fix-missing-includes.patch
+0001-Fix-various-missing-includes.patch
diff --git a/src/c2espcommon.h b/src/c2espcommon.h
index 471f46a..088a2b8 100644
--- a/src/c2espcommon.h
+++ b/src/c2espcommon.h
@@ -19,6 +19,7 @@
*/
#include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
+#include <stdio.h> // FILE
#include <fcntl.h> //files
#include <time.h> //time functions used for debugging
diff --git a/src/command2esp.c b/src/command2esp.c
index 529342c..e30357e 100644
--- a/src/command2esp.c
+++ b/src/command2esp.c
@@ -44,6 +44,7 @@ Maintenance=003?
#include <cups/cups.h>
#include <cups/sidechannel.h> //FlushBackChannel, and the side channel functions and constants
#include "string.h"
+#include "strings.h" // strncasecmp
#include <ctype.h>
#include <fcntl.h> //files
#include <time.h> //time functions used for debugging