pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40628: make sysutils/smartmontools actually work on DragonFly



>Number:         40628
>Category:       pkg
>Synopsis:       make sysutils/smartmontools actually work on DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 13 15:35:00 +0000 2009
>Originator:     Simon Schubert
>Release:        
>Organization:
DragonFly
>Environment:
>Description:
sysutils/smartmontools compiles on DragonFly, but doesn't work because of a 
missing preprocessor conditional.  Patch below fixes this issue.
>How-To-Repeat:
bmake/pkg_add the smartmontools package on DragonFly and execute smartctl on 
your hdd.

>Fix:
Comparing patches/patch-ah to 
../../../obj/pkgsrc/sysutils/smartmontools/work/.newpatches/patch-ah
12a13,21
> @@ -410,7 +409,7 @@ int ata_command_interface(int fd, smart_
>  #endif
>        return -1;
>  
> -#if __FreeBSD_version < 502000
> +#if !defined(__DragonFly__) && (__FreeBSD_version < 502000)
>      printwarning(NO_RETURN,NULL);
>  #endif
>  



Home | Main Index | Thread Index | Old Index