Package: cain / 1.10+dfsg-2

cain.patch Patch series | download
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
54
55
56
57
58
59
60
61
62
63
64
65
66
Description: Fix some build issues
 - Propagate options into Makefile
 - fix clean target in Makefile
 - Add misssing header files
 - Enable local error logging in user homedir
Author: Ivo Maintz <ivo@maintz.de>
Date: Wed, 28 Sep 2011 12:02:11 +0200

--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 
 # By default make the solvers.
 default:
-	$(MAKE) -C src/solvers $(MAKEFLAGS) $(MAKECMDGOALS)
+	$(MAKE) -C src/solvers
 
 again: 
 
--- a/gui/Application.py
+++ b/gui/Application.py
@@ -8,6 +8,7 @@
 import wx
 from MainFrame import MainFrame
 from resourcePath import resourcePath
+from os.path import expanduser, join
 
 class Application(wx.App):
     """The application class for Cain."""
--- a/src/ads/indexedPriorityQueue/IndexedPriorityQueueBinaryHeap.h
+++ b/src/ads/indexedPriorityQueue/IndexedPriorityQueueBinaryHeap.h
@@ -9,7 +9,7 @@
 #define __ads_indexedPriorityQueue_IndexedPriorityQueueBinaryHeap_h__
 
 #include "IndexedPriorityQueueBase.h"
-
+#include <stddef.h>
 #include <iostream>
 
 #include <cstddef>
--- a/src/ads/indexedPriorityQueue/IndexedPriorityQueueBinaryHeapPair.h
+++ b/src/ads/indexedPriorityQueue/IndexedPriorityQueueBinaryHeapPair.h
@@ -9,6 +9,7 @@
 #define __ads_indexedPriorityQueue_IndexedPriorityQueueBinaryHeapPair_h__
 
 #include "IndexedPriorityQueueBase.h"
+#include <stddef.h>
 
 #include <cstddef>
 
--- a/src/solvers/Makefile
+++ b/src/solvers/Makefile
@@ -37,11 +37,13 @@
 
 # The default target.
 install: all
+	mkdir -p ../../solvers
 	mv $(TARGETS) ../../solvers
 
 all: $(TARGETS)
 
 clean: 
+	rm -rf ../../solvers
 	$(RM) *.o *.d *~ core* *.stackdump .DS_Store .Thumbs.db
 
 distclean: