File: 18-fix-implicit-function-declaration.patch

package info (click to toggle)
mpb 1.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,040 kB
  • sloc: ansic: 13,389; javascript: 9,901; makefile: 214; lisp: 44; sh: 4
file content (53 lines) | stat: -rw-r--r-- 1,398 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Description: Add missing header includes.
Author: Andrey Rakhmatullin <wrar@debian.org>
Bug-Debian: https://bugs.debian.org/1066421
Last-Update: 2024-04-11

Index: mpb-1.11.1/mpb/fields.c
===================================================================
--- mpb-1.11.1.orig/mpb/fields.c
+++ mpb-1.11.1/mpb/fields.c
@@ -20,6 +20,7 @@
 #include <math.h>
 #include <ctype.h>
 #include <stddef.h>
+#include <string.h>
 
 #include "config.h"
 #include <check.h>
Index: mpb-1.11.1/mpb/field-smob.c
===================================================================
--- mpb-1.11.1.orig/mpb/field-smob.c
+++ mpb-1.11.1/mpb/field-smob.c
@@ -17,6 +17,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "config.h"
 
Index: mpb-1.11.1/mpb/material_grid.c
===================================================================
--- mpb-1.11.1.orig/mpb/material_grid.c
+++ mpb-1.11.1/mpb/material_grid.c
@@ -18,6 +18,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
+#include <string.h>
 
 #include "config.h"
 #include <check.h>
Index: mpb-1.11.1/mpb/material_grid_opt.c
===================================================================
--- mpb-1.11.1.orig/mpb/material_grid_opt.c
+++ mpb-1.11.1/mpb/material_grid_opt.c
@@ -20,6 +20,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
+#include <string.h>
 
 #include "config.h"
 #include <mpiglue.h>