# [tschwinge@gnu.org: [PATCH] Support building on GNU/Hurd]

3 messages from 2007-08-02 to 2007-08-02. Participants: Thomas Schwinge, Junio C Hamano.
Thread: https://gitlist.dev/t/9351

## Thomas Schwinge, 2007-08-02 08:56

Subject: [tschwinge@gnu.org: [PATCH] Support building on GNU/Hurd]
Message-ID: <20070802085642.GK6234@fencepost.gnu.org>
URL: https://gitlist.dev/e/20070802085642.GK6234%40fencepost.gnu.org

```
Hello Junio!

I sent this patch (see the attached email message) to the git mailing
list on 2007-07-28, alongside with another GNU/Hurd-related patch.  The
latter patch was included already (by you), but not this one.  Could you
please include it?

Thanks!


Regards,
 Thomas


GNU/Hurd systems don't have strlcpy either.

Signed-off-by: Thomas Schwinge <tschwinge@gnu.org>
---
 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 2fea115..8d9a01b 100644
--- a/Makefile
+++ b/Makefile
@@ -458,6 +458,10 @@ ifeq ($(uname_S),AIX)
 	NO_STRLCPY = YesPlease
 	NEEDS_LIBICONV=YesPlease
 endif
+ifeq ($(uname_S),GNU)
+	# GNU/Hurd
+	NO_STRLCPY=YesPlease
+endif
 ifeq ($(uname_S),IRIX64)
 	NO_IPV6=YesPlease
 	NO_SETENV=YesPlease
-- 
1.5.3.rc3.26.g6c58-dirty



```

## Junio C Hamano, 2007-08-02 09:03

Subject: Re: [tschwinge@gnu.org: [PATCH] Support building on GNU/Hurd]
Message-ID: <7vy7guxq8u.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vy7guxq8u.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <20070802085642.GK6234@fencepost.gnu.org>

```
Please do not PGP sign your patch.  Plain-text inline patches.

```

## Thomas Schwinge, 2007-08-02 09:14

Subject: [PATCH] Support building on GNU/Hurd
Message-ID: <11860460622743-git-send-email-tschwinge@gnu.org>
URL: https://gitlist.dev/e/11860460622743-git-send-email-tschwinge%40gnu.org
In-Reply-To: <7vy7guxq8u.fsf@assigned-by-dhcp.cox.net>

```
GNU/Hurd systems don't have strlcpy either.

Signed-off-by: Thomas Schwinge <tschwinge@gnu.org>
---
 Makefile |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 73b487f..682892f 100644
--- a/Makefile
+++ b/Makefile
@@ -456,6 +456,10 @@ ifeq ($(uname_S),AIX)
 	NO_STRLCPY = YesPlease
 	NEEDS_LIBICONV=YesPlease
 endif
+ifeq ($(uname_S),GNU)
+	# GNU/Hurd
+	NO_STRLCPY=YesPlease
+endif
 ifeq ($(uname_S),IRIX64)
 	NO_IPV6=YesPlease
 	NO_SETENV=YesPlease
-- 
1.5.3.rc3.26.g6c58-dirty

```
