[lrcalc] 01/03: Fix include syntax in headers.

Tobias Hansen thansen at moszumanska.debian.org
Mon Aug 1 16:34:52 UTC 2016


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository lrcalc.

commit 696f927c6e00c373af50fcd3301b05f0ed396333
Author: Tobias Hansen <thansen at debian.org>
Date:   Mon Aug 1 16:22:10 2016 +0000

    Fix include syntax in headers.
---
 debian/changelog              |  7 ++++
 debian/patches/includes.patch | 75 +++++++++++++++++++++++++++++++++++++++++++
 debian/patches/series         |  1 +
 3 files changed, 83 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index b85fe72..445c7dc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+lrcalc (1.2-2) unstable; urgency=medium
+
+  * New patch debian/includes.patch:
+    - Fix include syntax in headers. (Closes: #819989)
+
+ -- Tobias Hansen <thansen at debian.org>  Mon, 01 Aug 2016 16:20:23 +0000
+
 lrcalc (1.2-1) unstable; urgency=low
 
   * New upstream release.
diff --git a/debian/patches/includes.patch b/debian/patches/includes.patch
new file mode 100644
index 0000000..153bdd1
--- /dev/null
+++ b/debian/patches/includes.patch
@@ -0,0 +1,75 @@
+Subject: Patch by Jeroen Demeyer to change include <vector.h> to "vector.h", plus similar cases.
+Author: Jeroen Demeyer
+Applied-Upstream: https://bitbucket.org/asbuch/lrcalc/commits/226981a060a209efb5e0c3925b71b341b9ff63a4
+
+---
+ src/lrcalc.c   | 2 +-
+ src/maple.c    | 4 ++--
+ src/schublib.h | 2 +-
+ src/symfcn.c   | 6 +++---
+ src/symfcn.h   | 4 ++--
+ 5 files changed, 9 insertions(+), 9 deletions(-)
+
+--- a/src/lrcalc.c
++++ b/src/lrcalc.c
+@@ -8,7 +8,7 @@
+ #include <stdlib.h>
+ extern char *optarg;
+ 
+-#include <vectarg.h>
++#include "vectarg.h"
+ 
+ #include "symfcn.h"
+ #include "maple.h"
+--- a/src/maple.c
++++ b/src/maple.c
+@@ -4,8 +4,8 @@
+  */
+ 
+ #include <stdio.h>
+-#include <vector.h>
+-#include <hashtab.h>
++#include "vector.h"
++#include "hashtab.h"
+ #include "maple.h"
+ 
+ 
+--- a/src/schublib.h
++++ b/src/schublib.h
+@@ -1,7 +1,7 @@
+ #ifndef _SCHUBLIB_H
+ #define _SCHUBLIB_H
+ 
+-#include <hashtab.h>
++#include "hashtab.h"
+ 
+ hashtab *trans(vector *w, int vars, hashtab *res);
+ hashtab *monk(int i, hashtab *slc, int rank);
+--- a/src/symfcn.c
++++ b/src/symfcn.c
+@@ -5,9 +5,9 @@
+ 
+ #include <stdio.h>
+ 
+-#include <alloc.h>
+-#include <vector.h>
+-#include <hashtab.h>
++#include "alloc.h"
++#include "vector.h"
++#include "hashtab.h"
+ 
+ #include "symfcn.h"
+ 
+--- a/src/symfcn.h
++++ b/src/symfcn.h
+@@ -1,8 +1,8 @@
+ #ifndef _SYMFCN_H
+ #define _SYMFCN_H
+ 
+-#include <hashtab.h>
+-#include <vector.h>
++#include "hashtab.h"
++#include "vector.h"
+ 
+ int part_itr_sz(vector *part);
+ int part_itr_sub(vector *part, vector *outer);
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..00ff0d9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+includes.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lrcalc.git



More information about the debian-science-commits mailing list