]> git.pld-linux.org Git - packages/cinelerra-cv.git/blob - cinelerra-cv-build.patch
- build fixes for current gcc/glibc
[packages/cinelerra-cv.git] / cinelerra-cv-build.patch
1 --- cinelerra-cv-2.1/configure.in.org   2006-11-26 03:33:50.056844000 +0100
2 +++ cinelerra-cv-2.1/configure.in       2006-11-26 03:33:55.053156250 +0100
3 @@ -99,14 +99,6 @@
4         LIBS=`echo "$LIBS" | sed -e s/-lasound//g`
5  fi
6  
7 -if test "x$enable_esd" = "xyes"; then
8 -       AM_PATH_ESD(,[esound=yes])
9 -       if test "x$esound" = xyes; then
10 -               SOUND_CFLAGS="$ESD_CFLAGS -DHAVE_ESOUND $SOUND_CFLAGS"
11 -               SOUND_LDFLAGS="$ESD_LIBS $SOUND_LDFLAGS"
12 -               enable_esd=ok
13 -       fi
14 -fi
15  AC_SUBST(SOUND_CFLAGS)
16  AC_SUBST(SOUND_LDFLAGS)
17  ############### END OF SOUND
18 --- cinelerra-cv-2.1/libmpeg3/video/Makefile.am 2008-08-23 14:53:19.959321239 +0000
19 +++ cinelerra-cv-2.1/libmpeg3/video/Makefile.am.org     2008-08-23 14:53:15.609327436 +0000
20 @@ -11,6 +11,7 @@
21  
22  if USEMMX
23  libmpeg3_video_la_SOURCES += mmxidct.S reconmmx.s
24 +AM_LIBTOOLFLAGS=--tag=CC
25  else
26  libmpeg3_video_la_SOURCES +=
27  endif
28 --- cinelerra-cv-2.1/mpeg2enc/Makefile.am~      2008-08-23 16:56:56.992840914 +0200
29 +++ cinelerra-cv-2.1/mpeg2enc/Makefile.am       2008-08-23 17:00:05.433238449 +0200
30 @@ -17,6 +17,7 @@
31  libmpeg2enc_la_SOURCES +=     fdct_mmx.s fdctdata.c idct_mmx.s idctdata.c \
32      quant_mmx.s quantize_x86.c predict_mmx.s \
33      predcomp_mmxe.s predcomp_mmx.s
34 +AM_LIBTOOLFLAGS=--tag=CC
35  endif
36  
37  noinst_HEADERS = attributes.h \
38 --- cv/configure.in.org 2008-10-27 10:15:06.091895546 +0100
39 +++ cv/configure.in     2008-10-27 10:15:21.304615704 +0100
40 @@ -356,12 +356,7 @@
41       dnl if not, that means that libswscale is compiled in
42       
43       AC_MSG_CHECKING(for ffmpeg swscale support)
44 -     saved_LIBS="$LIBS"
45 -     LIBS="$saved_LIBS $FFMPEG_TEMP_LIBS"
46 -     AC_TRY_LINK([#include <libavcodec/avcodec.h>],
47 -                [img_convert(0, 0, 0,0,0,0)],
48 -                enable_ffmpeg_swscale=no,enable_ffmpeg_swscale=yes)
49 -     LIBS="$saved_LIBS"
50 +     enable_ffmpeg_swscale=yes
51       AC_MSG_RESULT($enable_ffmpeg_swscale)
52       if test x"$enable_ffmpeg_swscale" = xyes; then
53              dnl AC_DEFINE(HAVE_SWSCALER)
54 --- cv/cinelerra/ffmpeg.C.org   2008-10-27 10:26:46.890782761 +0100
55 +++ cv/cinelerra/ffmpeg.C       2008-10-27 10:27:19.937445860 +0100
56 @@ -2,6 +2,7 @@
57  
58  #ifdef HAVE_SWSCALER
59  extern "C" {
60 +#include <avcodec.h>
61  #include <swscale.h>
62  }
63  #endif
64 --- cinelerra-cv/plugins/svg/svg.C~     2010-01-09 15:12:21.000000000 +0100
65 +++ cinelerra-cv/plugins/svg/svg.C      2010-06-03 17:56:46.125079418 +0200
66 @@ -29,6 +29,8 @@
67  #include <string.h>
68  #include <errno.h>
69  #include <sys/mman.h>
70 +#include <sys/types.h>
71 +#include <sys/stat.h>
72  
73  
74  #include <libintl.h>
75
76 --- cinelerra-cv/guicast/Makefile.am~   2012-11-18 13:43:23.212827961 +0100
77 +++ cinelerra-cv/guicast/Makefile.am    2012-11-18 13:55:19.386136040 +0100
78 @@ -1,7 +1,7 @@
79  lib_LTLIBRARIES = libguicast.la
80  noinst_PROGRAMS=bootstrap
81  
82 -libguicast_la_LIBADD = $(OPENGL_LIBS) -lXxf86vm -lXv -lXext -lX11 $(X_EXTRA_LIBS)
83 +libguicast_la_LIBADD = $(OPENGL_LIBS) -lXxf86vm -lXv -lXext -lX11 -lpng ../quicktime/libquicktimehv.la $(X_EXTRA_LIBS)
84  libguicast_la_LDFLAGS = $(X_LIBS) -version-info 1:0:0 
85  libguicast_la_SOURCES = \
86         bcbar.C \
87 --- cinelerra-cv/cinelerra/vdevicebuz.C~        2013-09-21 22:36:30.000000000 +0200
88 +++ cinelerra-cv/cinelerra/vdevicebuz.C 2013-11-07 09:02:07.102426371 +0100
89 @@ -44,6 +44,7 @@
90  
91  #include <errno.h>
92  #include <stdint.h>
93 +#include <string.h>
94  #include <linux/kernel.h>
95  #include <fcntl.h>
96  #include <sys/ioctl.h>
97 --- cinelerra-cv/cinelerra/videodevice.C~       2013-09-21 22:36:30.000000000 +0200
98 +++ cinelerra-cv/cinelerra/videodevice.C        2013-11-07 09:02:50.862426055 +0100
99 @@ -51,6 +51,7 @@
100  #include "videowindowgui.h"
101  #include "vframe.h"
102  
103 +#include <string.h>
104  #include <unistd.h>
105  #include <fcntl.h>
106  
This page took 0.076829 seconds and 3 git commands to generate.