You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-tex/cpp2latex/files/cpp2latex-2.3-tests.patch

16 lines
443 B

Index: cpp2latex-2.3/cpp2latex/getopttest.cpp
===================================================================
--- cpp2latex-2.3.orig/cpp2latex/getopttest.cpp
+++ cpp2latex-2.3/cpp2latex/getopttest.cpp
@@ -2,7 +2,9 @@
#include <iostream>
#include <getopt.h>
-void main( int argc, char* argv[] )
+using namespace std;
+
+int main( int argc, char* argv[] )
{
int optch=0, optc=1;
while( ( optch = getopt( argc,argv, "h:a:k" ) ) > 0 )