summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff')
-rw-r--r--net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff46
1 files changed, 46 insertions, 0 deletions
diff --git a/net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff b/net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff
new file mode 100644
index 000000000000..3122f88f5374
--- /dev/null
+++ b/net-dialup/mwavem/files/mwavem-1.0.4-gentoo.diff
@@ -0,0 +1,46 @@
+diff -u -r mwavem-1.0.4.orig/src/mwavem/Makefile.am mwavem-1.0.4/src/mwavem/Makefile.am
+--- mwavem-1.0.4.orig/src/mwavem/Makefile.am 2001-07-18 19:23:14.000000000 -0400
++++ mwavem-1.0.4/src/mwavem/Makefile.am 2003-09-08 15:47:29.000000000 -0400
+@@ -6,12 +6,12 @@
+
+ install-exec-local:
+ -chmod 755 mwaved
+- -mkdir -p /dev/modems
+- -mknod --mode=660 /dev/modems/mwave c 10 219
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
++# -mkdir -p /dev/modems
++# -mknod --mode=660 /dev/modems/mwave c 10 219
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
+
+ uninstall-local:
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
+
+diff -u -r mwavem-1.0.4.orig/src/mwavem/Makefile.in mwavem-1.0.4/src/mwavem/Makefile.in
+--- mwavem-1.0.4.orig/src/mwavem/Makefile.in 2002-10-15 18:22:49.000000000 -0400
++++ mwavem-1.0.4/src/mwavem/Makefile.in 2003-09-08 15:48:36.000000000 -0400
+@@ -321,14 +321,14 @@
+
+ install-exec-local:
+ -chmod 755 mwaved
+- -mkdir -p /dev/modems
+- -mknod --mode=660 /dev/modems/mwave c 10 219
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
++# -mkdir -p /dev/modems
++# -mknod --mode=660 /dev/modems/mwave c 10 219
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep 'alias char-major-10-219 mwave' /etc/modules.conf || echo "alias char-major-10-219 mwave" >>/etc/modules.conf
+
+ uninstall-local:
+- -cp -f /etc/modules.conf /etc/modules.conf~
+- -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
++# -cp -f /etc/modules.conf /etc/modules.conf~
++# -grep -v 'alias char-major-10-219 mwave' /etc/modules.conf~ >/etc/modules.conf
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.