NetBSD Problem Report #31400
From www@netbsd.org Mon Sep 26 23:05:01 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 787A063B87B; Mon, 26 Sep 2005 23:05:01 +0000 (UTC)
Message-Id: <20050926230501.787A063B87B@narn.netbsd.org>
Date: Mon, 26 Sep 2005 23:05:01 +0000 (UTC)
From: xtoddx@gmail.com
Reply-To: xtoddx@gmail.com
To: gnats-bugs@netbsd.org
Subject: security/ruby-digest missing #include <sys/types.h> / DragonFly
X-Send-Pr-Version: www-1.0
>Number: 31400
>Category: pkg
>Synopsis: security/ruby-digest missing #include <sys/types.h> / DragonFly
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: taca
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Sep 26 23:06:00 +0000 2005
>Closed-Date: Sun Oct 02 06:24:02 +0000 2005
>Last-Modified: Tue Nov 15 10:09:01 +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
>Release-Note:
>Audit-Trail:
From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/31400: security/ruby-digest missing #include <sys/types.h>
/ DragonFly
Date: Tue, 27 Sep 2005 08:29:43 +0900 (JST)
I think that there is no reason to add <sys/types.h> on DragonFly
only. Anyway, I'll look into this problem.
--
Takahiro Kambe <taca@back-street.net>
Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: taca@netbsd.org
Responsible-Changed-When: Mon, 26 Sep 2005 23:30:24 +0000
Responsible-Changed-Why:
I take this PR.
From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/31400: security/ruby-digest missing #include <sys/types.h>
/ DragonFly
Date: Wed, 28 Sep 2005 11:35:27 +0900 (JST)
Could you please try to use <stddef.h> instead of <sys/types.h> and
let me know the result?
--
Takahiro Kambe <taca@back-street.net>
From: Todd Willey <xtoddx@gmail.com>
To: gnats-bugs@netbsd.org
Cc: taca@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/31400: security/ruby-digest missing #include <sys/types.h> / DragonFly
Date: Wed, 28 Sep 2005 20:47:17 +0000
On 9/28/05, Takahiro Kambe <taca@back-street.net> wrote:
> The following reply was made to PR pkg/31400; it has been noted by GNATS.
>
> From: Takahiro Kambe <taca@back-street.net>
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/31400: security/ruby-digest missing #include <sys/types.=
h>
> / DragonFly
> Date: Wed, 28 Sep 2005 11:35:27 +0900 (JST)
>
> Could you please try to use <stddef.h> instead of <sys/types.h> and
> let me know the result?
>
> --
> Takahiro Kambe <taca@back-street.net>
>
>
Using stddef.h works.
-todd[1]
From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/31400 CVS commit: pkgsrc/security/ruby-digest
Date: Sun, 2 Oct 2005 06:17:43 +0000 (UTC)
Module Name: pkgsrc
Committed By: taca
Date: Sun Oct 2 06:17:43 UTC 2005
Modified Files:
pkgsrc/security/ruby-digest: Makefile distinfo
Added Files:
pkgsrc/security/ruby-digest/patches: patch-aa patch-ab patch-ac
Log Message:
Portability fixes from ruby-1.8's CVS fixing PR pkg/31400 by Todd Willey.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/security/ruby-digest/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/security/ruby-digest/distinfo
cvs rdiff -r0 -r1.1 pkgsrc/security/ruby-digest/patches/patch-aa \
pkgsrc/security/ruby-digest/patches/patch-ab \
pkgsrc/security/ruby-digest/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: taca@netbsd.org
State-Changed-When: Sun, 02 Oct 2005 06:24:02 +0000
State-Changed-Why:
The problem was fixed as different way (for portability to win32).
Thanks for your problem report.
From: Lubomir Sedlacik <salo@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/31400 CVS commit: [pkgsrc-2005Q3] pkgsrc/security/ruby-digest
Date: Tue, 15 Nov 2005 10:08:23 +0000 (UTC)
Module Name: pkgsrc
Committed By: salo
Date: Tue Nov 15 10:08:22 UTC 2005
Modified Files:
pkgsrc/security/ruby-digest [pkgsrc-2005Q3]: Makefile distinfo
Added Files:
pkgsrc/security/ruby-digest/patches [pkgsrc-2005Q3]: patch-aa patch-ab
patch-ac
Log Message:
Pullup ticket 873 - requested by Takahiro Kambe
portability fix for ruby-digest
Revisions pulled up:
- pkgsrc/security/ruby-digest/Makefile 1.14
- pkgsrc/security/ruby-digest/distinfo 1.3
- pkgsrc/security/ruby-digest/patches/patch-aa 1.1
- pkgsrc/security/ruby-digest/patches/patch-ab 1.1
- pkgsrc/security/ruby-digest/patches/patch-ac 1.1
Module Name: pkgsrc
Committed By: taca
Date: Sun Oct 2 06:17:43 UTC 2005
Modified Files:
pkgsrc/security/ruby-digest: Makefile distinfo
Added Files:
pkgsrc/security/ruby-digest/patches: patch-aa patch-ab patch-ac
Log Message:
Portability fixes from ruby-1.8's CVS fixing PR pkg/31400 by Todd Willey.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.13.4.1 pkgsrc/security/ruby-digest/Makefile
cvs rdiff -r1.2 -r1.2.2.1 pkgsrc/security/ruby-digest/distinfo
cvs rdiff -r0 -r1.2.2.1 pkgsrc/security/ruby-digest/patches/patch-aa \
pkgsrc/security/ruby-digest/patches/patch-ab \
pkgsrc/security/ruby-digest/patches/patch-ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.