]> git.pld-linux.org Git - packages/allegro.git/commitdiff
- dropped outdated/unsupported/unmaintained frame-pointer patch
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Oct 2010 07:27:17 +0000 (07:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- restored svgalib BR
- pass CMAKE_C_FLAGS_RELEASE to avoid overriding our optflags by -O3

Changed files:
    allegro.spec -> 1.81

allegro.spec

index 68c610fc1a4b9f9c5379f3e2f0baaf8146dd50c7..fcc1b12c3dd1a74de04cd5c6270a59c1cd019aa2 100644 (file)
@@ -28,8 +28,7 @@ Group:                Libraries
 Source0:       http://downloads.sourceforge.net/alleg/%{name}-%{version}.tar.gz
 # Source0-md5: 0f1cfff8f2cf88e5c91a667d9fd386ec
 Patch0:                %{name}-info.patch
-#Patch1: %{name}-frame-pointer.patch
-Patch2:                %{name}-config.patch
+Patch1:                %{name}-config.patch
 URL:           http://alleg.sourceforge.net/
 BuildRequires: OpenGL-GLU-devel
 BuildRequires: OpenGL-devel
@@ -41,7 +40,7 @@ BuildRequires:        libpng-devel
 BuildRequires: libstdc++-devel
 BuildRequires: libvorbis-devel
 BuildRequires: pkgconfig
-#%{?with_svga:BuildRequires:   svgalib-devel}
+%{?with_svga:BuildRequires:    svgalib-devel}
 BuildRequires: texinfo
 BuildRequires: xorg-lib-libX11-devel
 BuildRequires: xorg-lib-libXcursor-devel
@@ -327,14 +326,14 @@ biblioteki allegro.
 %prep
 %setup -q
 %patch0 -p1
-#%%patch1 -p1
-%patch2 -p1
+%patch1 -p1
 
 %build
 install -d build
 cd build
 %cmake .. \
        -DCMAKE_BUILD_TYPE=%{!?debug:Release}%{?debug:Debug} \
+       -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
        -DCMAKE_INSTALL_PREFIX=%{_prefix} \
        -DCMAKE_VERBOSE_MAKEFILE=1 \
        -DMANDIR=%{_mandir} \
This page took 0.094902 seconds and 4 git commands to generate.