openbsd-ports/graphics/transcode/patches/patch-src_zoom_c
sturm 55ff7d07a4 Initial import of transcode 0.6.12
transcode is a text console video-stream processing tool. 
It supports elementary video and audio frame transformations. 
Some example modules are included to enable import of MPEG-1/2, 
Digital Video, and other formats. It also includes export 
modules for writing to AVI files with DivX, OpenDivX, XviD,
Digital Video or other codecs. Direct DVD transcoding is also 
supported. A set of tools is available to extract and decode 
the sources into raw video/audio streams for import and to 
enable post-processing of AVI files.

from Waldemar Brodkorb and Jacob Meuser, maintained by
Waldemar Brodkorb <wbx at openbsd.de>
2004-06-18 18:56:42 +00:00

24 lines
560 B
Plaintext

$OpenBSD: patch-src_zoom_c,v 1.1.1.1 2004/06/18 18:56:43 sturm Exp $
--- src/zoom.c.orig 2003-12-20 03:49:01.000000000 -0800
+++ src/zoom.c 2004-04-28 10:26:59.000000000 -0700
@@ -92,11 +92,17 @@
- Added implementation of getopt() if compiling under Windows.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#if !defined(__FreeBSD__) && !defined(__APPLE__)
-#include <malloc.h>
+#ifndef SYS_BSD
+# ifdef HAVE_MALLOC_H
+# include <malloc.h>
+# endif
#endif
#include <math.h>