[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-patch] GNU Patch 2.6.1 fails to build on Darwin
From: |
Ludovic Courtès |
Subject: |
[bug-patch] GNU Patch 2.6.1 fails to build on Darwin |
Date: |
Mon, 11 Jan 2010 14:45:41 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hello,
Patch 2.6.1 fails to build on Darwin with Apple’s “GCC” [0]:
--8<---------------cut here---------------start------------->8---
gcc -std=gnu99 -c -DHAVE_CONFIG_H
-Ded_PROGRAM=\"/nix/store/1dk6yj85f9j1manfrd3001az2r7ggb8n-ed-1.4/bin/ed\"
-DENABLE_MERGE -I. -I./src -I./gl/lib -g -O2 -o gl/lib/strndup.o
gl/lib/strndup.c
gl/lib/strndup.c: In function 'strndup':
gl/lib/strndup.c:33: warning: implicit declaration of function 'rpl_strnlen'
[...]
gcc -std=gnu99 -o src/patch -g -O2 gl/lib/argmatch.o gl/lib/backupfile.o
gl/lib/basename.o gl/lib/dirname.o gl/lib/stripslash.o gl/lib/error.o
gl/lib/exitfail.o gl/lib/strndup.o gl/lib/strnlen.o gl/lib/getopt.o
gl/lib/getopt1.o gl/lib/hash.o gl/lib/quote.o gl/lib/quotearg.o
gl/lib/safe-write.o gl/lib/xmalloc.o gl/lib/xstrndup.o gl/lib/full-write.o
src/merge.o src/inp.o src/maketime.o src/partime.o src/patch.o src/pch.o
src/quotesys.o src/util.o src/version.o
i686-apple-darwin9-gcc-4.0.1: gl/lib/strnlen.o: No such file or directory
--8<---------------cut here---------------end--------------->8---
Thanks,
Ludo’.
[0] http://hydra.nixos.org/build/216441/nixlog/1/raw
- [bug-patch] GNU Patch 2.6.1 fails to build on Darwin,
Ludovic Courtès <=