ports/databases/clip/files/patch-cliplibs_clip-gtk2_common.c
Sam Lawrance bb8a25690e - Update to 1.1.14.1 [1]
- Remove some patches that are now applied on the source code [1]
- Use OPTIONS for some dependencies now
- Makefile and build script changes causing build to fail-fast
  rather than continue when errors occur; also explicitly build
  options rather than allowing build failures
- Misc other simple build fixes

Removed file(s) [1]:
- files/patch-clip::clip_makeslib.in
- files/patch-cliplibs::clip-gd::gd::gdft.c
- files/patch-cliplibs::clip-gtkextra::configure
- files/patch-gd::configure

PR:		ports/78536 [1]
Submitted by:	Renato Botelho <renato@galle.com.br>
Approved by:	clement (mentor)
2005-04-17 08:52:35 +00:00

22 lines
890 B
C

--- cliplibs/clip-gtk2/common.c.orig Wed Mar 2 19:50:57 2005
+++ cliplibs/clip-gtk2/common.c Fri Apr 15 13:17:57 2005
@@ -142,6 +142,8 @@
_list_remove_cobject(ClipMachine * cm)
{
ClipVar *cv;
+ C_object *cobj;
+ C_widget *cwid;
if (widget_list->t.type != MAP_t)
return;
cv = (ClipVar *)&(widget_list->m.items[0]);
@@ -152,8 +154,8 @@
cv = (ClipVar *)&(widget_list->m.items[0]);
else
break;
- C_object *cobj = (C_object *)((long)(((ClipVar*)&(cv->m.items[0]))->n.d));
- C_widget *cwid = (C_widget *)((long)(((ClipVar*)&(cv->m.items[0]))->n.d));
+ cobj = (C_object *)((long)(((ClipVar*)&(cv->m.items[0]))->n.d));
+ cwid = (C_widget *)((long)(((ClipVar*)&(cv->m.items[0]))->n.d));
if (cobj->objtype)
destroy_c_object(cobj);