diff -Naur zphoto-1.2/configure zphoto-1.2.fink/configure --- zphoto-1.2/configure Wed Jul 21 01:49:27 2004 +++ zphoto-1.2.fink/configure Sun Sep 26 19:37:57 2004 @@ -4494,7 +4494,7 @@ SWFMovie_save(movie, "foo"); /* 0.2a API */ } EOF -if $CC -c tmp.c > /dev/null 2>&1; then +if $CC -I@PREFIX@/include -c tmp.c > /dev/null 2>&1; then cat >>confdefs.h <<_ACEOF #define MING_0_2a 1 diff -Naur zphoto-1.2/flash.c zphoto-1.2.fink/flash.c --- zphoto-1.2/flash.c Wed Jul 21 01:48:11 2004 +++ zphoto-1.2.fink/flash.c Sun Sep 26 20:23:05 2004 @@ -409,6 +409,7 @@ SWFDisplayItem shadow; SWFMovieClip clip; float shadow_offset; + SWFDisplayItem item; clip = newSWFMovieClip(); shadow_offset = photo->size.width * maker->photo_margin / 2; @@ -421,7 +422,8 @@ } else { SWFShape image = create_image(maker, photo->bitmap, photo->size, border_line_width, border_color); - SWFMovieClip_add(clip, image); + item = SWFMovieClip_add(clip, image); + SWFDisplayItem_moveTo(item, 0, 0); SWFMovieClip_nextFrame(clip); } @@ -518,7 +520,8 @@ caption.clip = newSWFMovieClip(); caption.size = frame.size; - SWFMovieClip_add(caption.clip, frame.shape); + item = SWFMovieClip_add(caption.clip, frame.shape); + SWFDisplayItem_moveTo(item, 0, 0); item = SWFMovieClip_add(caption.clip, text.text); SWFDisplayItem_moveTo(item, 0, frame.size.height); diff -Naur zphoto-1.2/support/Makefile.in zphoto-1.2.fink/support/Makefile.in --- zphoto-1.2/support/Makefile.in Wed Jul 21 01:49:23 2004 +++ zphoto-1.2.fink/support/Makefile.in Sun Sep 26 18:52:41 2004 @@ -56,7 +56,7 @@ LIBRARIES = $(noinst_LIBRARIES) libsupport_a_AR = $(AR) $(ARFLAGS) libsupport_a_DEPENDENCIES = @LIBOBJS@ -am_libsupport_a_OBJECTS = +am_libsupport_a_OBJECTS = null.c libsupport_a_OBJECTS = $(am_libsupport_a_OBJECTS) DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) depcomp = $(SHELL) $(top_srcdir)/depcomp diff -Naur zphoto-1.2/support/null.c zphoto-1.2.fink/support/null.c --- zphoto-1.2/support/null.c Thu Jan 1 09:00:00 1970 +++ zphoto-1.2.fink/support/null.c Sun Sep 26 18:51:20 2004 @@ -0,0 +1 @@ +void null() {} diff -Naur zphoto-1.2/util.c zphoto-1.2.fink/util.c --- zphoto-1.2/util.c Wed Jul 21 01:48:11 2004 +++ zphoto-1.2.fink/util.c Sun Sep 26 18:55:10 2004 @@ -79,7 +79,7 @@ va_end(args); } -#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) +#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__) /* * They have the declaration of vasprintf in stdio.h */