FreeBSD Bugzilla – Attachment 76912 Details for
Bug 110806
sysutils/smartmontools does not detect drives on modern MBs [patch]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.92 KB, created by
Dmitry Morozovsky
on 2007-03-25 17:00:11 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitry Morozovsky
Created:
2007-03-25 17:00:11 UTC
Size:
1.92 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/sysutils/smartmontools/Makefile,v >retrieving revision 1.27 >diff -u -r1.27 Makefile >--- Makefile 3 Mar 2007 13:05:41 -0000 1.27 >+++ Makefile 25 Mar 2007 15:30:06 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= smartmontools > PORTVERSION= 5.37 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} > MASTER_SITE_SUBDIR= ${PORTNAME} >Index: files/patch-knowndrives.cpp >=================================================================== >RCS file: files/patch-knowndrives.cpp >diff -N files/patch-knowndrives.cpp >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-knowndrives.cpp 25 Mar 2007 15:30:06 -0000 >@@ -0,0 +1,14 @@ >+ >+$FreeBSD$ >+ >+--- knowndrives.cpp.orig >++++ knowndrives.cpp >+@@ -1031,7 +1031,7 @@ >+ NULL, NULL, NULL, NULL >+ }, >+ { "Western Digital Caviar SE (Serial ATA) family", >+- "^WDC WD((4|8|12|16|20|25|32)00JD|(12|16|20|25|30|32)00JS|1600AAJS)-.*$", >++ "^WDC WD((4|8|12|16|20|25|32)00[JP]D|(12|16|20|25|30|32)00JS|1600AAJS)-.*$", >+ ".*", >+ NULL, NULL, NULL, NULL >+ }, >Index: files/patch-os__freebsd.cpp >=================================================================== >RCS file: files/patch-os__freebsd.cpp >diff -N files/patch-os__freebsd.cpp >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-os__freebsd.cpp 25 Mar 2007 15:30:06 -0000 >@@ -0,0 +1,14 @@ >+ >+$FreeBSD$ >+ >+--- os_freebsd.cpp.orig >++++ os_freebsd.cpp >+@@ -1008,7 +1008,7 @@ >+ // to first list. Turn on NOCHECK for second call. This results in no >+ // error if no more matches found, however it does append the actual >+ // pattern to the list of paths.... >+- if ((retglob=glob(pattern1, GLOB_ERR, NULL, &globbuf)) || >++ if ((retglob=glob(pattern1, GLOB_ERR|GLOB_NOCHECK, NULL, &globbuf)) || >+ (retglob=glob(pattern2, GLOB_ERR|GLOB_APPEND|GLOB_NOCHECK,NULL,&globbuf))) { >+ int retval = -1; >+ // glob failed
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 110806
: 76912