--- src/video_out/video_out_sdl.c 2003-02-14 15:47:37.000000000 +0100 +++ src/video_out/video_out_sdl.c 2003-05-08 14:28:24.000000000 +0200 @@ -48,7 +48,7 @@ #include #include #if defined (__FreeBSD__) -# include +# include #else # include #endif --- src/xine-engine/audio_out.c.orig Sun Jul 27 18:42:56 2003 +++ src/xine-engine/audio_out.c Mon Aug 11 09:41:32 2003 @@ -425,7 +425,7 @@ num_frames = pts_len * this->frames_per_kpts / 1024; xprintf (this->xine, XINE_VERBOSITY_DEBUG, - "inserting %d 0-frames to fill a gap of %" PRId64 " pts\n", num_frames, pts_len); + "inserting %d 0-frames to fill a gap of %lu pts\n", num_frames, (unsigned long)pts_len); if ((this->output.mode == AO_CAP_MODE_A52) || (this->output.mode == AO_CAP_MODE_AC5)) { write_pause_burst(this,num_frames); @@ -790,7 +790,7 @@ this->resample_sync_factor = (avg_gap < 0) ? 0.995 : 1.005; llprintf (LOG_RESAMPLE_SYNC, - "sample rate adjusted to reduce gap: gap=%" PRId64 "\n", avg_gap); + "sample rate adjusted to reduce gap: gap=%lu\n", (unsigned long)avg_gap); return 0; } else if (info->reduce_gap && abs(avg_gap) < 50) { Index: src/video_out/video_out_pgx64.c --- src/video_out/video_out_pgx64.c.orig 2003-11-21 20:12:57.000000000 +0100 +++ src/video_out/video_out_pgx64.c 2003-11-21 20:22:28.000000000 +0100 @@ -345,6 +345,8 @@ frame->vo_frame.proc_frame = NULL; frame->vo_frame.proc_slice = NULL; +#define memalign(n,l) (((int)(l / n) + 1) * n) + switch (format) { case XINE_IMGFMT_YUY2: frame->native_format = VIDEO_FORMAT_YUY2; @@ -522,7 +524,9 @@ this->vregs[CAPTURE_CONFIG] = this->dblbuf_select ? le2me_32(CAPTURE_CONFIG_BUF1) : le2me_32(CAPTURE_CONFIG_BUF0); this->dblbuf_select = 1 - this->dblbuf_select; +#ifdef FBIOVERTICAL ioctl(this->fbfd, FBIOVERTICAL); +#endif if (this->current != NULL) { this->current->vo_frame.free(&this->current->vo_frame);