]> git.pld-linux.org Git - packages/avifile.git/commitdiff
- added gcc34 patch (fix building with gcc-3.4)
authorgrzegol <grzegol@pld-linux.org>
Fri, 2 Jul 2004 19:13:00 +0000 (19:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added -fno-unit-at-a-time to CPPFLAGS and CFLAGS (it doesn't compile
  without this option - at least with gcc-3.4)

Changed files:
    avifile.spec -> 1.168

avifile.spec

index a46b60abe00fda469daeb5b3f5547336a37db808..687459bf07e2302d78f0398a0999076769f97bc1 100644 (file)
@@ -35,6 +35,7 @@ Patch14:      %{name}-linux2.6.patch
 Patch15:       %{name}-xvid1.patch
 Patch16:       %{name}-opts.patch
 Patch17:       %{name}-mp3.patch
+Patch18:       %{name}-gcc34.patch
 URL:           http://avifile.sourceforge.net/
 BuildRequires: SDL-devel >= 1.2.0
 BuildRequires: XFree86-devel
@@ -351,6 +352,7 @@ Sterownik VIDIX dla kart graficznych Permedia.
 %patch15 -p1
 %patch16 -p1
 %patch17 -p1
+%patch18 -p1
 
 # unwanted hack
 rm -f m4/as.m4
@@ -365,7 +367,8 @@ rm -f m4/as.m4
 %{__automake}
 
 %configure \
-       CPPFLAGS="-I/usr/include/divx" \
+       CPPFLAGS="-I/usr/include/divx -fno-unit-at-a-time" \
+       CFLAGS="-fno-unit-at-a-time" \
        --with-qt-includes=%{_includedir}/qt \
        --with-qt-libraries=%{_libdir} \
        --enable-a52 \
This page took 0.07862 seconds and 4 git commands to generate.