]> git.pld-linux.org Git - packages/k3b.git/commitdiff
- Uncommented out workaround for 'slots' issue in linux/cdrom.h. Now should build...
authorMateusz Korniak <matkor@pld-linux.org>
Tue, 22 Jul 2003 08:45:23 +0000 (08:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    k3b.spec -> 1.21

k3b.spec

index cdd75fa1baf6bad08e8347083c12d3e0a2b4f8bd..18e53f1f7ea520ed6ee2195d99eda077a5d44c73 100644 (file)
--- a/k3b.spec
+++ b/k3b.spec
@@ -4,7 +4,7 @@ Summary:        The CD Kreator
 Summary(pl):   Kreator CD
 Name:          k3b
 Version:       0.9
-Release:       0.1
+Release:       0.2
 License:       GPL
 Group:         X11/Applications
 Source0:       http://dl.sourceforge.net/k3b/%{name}-%{version}.tar.gz
@@ -83,9 +83,14 @@ kde_appsdir="%{_applnkdir}"; export kde_appsdir
 kde_htmldir="%{_htmldir}"; export kde_htmldir
 kde_icondir="%{_pixmapsdir}"; export kde_icondir
 
-#mkdir linux
-#sed -e 's#slots\[CDROM_MAX_SLOTS\]#kde_slots\[CDROM_MAX_SLOTS\]#g' \
-#/usr/include/linux/cdrom.h > linux/cdrom.h
+
+# same thing as with kdemultimedia 
+# includes kernel headers which breaks things
+# with PLD kernels 2.4.x, below workaround  by misiek
+
+mkdir linux
+sed -e 's#slots\[CDROM_MAX_SLOTS\]#kde_slots\[CDROM_MAX_SLOTS\]#g' \
+/usr/include/linux/cdrom.h > linux/cdrom.h
 
 
 %configure \
This page took 0.03435 seconds and 4 git commands to generate.