Subject: pkg/31400: security/ruby-digest missing #include / DragonFly
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <xtoddx@gmail.com>
List: pkgsrc-bugs
Date: 09/26/2005 23:06:00
>Number:         31400
>Category:       pkg
>Synopsis:       security/ruby-digest missing #include <sys/types.h> / DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 23:06:00 +0000 2005
>Originator:     Todd Willey
>Release:        
>Organization:
>Environment:
>Description:

>How-To-Repeat:

>Fix:
? work
cvs diff: Diffing .
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/security/ruby-digest/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo    18 Sep 2005 01:25:07 -0000      1.2
+++ distinfo    26 Sep 2005 23:02:18 -0000
@@ -3,3 +3,6 @@
 SHA1 (ruby/ruby-1.8.2.tar.gz) = 409a917d3a0aba41f45bd053b767c85b2bc35ffa
 RMD160 (ruby/ruby-1.8.2.tar.gz) = fc4dcdc2dda9bfbcf8ca19ca090aa55a18ea06a4
 Size (ruby/ruby-1.8.2.tar.gz) = 3627349 bytes
+SHA1 (patch-aa) = c6cca9f4993f0a3ed823eca230c0d264a1ab10b5
+SHA1 (patch-ab) = 5955c63516426ddb9c7c4b4904f6c443b3a02f28
+SHA1 (patch-ac) = ba48bc35bad5b4012617b26eca3a4faacfa3b281
cvs diff: Diffing patches
Index: patches/patch-aa
===================================================================
RCS file: patches/patch-aa
diff -N patches/patch-aa
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-aa    26 Sep 2005 23:02:18 -0000
@@ -0,0 +1,13 @@
+--- md5/md5ossl.h.orig 2005-09-26 18:56:33.000000000 +0000
++++ md5/md5ossl.h      2005-09-26 18:53:40.000000000 +0000
+@@ -3,6 +3,10 @@
+ #ifndef MD5OSSL_H_INCLUDED
+ #define MD5OSSL_H_INCLUDED
+ 
++#ifdef __DragonFly__
++#include <sys/types.h>
++#endif
++
+ #include <openssl/md5.h>
+ 
+ void MD5_End(MD5_CTX *pctx, unsigned char *hexdigest);
Index: patches/patch-ab
===================================================================
RCS file: patches/patch-ab
diff -N patches/patch-ab
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-ab    26 Sep 2005 23:02:18 -0000
@@ -0,0 +1,13 @@
+--- rmd160/rmd160ossl.h.orig   2005-09-26 18:59:01.000000000 +0000
++++ rmd160/rmd160ossl.h        2005-09-26 18:59:33.000000000 +0000
+@@ -3,6 +3,10 @@
+ #ifndef RMD160OSSL_H_INCLUDED
+ #define RMD160OSSL_H_INCLUDED
+ 
++#ifdef __DragonFly__
++#include <sys/types.h>
++#endif
++
+ #include <openssl/ripemd.h>
+ 
+ #define RMD160_CTX    RIPEMD160_CTX
Index: patches/patch-ac
===================================================================
RCS file: patches/patch-ac
diff -N patches/patch-ac
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ patches/patch-ac    26 Sep 2005 23:02:18 -0000
@@ -0,0 +1,13 @@
+--- sha1/sha1ossl.h.orig       2005-09-26 19:03:40.000000000 +0000
++++ sha1/sha1ossl.h    2005-09-26 19:04:15.000000000 +0000
+@@ -3,6 +3,10 @@
+ #ifndef SHA1OSSL_H_INCLUDED
+ #define SHA1OSSL_H_INCLUDED
+ 
++#ifdef __DragonFly__
++#include <sys/types.h>
++#endif
++
+ #include <openssl/sha.h>
+ 
+ #define SHA1_CTX      SHA_CTX