alsa-driver

Arkadiusz Miśkiewicz misiek w zsz2.starachowice.pl
Pią, 29 Sty 1999, 10:26:40 CET


[środa, 27 styczeń 1999], Andrzej Nakonieczny napisał(a):

> Pozdrawiam,
> Andrzej
> 
> PS. Now this is a part of PLD-devel and this bug report shouldn't be 
>     ignored ... ;) So ... ?
So, na incoming jest juz nowa alsa pre3 do której jeszcze proszę dołączyć tego
patcha (attachment) i tyle ...

> 
> 
> --
> email: dzemik w tuniv.szczecin.pl

-- 
  +- Arkadiusz Miśkiewicz -- Cron w irc.pl on @#plug -- misiek w pld.za.net -+
  + http://www.misiek.eu.org --- Poland --- SysAdm: zsz2.starachowice.pl +
  + Polish Linux Distribution Team Member - http://www.shadow.eu.org/PLD +
-------------- następna część ---------
diff -urN alsa-driver-0.3.0-pre3.orig/Makefile alsa-driver-0.3.0-pre3/Makefile
--- alsa-driver-0.3.0-pre3.orig/Makefile	Thu Jan 28 18:34:29 1999
+++ alsa-driver-0.3.0-pre3/Makefile	Thu Jan 28 18:34:36 1999
@@ -36,13 +36,12 @@
 	mkdir -p $(moddir)
 	rm -f $(moddir)/snd*.o $(moddir)/persist.o $(moddir)/isapnp.o
 	cp modules/*.o $(moddir)
-	/sbin/depmod -a $(kaversion)
 	install -m 755 -d $(prefix)/include/linux
 	install -m 644 include/asound.h $(prefix)/include/linux
 	install -m 644 include/asoundid.h $(prefix)/include/linux
 	install -m 644 include/asequencer.h $(prefix)/include/linux
 	if [ -x /etc/rc.d/init.d/alsasound ]; then \
-	  install -m 755 utils/alsasound /etc/rc.d/init.d/alsasound; \
+	  install -m 755 utils/alsasound $(sysconfdir)/etc/rc.d/init.d/alsasound; \
 	fi
 	cat WARNING
 
diff -urN alsa-driver-0.3.0-pre3.orig/include/asound.h alsa-driver-0.3.0-pre3/include/asound.h
--- alsa-driver-0.3.0-pre3.orig/include/asound.h	Thu Jan 28 18:34:29 1999
+++ alsa-driver-0.3.0-pre3/include/asound.h	Thu Jan 28 18:34:36 1999
@@ -26,7 +26,12 @@
 
 #if defined( LINUX ) || defined( __LINUX__ ) || defined( __linux__ )
 #include <linux/ioctl.h>
+#include <features.h>
+#if ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 1))
+#include <endian.h>
+#else
 #include <bytesex.h>
+#endif
 #if __BYTE_ORDER == __LITTLE_ENDIAN
 #define SND_LITTLE_ENDIAN
 #endif
diff -urN alsa-driver-0.3.0-pre3.orig/utils/alsasound alsa-driver-0.3.0-pre3/utils/alsasound
--- alsa-driver-0.3.0-pre3.orig/utils/alsasound	Thu Jan 28 18:34:32 1999
+++ alsa-driver-0.3.0-pre3/utils/alsasound	Thu Jan 28 18:36:11 1999
@@ -29,11 +29,17 @@
 
 alsactl=/usr/sbin/alsactl
 
+if [ -r /etc/modules.conf ]; then
+MODULES_CONF=/etc/modules.conf
+else
+MODULES_CONF=/etc/conf.modules
+fi
+
 function start() {
   #
   # insert all sound modules
   #
-  cat /etc/conf.modules | \
+  cat $MODULES_CONF | grep -v "off" | \
     grep -E "^alias.+snd-card-[[:digit:]]" | \
     awk '{print $3}' | \
     while read line; do \


Więcej informacji o liście dyskusyjnej pld-devel-pl