freebsd-ports/science/felt/files/patch-src__Burlap__fefunc.c
Rong-En Fan 162005da10 - Fix build
- Use macro from bsd.sites.mk
- Remove USE_X_PREFIX
- Things in EXAMPLESDIR are controlled by PORTEXAMPLES, not PORTDOCS

PR:		ports/115396
Submitted by:	KATO Tsuguru <tkato432 at yahoo.com>
2007-08-15 14:47:19 +00:00

20 lines
624 B
C

--- src/Burlap/fefunc.c.orig Tue Feb 22 07:44:30 2000
+++ src/Burlap/fefunc.c Sat Aug 4 22:27:48 2007
@@ -190,7 +190,7 @@
D_Type (arg1) = T_Element;
D_Temp (arg1) = F_False;
D_Trapped (arg1) = F_False;
- D_Element (arg1) = &element;
+ arg1->u.ptr = &element;
D_Type (arg2) = T_Int;
D_Temp (arg2) = F_False;
@@ -247,7 +247,7 @@
D_Type (arg1) = T_Element;
D_Temp (arg1) = F_False;
D_Trapped (arg1) = F_False;
- D_Element (arg1) = &element;
+ arg1->u.ptr = &element;
if (!function_call (function, 1)) {
result = top ( );