From: idunham@lavabit.com
To: musl@lists.openwall.com
Subject: Re: Latest pkgsrc results [What builds on musl?]
Date: Thu, 19 Jul 2012 21:54:19 -0700 (PDT) [thread overview]
Message-ID: <3693.132.241.65.196.1342760059.squirrel@lavabit.com> (raw)
In-Reply-To: <32441.132.241.65.196.1342737333.squirrel@lavabit.com>
[-- Attachment #1: Type: text/plain, Size: 970 bytes --]
>
>>>> Breakdown: http://sprunge.us/SFWc
...
>>> I can send patches for libowfat, if you want. (I know it's not great
>>> code, but I wanted dietsniff, so I patched both...)
>> I certainly won't argue.
See attached. Well, now that I look at it, it's
+CFLAGS += -D_GNU_SOURCE
...
>>> I may look into editors/ted and wm/icewm, since icewm is one of my
>>> favorite wms and Ted is the wordprocessor I usually use.
> I still have to get libpcre so it will build, but looking at make -i, Ted
> _seems_ to be simply wanting _XOPEN_SOURCE (or _GNU_SOURCE or
> _BSD_SOURCE), so it gets the M_* defines in math.h. (the only files that
> didn't build were the one that #include'd pcre.h, and a few that errored
> on M_PI and M_SQRT1_2
Builds and runs with _XOPEN_SOURCE (I tested the Motif UI, FYI).
Also FYI: if you apply the standard gcc patches/changes to gcc-core-3.4.6,
then untar gcc-g77-3.4.6 over that, g77 will build with no extra patches
needed.
Thanks,
Isaac Dunham
[-- Attachment #2: lowfat.diff --]
[-- Type: text/plain, Size: 525 bytes --]
--- libowfat-0.28/GNUmakefile
+++ libowfat-0.28-musl/GNUmakefile
@@ -24,6 +24,7 @@
# CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
CFLAGS += -D_REENTRANT
+CFLAGS += -D_GNU_SOURCE
# startrip
ifneq ($(DEBUG),)
--- libowfat-0.28/Makefile
+++ libowfat-0.28-musl/Makefile
@@ -24,7 +24,8 @@
# CFLAGS += -fstrict-aliasing -Wstrict-aliasing=2
-CFLAGS += -D_REENTRANT
+CFLAGS += -D_REENTRANT
+CFLAGS += -D_GNU_SOURCE
array_allocate.o: array/array_allocate.c safemult.h uint16.h uint32.h \
uint64.h array.h byte.h
next prev parent reply other threads:[~2012-07-20 4:54 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-19 2:30 Gregor Richards
2012-07-19 3:34 ` Rich Felker
2012-07-19 4:28 ` idunham
2012-07-19 4:33 ` Gregor Richards
2012-07-19 22:35 ` idunham
2012-07-19 22:37 ` Gregor Richards
2012-07-20 4:54 ` idunham [this message]
2012-07-19 5:16 ` Kurt H Maier
2012-08-11 3:33 Gregor Richards
2012-08-26 13:49 Gregor Richards
2012-08-26 17:50 ` Gregor Richards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3693.132.241.65.196.1342760059.squirrel@lavabit.com \
--to=idunham@lavabit.com \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).