Browse Source

Andreas V. Meier:


			
			
				rocklinux
			
			
		
Andreas V. 'netrunner' Meier 21 years ago
parent
commit
0b4e13a717
2 changed files with 5 additions and 70 deletions
  1. +0
    -36
      package/valentin/kismet/configure.patch
  2. +5
    -34
      package/valentin/kismet/gcc34.patch

+ 0
- 36
package/valentin/kismet/configure.patch

@ -1,36 +0,0 @@
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
#
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# Please add additional copyright information _after_ the line containing
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
#
# ROCK Linux: rock-src/package/misc/kismet/configure.patch
# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version. A copy of the GNU General Public
# License can be found at Documentation/COPYING.
#
# Many people helped and are helping developing ROCK Linux. Please
# have a look at http://www.rocklinux.org/ and the Documentation/TEAM
# file for details.
#
# --- ROCK-COPYRIGHT-NOTE-END ---
--- kismet-3.0.1/configure 2003-08-07 04:24:06.000000000 +0000
+++ kismet-3.0.1.mod/configure 2003-11-16 18:48:17.000000000 +0000
@@ -5846,8 +5846,9 @@
cat >>confdefs.h <<\_ACEOF
#define HAVE_PCAP_H 1
_ACEOF
-,
- if test "${ac_cv_header_pcap_pcap_h+set}" = set; then
+
+else
+ if test "${ac_cv_header_pcap_pcap_h+set}" = set; then
echo "$as_me:$LINENO: checking for pcap/pcap.h" >&5
echo $ECHO_N "checking for pcap/pcap.h... $ECHO_C" >&6
if test "${ac_cv_header_pcap_pcap_h+set}" = set; then

+ 5
- 34
package/valentin/kismet/gcc34.patch

@ -1,36 +1,7 @@
The usual gcc-3.4 fixes + some unusal ones ...
- Rene Rebe <rene@rocklinux.org>
diff -ur kismet-3.0.1/kismet_drone.cc kismet-3.0.1-fixed/kismet_drone.cc
--- kismet-3.0.1/kismet_drone.cc 2003-07-22 01:34:23.000000000 +0200
+++ kismet-3.0.1-fixed/kismet_drone.cc 2004-05-10 13:16:48.194992328 +0200
@@ -72,7 +72,7 @@
pak.flags = CAPFLAG_NONE;
pak.datalen = 1;
pak.data = (uint8_t *) malloc(1);
- (int8_t) pak.data[0] = CAPCMD_DIE;
+ pak.data[0] = (uint8_t)CAPCMD_DIE;
for (unsigned int x = 0; x < packet_sources.size(); x++) {
if (packet_sources[x]->alive) {
diff -ur kismet-3.0.1/kismet_server.cc kismet-3.0.1-fixed/kismet_server.cc
--- kismet-3.0.1/kismet_server.cc 2003-07-31 16:26:59.000000000 +0200
+++ kismet-3.0.1-fixed/kismet_server.cc 2004-05-10 13:17:22.243816120 +0200
@@ -259,7 +259,7 @@
pak.flags = CAPFLAG_NONE;
pak.datalen = 1;
pak.data = (uint8_t *) malloc(1);
- (int8_t) pak.data[0] = CAPCMD_DIE;
+ pak.data[0] = (uint8_t) CAPCMD_DIE;
for (unsigned int x = 0; x < packet_sources.size(); x++) {
if (packet_sources[x]->alive) {
diff -ur kismet-3.0.1/packet.h kismet-3.0.1-fixed/packet.h
--- kismet-3.0.1/packet.h 2003-07-31 16:26:59.000000000 +0200
+++ kismet-3.0.1-fixed/packet.h 2004-05-10 13:08:31.587776568 +0200
@@ -548,7 +548,7 @@
diff -ruN kismet-2004-04-R1/packet.h kismet-2004-04-R1-new/packet.h
--- kismet-2004-04-R1/packet.h 2004-04-02 18:53:36.000000000 +0200
+++ kismet-2004-04-R1-new/packet.h 2004-05-24 13:58:03.682859328 +0200
@@ -550,7 +550,7 @@
// This isn't quite like STL iterators, because I'm too damned lazy to deal with all
// the nasty STL hoop-jumping. This does provide a somewhat-stl-ish interface to
// iterating through the singleton and masked maps
@ -39,7 +10,7 @@ diff -ur kismet-3.0.1/packet.h kismet-3.0.1-fixed/packet.h
friend class macmap;
public:
@@ -641,6 +641,7 @@
@@ -643,6 +643,7 @@
int vector_itr;
macmap<T> *owner;
};

Loading…
Cancel
Save