mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
textproc/ctpp2: do not use one of the obsolete C++ features
Deriving from the `std::binary_function' base class template was never really needed (it's just some seldom used typedefs) and it had been deprecated since C++11 to be finally removed in C++17.
This commit is contained in:
parent
e25d62fc9b
commit
465dc9cfc6
2 changed files with 13 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
PORTNAME= ctpp2
|
||||
PORTVERSION= 2.8.3
|
||||
PORTREVISION= 9
|
||||
PORTREVISION= 10
|
||||
CATEGORIES= textproc devel
|
||||
MASTER_SITES= http://ctpp.havoc.ru/download/
|
||||
|
||||
|
|
12
textproc/ctpp2/files/patch-include_CTPP2SyscallFactory.hpp
Normal file
12
textproc/ctpp2/files/patch-include_CTPP2SyscallFactory.hpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- include/CTPP2SyscallFactory.hpp.orig 2012-08-02 07:22:44 UTC
|
||||
+++ include/CTPP2SyscallFactory.hpp
|
||||
@@ -104,8 +104,7 @@ class CTPP2DECL SyscallFactory (private)
|
||||
@struct HandlerRefsSort SyscallFactory.hpp <SyscallFactory.hpp>
|
||||
@brief Case-insensitive sorting functor
|
||||
*/
|
||||
- struct HandlerRefsSort:
|
||||
- public STLW::binary_function<STLW::string, STLW::string, bool>
|
||||
+ struct HandlerRefsSort
|
||||
{
|
||||
/**
|
||||
@brief comparison operator
|
Loading…
Add table
Reference in a new issue