summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2004-10-01 22:52:21 +0000
committerDaniel Black <dragonheart@gentoo.org>2004-10-01 22:52:21 +0000
commit8e6964f7752a5eb9bc900dda85740954abe566dd (patch)
treebe3eb2294a51304ca2a1e7580d3150d30eed1e9f /net-dialup
parentRemoved doc useflag. (Manifest recommit) (diff)
downloadgentoo-2-8e6964f7752a5eb9bc900dda85740954abe566dd.tar.gz
gentoo-2-8e6964f7752a5eb9bc900dda85740954abe566dd.tar.bz2
gentoo-2-8e6964f7752a5eb9bc900dda85740954abe566dd.zip
Fixes compile for 2.4 kernels (bug #65743 and #61825)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/slmodem/ChangeLog7
-rw-r--r--net-dialup/slmodem/files/slmodem-2.9.10-makefile-fixup.patch8
2 files changed, 10 insertions, 5 deletions
diff --git a/net-dialup/slmodem/ChangeLog b/net-dialup/slmodem/ChangeLog
index 749887c2d6ee..3f90d0d43bd5 100644
--- a/net-dialup/slmodem/ChangeLog
+++ b/net-dialup/slmodem/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/slmodem
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.25 2004/09/23 22:59:28 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/slmodem/ChangeLog,v 1.26 2004/10/01 22:52:21 dragonheart Exp $
+
+ 02 Oct 2004; Daniel Black <dragonheart@gentoo.org>
+ files/slmodem-2.9.10-makefile-fixup.patch:
+ Fixes compile for 2.4 kernels (bug #65743 and #61825). Thanks to Alin
+ Nastac <mrness@gentoo.ro> for the fixed patch
*slmodem-2.9.10 (24 Sep 2004)
diff --git a/net-dialup/slmodem/files/slmodem-2.9.10-makefile-fixup.patch b/net-dialup/slmodem/files/slmodem-2.9.10-makefile-fixup.patch
index 544e10b63a4c..203454637d23 100644
--- a/net-dialup/slmodem/files/slmodem-2.9.10-makefile-fixup.patch
+++ b/net-dialup/slmodem/files/slmodem-2.9.10-makefile-fixup.patch
@@ -1,6 +1,6 @@
diff -Nru slmodem-2.9.10.orig/Makefile slmodem-2.9.10/Makefile
--- slmodem-2.9.10.orig/Makefile 2004-08-08 16:27:51.000000000 +0300
-+++ slmodem-2.9.10/Makefile 2004-09-23 21:55:55.275220920 +0300
++++ slmodem-2.9.10/Makefile 2004-09-29 23:49:21.601948472 +0300
@@ -13,7 +13,9 @@
#
###########################################################################
@@ -44,7 +44,7 @@ diff -Nru slmodem-2.9.10.orig/Makefile slmodem-2.9.10/Makefile
$(foreach dir,$(sub-dirs),$(MAKE) -C $(dir) $(patsubst %-sub-dirs,%,$@) && ) echo "done."
diff -Nru slmodem-2.9.10.orig/drivers/Makefile slmodem-2.9.10/drivers/Makefile
--- slmodem-2.9.10.orig/drivers/Makefile 2003-12-21 23:15:54.000000000 +0200
-+++ slmodem-2.9.10/drivers/Makefile 2004-09-23 21:47:51.456772504 +0300
++++ slmodem-2.9.10/drivers/Makefile 2004-09-29 23:50:09.901605808 +0300
@@ -16,9 +16,17 @@
#KBUILD_VERBOSE=1
#export KBUILD_VERBOSE
@@ -123,7 +123,7 @@ diff -Nru slmodem-2.9.10.orig/drivers/Makefile slmodem-2.9.10/drivers/Makefile
+ cp /etc/modules.conf $(DESTDIR)/etc/modules.conf.slamr && \
+ echo 'alias char-major-212 slamr' >> $(DESTDIR)/etc/modules.conf && \
+ echo 'alias char-major-213 slusb' >> $(DESTDIR)/etc/modules.conf
-+ /sbin/depmod -a
++# /sbin/depmod -a
+
+install-modules: uninstall-old
install -D -m 644 slamr.o $(module-dir)/slamr.o
@@ -180,7 +180,7 @@ diff -Nru slmodem-2.9.10.orig/drivers/Makefile slmodem-2.9.10/drivers/Makefile
+.PHONY: install install-modules uninstall-old install-devices remove-devices all
diff -Nru slmodem-2.9.10.orig/modem/Makefile slmodem-2.9.10/modem/Makefile
--- slmodem-2.9.10.orig/modem/Makefile 2003-11-20 14:50:47.000000000 +0200
-+++ slmodem-2.9.10/modem/Makefile 2004-09-23 21:47:51.457772352 +0300
++++ slmodem-2.9.10/modem/Makefile 2004-09-29 23:49:21.602948320 +0300
@@ -16,8 +16,7 @@
CC:= gcc
RM:= rm -f