1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-11 14:29:17 -04:00
ports/devel/ixlib/files/patch-test::javascript.cc
Pav Lucistnik 4fa5a1eaab - Unbreak on 5.x
- Respect CFLAGS
- Silence Portlint

PR:		ports/59770
Submitted by:	Sergey Matveychuk <sem@ciam.ru>
Approved by:	marcus (portmgr)
Approved by:	adamw (mentor)
2003-11-30 18:11:13 +00:00

20 lines
738 B
C++

--- test/javascript.cc.orig Fri Nov 28 12:57:33 2003
+++ test/javascript.cc Fri Nov 28 13:15:30 2003
@@ -64,7 +64,7 @@
// simple call-in example -----------------------------------------------------
-IXLIB_JS_DECLARE_FUNCTION(write) {
+IXLIB_JS_DECLARE_FUNCTION(write_) {
FOREACH_CONST(first,parameters,parameter_list)
cout << (*first)->toString();
return makeNull();
@@ -99,7 +99,7 @@
// end complex call-in example --------------------------------------------
// simple call-in example -------------------------------------------------
- ev = new write;
+ ev = new write_;
ip.RootScope->addMember("write",ev);
// end simple call-in example ---------------------------------------------