diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 02:07:27 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-02 02:07:27 +0100 |
commit | 0a95e15cdc87de0136734e784d487f9b03170bbb (patch) | |
tree | adae83e51ba5b78869f51aa43cfe8ebfb762ec41 /libcss/patches | |
download | nanonote-ports-0a95e15cdc87de0136734e784d487f9b03170bbb.tar.gz |
initial checkin of my nanonote ports feed, including a small README.
Diffstat (limited to 'libcss/patches')
-rw-r--r-- | libcss/patches/010-flags.patch | 11 | ||||
-rw-r--r-- | libcss/patches/020-no-cast-align-warn.patch | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/libcss/patches/010-flags.patch b/libcss/patches/010-flags.patch new file mode 100644 index 0000000..2f7f02f --- /dev/null +++ b/libcss/patches/010-flags.patch @@ -0,0 +1,11 @@ +--- a/Makefile 2010-10-10 17:55:57.487885012 +0200 ++++ b/Makefile 2010-10-10 17:58:02.067884565 +0200 +@@ -20,7 +20,7 @@ + endif + endif + CFLAGS := -D_BSD_SOURCE -I$(CURDIR)/include/ \ +- -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) ++ -I$(CURDIR)/src $(WARNFLAGS) $(CFLAGS) $(CPPFLAGS) + ifneq ($(GCCVER),2) + CFLAGS := $(CFLAGS) -std=c99 + else diff --git a/libcss/patches/020-no-cast-align-warn.patch b/libcss/patches/020-no-cast-align-warn.patch new file mode 100644 index 0000000..905176d --- /dev/null +++ b/libcss/patches/020-no-cast-align-warn.patch @@ -0,0 +1,11 @@ +--- a/Makefile 2010-10-10 18:18:37.237899682 +0200 ++++ b/Makefile 2010-10-10 18:18:46.477895474 +0200 +@@ -10,7 +10,7 @@ + TESTRUNNER := $(PERL) build/testtools/testrunner.pl + + # Toolchain flags +-WARNFLAGS := -Wall -W -Wundef -Wpointer-arith -Wcast-align \ ++WARNFLAGS := -Wall -W -Wundef -Wpointer-arith \ + -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ + -Wmissing-declarations -Wnested-externs -pedantic + # BeOS/Haiku/AmigaOS4 standard library headers create warnings |