svn commit: r352960 - head/net/netmap/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun May 4 15:31:14 UTC 2014
Author: sunpoet
Date: Sun May 4 15:31:11 2014
New Revision: 352960
URL: http://svnweb.freebsd.org/changeset/ports/352960
QAT: https://qat.redports.org/buildarchive/r352960/
Log:
- Pet portlint: rename patch files
Added:
head/net/netmap/files/patch-belgolib__Makefile
- copied unchanged from r352367, head/net/netmap/files/patch-belgolib::Makefile
head/net/netmap/files/patch-belgolib__dirs.c
- copied unchanged from r352367, head/net/netmap/files/patch-belgolib::dirs.c
head/net/netmap/files/patch-belgolib__dirs.h
- copied unchanged from r352367, head/net/netmap/files/patch-belgolib::dirs.h
head/net/netmap/files/patch-belgolib__dirs_core.h
- copied unchanged from r352367, head/net/netmap/files/patch-belgolib::dirs_core.h
head/net/netmap/files/patch-belgolib__files.c
- copied unchanged from r352367, head/net/netmap/files/patch-belgolib::files.c
head/net/netmap/files/patch-belgolib__files.h
- copied unchanged from r352367, head/net/netmap/files/patch-belgolib::files.h
head/net/netmap/files/patch-makelist__Makefile
- copied unchanged from r352367, head/net/netmap/files/patch-makelist::Makefile
head/net/netmap/files/patch-makelist__config.h
- copied unchanged from r352367, head/net/netmap/files/patch-makelist::config.h
head/net/netmap/files/patch-netmap__Makefile
- copied unchanged from r352367, head/net/netmap/files/patch-netmap::Makefile
head/net/netmap/files/patch-netmap__config.h
- copied unchanged from r352367, head/net/netmap/files/patch-netmap::config.h
head/net/netmap/files/patch-netmap__lookup.c
- copied unchanged from r352367, head/net/netmap/files/patch-netmap::lookup.c
head/net/netmap/files/patch-netmap__misc.c
- copied unchanged from r352367, head/net/netmap/files/patch-netmap::misc.c
Deleted:
head/net/netmap/files/patch-belgolib::Makefile
head/net/netmap/files/patch-belgolib::dirs.c
head/net/netmap/files/patch-belgolib::dirs.h
head/net/netmap/files/patch-belgolib::dirs_core.h
head/net/netmap/files/patch-belgolib::files.c
head/net/netmap/files/patch-belgolib::files.h
head/net/netmap/files/patch-makelist::Makefile
head/net/netmap/files/patch-makelist::config.h
head/net/netmap/files/patch-netmap::Makefile
head/net/netmap/files/patch-netmap::config.h
head/net/netmap/files/patch-netmap::lookup.c
head/net/netmap/files/patch-netmap::misc.c
Copied: head/net/netmap/files/patch-belgolib__Makefile (from r352367, head/net/netmap/files/patch-belgolib::Makefile)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-belgolib__Makefile Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-belgolib::Makefile)
@@ -0,0 +1,21 @@
+--- belgolib/Makefile.orig Fri Jun 7 00:11:38 2002
++++ belgolib/Makefile Fri Jun 7 00:12:18 2002
+@@ -1,8 +1,7 @@
+ CFILES = files.c dirs.c dirs_core.c search.c
+ OFILES = $(CFILES:.c=.o)
+
+-CFLAGS = -O -Wall
+-CC = g++
++CC = ${CXX}
+
+ CPP_HEADERS = /usr/include/g++-3/
+
+@@ -17,7 +16,7 @@
+ -/bin/rm -f $(OFILES)
+
+ depend:
+- makedepend -I$(CPP_HEADERS) -D__make_dep__ -- $(CFLAGS) -- $(CFILES)
++ makedepend -I$(CPP_HEADERS) -D__make_dep__ -- $(CXXFLAGS) -- $(CFILES)
+
+
+
Copied: head/net/netmap/files/patch-belgolib__dirs.c (from r352367, head/net/netmap/files/patch-belgolib::dirs.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-belgolib__dirs.c Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-belgolib::dirs.c)
@@ -0,0 +1,9 @@
+--- belgolib/dirs.c.orig Tue Jul 22 04:58:32 2003
++++ belgolib/dirs.c Tue Jul 22 04:58:46 2003
+@@ -1,5 +1,6 @@
+ #include <stdio.h>
+ #include <dirent.h>
++#include <assert.h>
+
+ #include <list>
+
Copied: head/net/netmap/files/patch-belgolib__dirs.h (from r352367, head/net/netmap/files/patch-belgolib::dirs.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-belgolib__dirs.h Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-belgolib::dirs.h)
@@ -0,0 +1,10 @@
+--- belgolib/dirs.h.orig Sun Dec 15 14:54:27 2002
++++ belgolib/dirs.h Sun Dec 15 14:54:27 2002
+@@ -3,6 +3,7 @@
+ // - Consider using vector instead of list<T*>'s
+
+ #include <list>
++using namespace std;
+
+ #ifndef __make_dep__
+ #include <string>
Copied: head/net/netmap/files/patch-belgolib__dirs_core.h (from r352367, head/net/netmap/files/patch-belgolib::dirs_core.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-belgolib__dirs_core.h Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-belgolib::dirs_core.h)
@@ -0,0 +1,10 @@
+--- belgolib/dirs_core.h.orig Wed Dec 19 07:46:22 2001
++++ belgolib/dirs_core.h Sun Dec 15 15:01:06 2002
+@@ -4,6 +4,7 @@
+
+ #ifndef __make_dep__
+ #include <string>
++using namespace std;
+ #endif
+
+ #ifndef __dirs_core_h__
Copied: head/net/netmap/files/patch-belgolib__files.c (from r352367, head/net/netmap/files/patch-belgolib::files.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-belgolib__files.c Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-belgolib::files.c)
@@ -0,0 +1,31 @@
+--- belgolib/files.c.orig 2010-01-06 08:00:52.000000000 +0900
++++ belgolib/files.c 2011-11-23 22:22:36.000000000 +0900
+@@ -17,8 +17,8 @@
+
+ Infile::Infile() : ifstream() { }
+
+-Infile::Infile(const string& file_name, int mode, bool fatal)
+- : ifstream(file_name.c_str(), (std::_Ios_Openmode)mode)
++Infile::Infile(const string& file_name, ios::openmode mode, bool fatal)
++ : ifstream(file_name.c_str(), (std::ios_base::openmode)mode)
+ {
+
+ if(cdb>d_list)
+@@ -39,7 +39,7 @@
+ }
+
+
+-int Infile::Open(const string & file_name, int mode, bool fatal)
++int Infile::Open(const string & file_name, ios::openmode mode, bool fatal)
+ {
+
+ if(cdb>d_list)
+@@ -49,7 +49,7 @@
+ //file is open, close it first
+ close();
+
+- open(file_name.c_str(), (std::_Ios_Openmode)mode);
++ open(file_name.c_str(), (std::ios_base::openmode)mode);
+
+ if(int error_nr = check_open()) {
+ if(cdb>d_list)
Copied: head/net/netmap/files/patch-belgolib__files.h (from r352367, head/net/netmap/files/patch-belgolib::files.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-belgolib__files.h Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-belgolib::files.h)
@@ -0,0 +1,19 @@
+--- belgolib/files.h.orig Sun Dec 15 14:54:27 2002
++++ belgolib/files.h Sun Dec 15 14:54:27 2002
+@@ -1,4 +1,5 @@
+ #include <fstream>
++using namespace std;
+
+ #ifndef __make_dep__
+ #include <string> //makedepend bug
+@@ -15,8 +16,8 @@
+ class Infile : public ifstream {
+ public:
+ Infile();
+- Infile(const string &, int mode=ios::in, bool=false);
+- int Open(const string &, int mode=ios::in, bool=false);
++ Infile(const string &, ios::openmode mode=ios::in, bool=false);
++ int Open(const string &, ios::openmode mode=ios::in, bool=false);
+
+ protected:
+ int check_open() const;
Copied: head/net/netmap/files/patch-makelist__Makefile (from r352367, head/net/netmap/files/patch-makelist::Makefile)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-makelist__Makefile Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-makelist::Makefile)
@@ -0,0 +1,20 @@
+--- makelist/Makefile.orig 2010-01-06 07:59:38.000000000 +0900
++++ makelist/Makefile 2011-11-23 22:25:58.000000000 +0900
+@@ -1,8 +1,7 @@
+ CFILES = makelist.c args.c config.c
+ OFILES = $(CFILES:.c=.o)
+
+-CFLAGS = -O -Wall -Wno-deprecated
+-CC = g++
++CC = ${CXX}
+
+ CPPFLAGS = -I../belgolib
+ LDFLAGS = ../belgolib/belgolib.a
+@@ -21,6 +20,6 @@
+ -/bin/rm -f $(OFILES) $(OEXE)
+
+ depend:
+- makedepend $(CPP_HEADERS) -D__make_dep__ -- $(CFLAGS) -- $(CFILES)
++ makedepend $(CPP_HEADERS) -D__make_dep__ -- $(CXXFLAGS) -- $(CFILES)
+
+ # DO NOT DELETE
Copied: head/net/netmap/files/patch-makelist__config.h (from r352367, head/net/netmap/files/patch-makelist::config.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-makelist__config.h Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-makelist::config.h)
@@ -0,0 +1,10 @@
+--- makelist/config.h.orig Sun Dec 15 14:54:27 2002
++++ makelist/config.h Sun Dec 15 14:54:27 2002
+@@ -2,6 +2,7 @@
+ #define _config_h_
+
+ #include <string>
++using namespace std;
+
+ extern int par_traceroute;
+
Copied: head/net/netmap/files/patch-netmap__Makefile (from r352367, head/net/netmap/files/patch-netmap::Makefile)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-netmap__Makefile Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-netmap::Makefile)
@@ -0,0 +1,28 @@
+--- netmap/Makefile.orig 2010-01-06 07:59:38.000000000 +0900
++++ netmap/Makefile 2011-11-23 22:27:31.000000000 +0900
+@@ -1,8 +1,7 @@
+ CFILES = misc.c hostclass.c netmap.c drawmap.c config.c args.c lookup.c
+ OFILES = $(CFILES:.c=.o)
+
+-CFLAGS = -O -Wall -Wno-deprecated
+-CC = g++
++CC = ${CXX}
+
+ CPPFLAGS = -I../belgolib
+
+@@ -28,13 +27,13 @@
+
+ test: $(OFILES)
+ $(CC) -o $(OEXE) $(OFILES) $(LDFLAGS)
+- strip $(OEXE)
++# strip $(OEXE)
+
+ clean:
+ -/bin/rm -f $(OFILES) $(OEXE)
+
+ depend:
+- makedepend $(CPP_HEADERS) -D__make_dep__ -- $(CFLAGS) -- $(CFILES)
++ makedepend $(CPP_HEADERS) -D__make_dep__ -- $(CXXFLAGS) -- $(CFILES)
+
+
+ # DO NOT DELETE
Copied: head/net/netmap/files/patch-netmap__config.h (from r352367, head/net/netmap/files/patch-netmap::config.h)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-netmap__config.h Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-netmap::config.h)
@@ -0,0 +1,10 @@
+--- netmap/config.h.orig Sun Dec 15 14:54:26 2002
++++ netmap/config.h Sun Dec 15 14:54:26 2002
+@@ -3,6 +3,7 @@
+
+ #include <list>
+ #include <string>
++using namespace std;
+
+ const string version = "NetMap 0.1.2 20011221";
+
Copied: head/net/netmap/files/patch-netmap__lookup.c (from r352367, head/net/netmap/files/patch-netmap::lookup.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-netmap__lookup.c Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-netmap::lookup.c)
@@ -0,0 +1,11 @@
+--- netmap/lookup.c.orig 2010-01-06 07:59:38.000000000 +0900
++++ netmap/lookup.c 2011-11-23 22:32:15.000000000 +0900
+@@ -1,6 +1,7 @@
+-#include <strstream>
+ #include <iostream>
+
++#include <sys/types.h>
++#include <sys/socket.h>
+ #include <netdb.h> //hostent def
+
+ //from belgolib
Copied: head/net/netmap/files/patch-netmap__misc.c (from r352367, head/net/netmap/files/patch-netmap::misc.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/netmap/files/patch-netmap__misc.c Sun May 4 15:31:11 2014 (r352960, copy of r352367, head/net/netmap/files/patch-netmap::misc.c)
@@ -0,0 +1,26 @@
+--- netmap/misc.c.orig Sun Dec 15 14:54:26 2002
++++ netmap/misc.c Sun Dec 15 14:54:26 2002
+@@ -1,4 +1,4 @@
+-#include <strstream>
++#include <sstream>
+ #include <string>
+
+ #include "misc.h"
+@@ -17,7 +17,7 @@
+
+ string int_to_str(int i)
+ {
+- strstream ost;
++ stringstream ost;
+
+ ost << i << char(0);
+
+@@ -55,7 +55,7 @@
+ return false;
+
+ bool had_point = false;
+- int beyond_point = 0;
++ unsigned int beyond_point = 0;
+
+ int int_first = 0;
+ for(unsigned i = 0; i < str.length(); i++) {
More information about the svn-ports-head
mailing list