]> git.pld-linux.org Git - packages/aegisub.git/commitdiff
don't regenerate autotools files
authorJan Palus <atler@pld-linux.org>
Fri, 13 Aug 2021 19:27:03 +0000 (21:27 +0200)
committerJan Palus <atler@pld-linux.org>
Fri, 13 Aug 2021 19:27:03 +0000 (21:27 +0200)
they appear to be too dated. the only reason to do that anyway was
cflags patch but that's easily handled with --disable-compiler-flags
instead.

aegisub.spec
cflags.patch [deleted file]

index c3d119c1acd7dd72bf315efa29276f012462960c..0af5272a08d58508a65591189c559842deab7a94 100644 (file)
@@ -20,15 +20,12 @@ Patch0:             pthread.patch
 Patch1:                %{name}-icu.patch
 Patch2:                %{name}-icu64.patch
 Patch3:                %{name}-boost-1.70.patch
-Patch4:                cflags.patch
-Patch5:                make-4.3.patch
+Patch4:                make-4.3.patch
 URL:           http://www.aegisub.org/
 # AC_AGI_COMPILE tries to run test program which tries to open device and most likely fails
 #BuildRequires:        OpenAL-devel >= 0.0.8
 BuildRequires: OpenGL-devel
 BuildRequires: alsa-lib-devel
-BuildRequires: autoconf >= 2.57
-BuildRequires: automake
 BuildRequires: boost-devel >= 1.50.0
 %{?with_ffms2:BuildRequires:   ffms2-devel >= 2.16}
 BuildRequires: fftw3-devel >= 3.3
@@ -93,17 +90,14 @@ obsÅ‚uga tych zaawansowanych funkcji.
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
-%patch5 -p1
 
 %{__mv} vendor{,.keep}
 mkdir vendor
 %{__mv} vendor.keep/{luabins,luajit,universalchardet} vendor
 
 %build
-%{__aclocal} -I m4macros
-%{__autoconf}
-%{__autoheader}
 %configure \
+       --disable-compiler-flags \
        --disable-update-checker \
        %{__with_without ffms2} \
        --without-oss \
diff --git a/cflags.patch b/cflags.patch
deleted file mode 100644 (file)
index 4aa2ebc..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
---- aegisub-3.2.2/configure.ac~        2014-12-08 01:07:09.000000000 +0100
-+++ aegisub-3.2.2/configure.ac 2020-03-18 14:58:15.307035878 +0100
-@@ -142,7 +142,7 @@
-   CFLAGS="$CFLAGS -Wall -Wextra -Wno-unused-parameter -std=gnu99 -pipe -g"
-   CXXFLAGS="$CXXFLAGS -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -pipe -g"
-   AC_CXX_FLAG([-std=c++11])
--  AC_CXX_FLAG([-Wno-c++11-narrowing])
-+  AC_CXX_FLAG([-Wno-narrowing])
-   AC_C_FLAG([-Wno-unused-local-typedefs])
-   AC_CXX_FLAG([-Wno-unused-local-typedefs])
-@@ -151,8 +151,8 @@
-     CFLAGS="$CFLAGS -O0"
-     CXXFLAGS="$CXXFLAGS -O0"
-   ], [
--    CFLAGS="$CFLAGS -O3"
--    CXXFLAGS="$CXXFLAGS -O3"
-+    CFLAGS="$CFLAGS"
-+    CXXFLAGS="$CXXFLAGS"
-   ])
- ])
This page took 0.05711 seconds and 4 git commands to generate.