diff options
| author | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-09-08 23:10:39 +0000 |
|---|---|---|
| committer | Jean-Yves Lefort <jylefort@FreeBSD.org> | 2005-09-08 23:10:39 +0000 |
| commit | 6409d34156419f29c633a186de989068c8bd95d1 (patch) | |
| tree | 70f6a67a6255460755d8d19b2d73b9a06fe90432 /textproc/permute/files/patch-permute.cpp | |
| parent | Delete *.orig after patching (fixes pkg-plist) (diff) | |
Add permute.
Permute is a simple program to read lines from standard input and
generate all possible permutations of those lines.
WWW: http://pigseye.kennesaw.edu/~rbentley/
PR: ports/85865
Submitted by: Erik Greenwald <erik@smluc.org>
Diffstat (limited to '')
| -rw-r--r-- | textproc/permute/files/patch-permute.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/textproc/permute/files/patch-permute.cpp b/textproc/permute/files/patch-permute.cpp new file mode 100644 index 000000000000..cafa0e84e6f4 --- /dev/null +++ b/textproc/permute/files/patch-permute.cpp @@ -0,0 +1,15 @@ +--- permute.cpp.orig Fri Jul 14 14:51:01 2000 ++++ permute.cpp Thu Sep 8 07:07:31 2005 +@@ -18,8 +18,10 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <assert.h> +-#include <iostream.h> +-#include <string.h> ++#include <iostream> ++#include <string> ++ ++using namespace std; + + //============================================================================= + // |
