~ubuntu-branches/debian/jessie/acfax/jessie

« back to all changes in this revision

Viewing changes to debian/patches/fix-dirmgr-regexp.patch

  • Committer: Package Import Robot
  • Author(s): Colin Tuckley
  • Date: 2014-02-10 20:23:51 UTC
  • Revision ID: package-import@ubuntu.com-20140210202351-id1r9lub15jv2dti
Tags: 981011-16
* Convert to source format 3.0 (quilt)
* Remove refs to unused and deprecated getwd
* Change Arch to linux-any since osspd isn't available elsewhere
* Fix various implicit def warnings by adding required .h file includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description: Add stdlib.h to fix undefined functions
 
2
 
 
3
--- a/DirMgr.c
 
4
+++ b/DirMgr.c
 
5
@@ -21,6 +21,10 @@
 
6
  *     
 
7
  */ 
 
8
 
 
9
+#define _GNU_SOURCE
 
10
+#include <stdlib.h>
 
11
+#include <regex.h>
 
12
+
 
13
 #include "DirMgr.h"
 
14
 
 
15
 #ifndef NO_REGEXP
 
16
--- a/RegExp.c
 
17
+++ b/RegExp.c
 
18
@@ -24,6 +24,7 @@
 
19
 
 
20
 #include "RegExp.h"
 
21
 #include <regex.h>
 
22
+#include <stdlib.h>
 
23
 
 
24
 void RegExpCompile(regexp,fsm_ptr)
 
25
 char *regexp;