add a patch to use cppflags when compiling and ldflags when linking,
[openwrt.git] / openwrt / package / kismet / patches / 110-uclibc++_fixes.patch
1 diff -urN kismet-2005-04-R1.old/configfile.cc kismet-2005-04-R1.dev/configfile.cc
2 --- kismet-2005-04-R1.old/configfile.cc 2005-04-03 07:33:42.000000000 +0200
3 +++ kismet-2005-04-R1.dev/configfile.cc 2005-04-26 01:37:32.000000000 +0200
4 @@ -24,6 +24,7 @@
5 #include <stdlib.h>
6 #include <stdio.h>
7 #include <errno.h>
8 +#include <time.h>
9 #include "configfile.h"
10 #include "util.h"
11
12 diff -urN kismet-2005-04-R1.old/macaddr.h kismet-2005-04-R1.dev/macaddr.h
13 --- kismet-2005-04-R1.old/macaddr.h 2005-04-03 07:33:42.000000000 +0200
14 +++ kismet-2005-04-R1.dev/macaddr.h 2005-04-26 01:42:38.000000000 +0200
15 @@ -321,12 +321,12 @@
16 }
17
18 // equal
19 - inline bool operator==(const iterator& op) const {
20 + inline bool operator==(const iterator& op) {
21 return (singleton_itr == op.singleton_itr) && (vector_itr == op.vector_itr);
22 }
23
24 // not
25 - inline bool operator!=(const iterator& op) const {
26 + inline bool operator!=(const iterator& op) {
27 return (singleton_itr != op.singleton_itr) || (vector_itr != op.vector_itr);
28 }
29
This page took 0.040653 seconds and 5 git commands to generate.