openbsd-ports/editors/openoffice/patches/patch-dmake_unix_runargv_c
kurt 94f8549435 Fix debug FLAVOR so it builds and installs binaries with symbols:
- add -dontstrip to packaging script to get useful debug binaries
installed
- remove --enable-debug since that makes the debug build too big (>18G)
for me to build. Add back later as a possible verbose_debug flavor.

Use PATCHORIG so that update-patches doesn't pickup internal .orig files.
Idea from espie@

Add a mutex to make the call to getpwuid thread safe.
2006-08-20 03:36:52 +00:00

13 lines
492 B
Plaintext

$OpenBSD: patch-dmake_unix_runargv_c,v 1.2 2006/08/20 03:36:52 kurt Exp $
--- dmake/unix/runargv.c.orig.port Thu Apr 20 08:19:12 2006
+++ dmake/unix/runargv.c Fri Aug 18 15:47:42 2006
@@ -132,7 +132,7 @@ private_strerror (errnum)
#ifdef arm32
extern const char * const sys_errlist[];
#else
-#if defined(linux) || defined(__FreeBSD__)
+#if defined(linux) || defined(__FreeBSD__) || defined(__OpenBSD__)
extern const char * const sys_errlist[];
#else
extern char *sys_errlist[];