[arch-commits] Commit in ndiswrapper-utils/repos/core-x86_64 (2 files)

Eric Bélanger eric at archlinux.org
Sat Jul 11 18:23:10 UTC 2009


    Date: Saturday, July 11, 2009 @ 14:23:10
  Author: eric
Revision: 45447

add missing patch for x86_64

Added:
  ndiswrapper-utils/repos/core-x86_64/module-init-tools.patch
Modified:
  ndiswrapper-utils/repos/core-x86_64/PKGBUILD

-------------------------+
 PKGBUILD                |    3 ++-
 module-init-tools.patch |   20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-07-11 17:03:01 UTC (rev 45446)
+++ PKGBUILD	2009-07-11 18:23:10 UTC (rev 45447)
@@ -13,6 +13,8 @@
 conflicts=('ndiswrapper-bin')
 source=(http://downloads.sourceforge.net/ndiswrapper/ndiswrapper-$pkgver.tar.gz
 	module-init-tools.patch)
+md5sums=('fc9ebd3985967727da494ec298ad4487'
+         '35751aea4aba80520f1310d8639dbfb9')
 
 build()
 {
@@ -22,4 +24,3 @@
   make || return 1
   make DESTDIR=$startdir/pkg install
 }
-

Added: module-init-tools.patch
===================================================================
--- module-init-tools.patch	                        (rev 0)
+++ module-init-tools.patch	2009-07-11 18:23:10 UTC (rev 45447)
@@ -0,0 +1,20 @@
+--- utils/ndiswrapper~	2009-06-21 09:52:13.000000000 +0200
++++ utils/ndiswrapper	2009-06-21 09:52:13.000000000 +0200
+@@ -57,7 +57,7 @@
+ if (`uname -r` =~ /(\d+)\.(\d+)\.(\d+)/) {
+     if ($2 > 4) {
+ 	if (-d "/etc/modprobe.d") {
+-	    $modconf = "/etc/modprobe.d/ndiswrapper";
++	    $modconf = "/etc/modprobe.d/ndiswrapper.conf";
+ 	} else {
+ 	    $modconf = "/etc/modprobe.conf";
+ 	}
+@@ -786,7 +786,7 @@
+     if (-d "/etc/modprobe.d") {
+ 	$device_map = $modconf;
+     } elsif (-d "/etc/modules.d") {
+-	$device_map = "/etc/modules.d/ndiswrapper";
++	$device_map = "/etc/modules.d/ndiswrapper.conf";
+     } else {
+ 	$device_map = "/etc/ndiswrapper/ndiswrapper";
+     }




More information about the arch-commits mailing list