summaryrefslogtreecommitdiff
path: root/multimedia/transcode/patches/patch-ai
blob: a8c2fbf45ffad02b33af1c133e86d4c089a9932a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ai,v 1.2 2005/10/10 21:23:24 joerg Exp $

diff -rcp import/nuv/rtjpeg_vid_plugin.c import/nuv/rtjpeg_vid_plugin.c
*** import/nuv/rtjpeg_vid_plugin.c	Tue Apr  8 20:50:11 2003
--- import/nuv/rtjpeg_vid_plugin.c	Mon Jun  9 17:47:40 2003
*************** int rtjpeg_vid_open(char *tplorg)
*** 108,114 ****
      regions[0].end   = -1;
    }
  
! #if defined(__FreeBSD__) || defined(__APPLE__) 
    rtjpeg_vid_file=open(tplorg, O_RDONLY);
  #else 
    rtjpeg_vid_file=open(tplorg, O_RDONLY|O_LARGEFILE);
--- 108,114 ----
      regions[0].end   = -1;
    }
  
! #if defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__) || defined(__DragonFly__)
    rtjpeg_vid_file=open(tplorg, O_RDONLY);
  #else 
    rtjpeg_vid_file=open(tplorg, O_RDONLY|O_LARGEFILE);