ports/48257: New Port: portdowngrade: a tool to set a port back to a

Tilman Linneweh arved at FreeBSD.org
Sat May 17 22:20:23 UTC 2003


Synopsis: New Port: portdowngrade: a tool to set a port back to a

State-Changed-From-To: open->feedback
State-Changed-By: arved
State-Changed-When: Sat May 17 15:13:18 PDT 2003
State-Changed-Why: 
This does not compile on my CURRENT:

source='portdowngrade.cpp' object='portdowngrade.o' libtool=no  depfile='.deps/portdowngrade.Po' tmpdepfile='.deps/portdowngrade.TPo'  depmode=gcc3 /bin/sh ../depcomp  c++ -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/local/include  -O -pipe -march=k6 -c -o portdowngrade.o `test -f portdowngrade.cpp || echo './'`portdowngrade.cpp
In file included from portdowngrade.cpp:36:
/usr/include/g++/fstream:304: warning: `typename std::basic_filebuf<_CharT,
   _Traits>::int_type' is implicitly a typename
/usr/include/g++/fstream:304: warning: implicit typename is deprecated, please
   see the documentation for details
/usr/include/g++/fstream:309: warning: `typename std::basic_filebuf<_CharT,
   _Traits>::int_type' is implicitly a typename
/usr/include/g++/fstream:309: warning: implicit typename is deprecated, please
   see the documentation for details
portdowngrade.cpp:37:17: slist: No such file or directory
portdowngrade.cpp:41: `string' was not declared in this scope
portdowngrade.cpp:41: syntax error before `;' token
portdowngrade.cpp:43: syntax error before `=' token
portdowngrade.cpp:44: syntax error before `=' token
portdowngrade.cpp:45: 'string' is used as a type, but is not defined as a type.
portdowngrade.cpp:51: 'string' is used as a type, but is not defined as a type.
portdowngrade.cpp:65: syntax error before `&' token
portdowngrade.cpp: In constructor `TempDir::TempDir()':
portdowngrade.cpp:55: syntax error before `getTempFile'
portdowngrade.cpp:56: `tempDir' undeclared (first use this function)
portdowngrade.cpp:56: (Each undeclared identifier is reported only once for
   each function it appears in.)
portdowngrade.cpp:60: `i_tempDir' undeclared (first use this function)
portdowngrade.cpp: At global scope:
portdowngrade.cpp:67: syntax error before `(' token

(needs stlport to compile?)

Further thoughts: 
- You may want to switch to a BSD License for a BSD utility :).
- You should add other anoncvs mirrors, and not overload anoncvs.FreeBSD.org
- Since you already have a configure script, you might want to check if cvs your path.


http://www.freebsd.org/cgi/query-pr.cgi?pr=48257



More information about the freebsd-ports-bugs mailing list