openbsd-ports/lang/freehdl/patches/patch-v2cc_v2cc_cc

25 lines
420 B
Plaintext

$OpenBSD: patch-v2cc_v2cc_cc,v 1.1 2017/06/03 14:25:16 espie Exp $
don't declare empty std.
Index: v2cc/v2cc.cc
--- v2cc/v2cc.cc.orig
+++ v2cc/v2cc.cc
@@ -35,8 +35,6 @@
*/
-using namespace std;
-
#if HAVE_MALLOC_H
#include <malloc.h>
#endif
@@ -55,6 +53,8 @@ using namespace std;
#include "mapping.h"
#include "v2cc-chunk.h"
#include "v2cc-util.h"
+
+using namespace std;
// Declare here for now -- TLD