]> git.pld-linux.org Git - packages/cdrdao.git/commitdiff
- opt patch (use $RPM_OPT_FLAGS, not -O20 to compile paranoia)
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 15 Mar 2001 18:27:44 +0000 (18:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cdrdao-opt.patch -> 1.1
    cdrdao.spec -> 1.5

cdrdao-opt.patch [new file with mode: 0644]
cdrdao.spec

diff --git a/cdrdao-opt.patch b/cdrdao-opt.patch
new file mode 100644 (file)
index 0000000..b70e724
--- /dev/null
@@ -0,0 +1,16 @@
+diff -Nur cdrdao-1.1.3.orig/paranoia/configure.in cdrdao-1.1.3/paranoia/configure.in
+--- cdrdao-1.1.3.orig/paranoia/configure.in    Tue Oct 26 18:13:45 1999
++++ cdrdao-1.1.3/paranoia/configure.in Thu Mar 15 01:42:51 2001
+@@ -16,10 +16,10 @@
+       case $host in 
+       i?86-*-linux*)
+               DEBUG="-g -Wall -fsigned-char"
+-              OPT="-O20 -ffast-math -fsigned-char -finline-functions";;
++              OPT="$CFLAGS -ffast-math -fsigned-char -finline-functions";;
+       *)
+               DEBUG="-g -Wall -fsigned-char"
+-              OPT="-O20 -fsigned-char";;
++              OPT="$CFLAGS -fsigned-char";;
+         esac
+ fi
index 200f0a8486db84ee6e5afebadc0f16bcab55c620..5bb108daea7f86678f01ebcb4650e78f6f25b24f 100644 (file)
@@ -12,14 +12,14 @@ Group:              Utilities/System
 Group(pl):     Narzêdzia/System
 License:       GPL
 Source0:       http://www.ping.de/sites/daneb/%{name}-%{version}.src.tar.gz
-Patch0:                cdrdao-destdir.patch
-BuildRequires: gcc-c++
+Patch0:                %{name}-destdir.patch
+Patch1:                %{name}-opt.patch
 BuildRequires: libstdc++-devel
+BuildRequires: libsigc++-devel
 BuildRequires: pccts-devel
 # Required by frontend.
 #BuildRequires:        gtk+-devel
 #BuildRequires:        gtkmm-devel
-BuildRequires: libsigc++-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,10 +33,12 @@ trybie masz znacznie wi
 %prep
 %setup  -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 #autoheader;autoconf;automake; 
-CFLAGS="-I%{_prefix}/X11R6/includes"; export CFLAGS
+(cd paranoia ; autoconf)
+#CFLAGS="-I%{_prefix}/X11R6/includes"
 %configure \
        --with-pcctsbin=%{_bindir} \
        --with-pcctsinc=%{_includedir}/pccts \
This page took 0.054781 seconds and 4 git commands to generate.