From 0dfe708812262366ca18fe49f528c077cef1605b Mon Sep 17 00:00:00 2001 From: Dennis Herrmann Date: Fri, 24 Jun 2011 13:17:43 +0000 Subject: - Fix build with clang --- x11-wm/antiwm/files/patch-Makefile | 6 +++--- x11-wm/antiwm/files/patch-list.c | 10 ++++++++++ x11-wm/antiwm/files/patch-manage.c | 10 ++++++++++ 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 x11-wm/antiwm/files/patch-list.c create mode 100644 x11-wm/antiwm/files/patch-manage.c (limited to 'x11-wm/antiwm/files') diff --git a/x11-wm/antiwm/files/patch-Makefile b/x11-wm/antiwm/files/patch-Makefile index b89d73dc6614..2f267008cea2 100644 --- a/x11-wm/antiwm/files/patch-Makefile +++ b/x11-wm/antiwm/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig 2008-08-01 02:59:17.000000000 +0200 -+++ Makefile 2009-02-01 10:00:20.000000000 +0100 +--- ./Makefile.orig 2008-08-01 02:59:17.000000000 +0200 ++++ ./Makefile 2011-06-24 15:12:36.000000000 +0200 @@ -1,22 +1,36 @@ # install directory -INSTALL_DIR=/usr/local/bin @@ -34,7 +34,7 @@ + antiwm: $(SRC) - gcc $(SRC) -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS) -+ gcc $(SRC) -o $@ $(CFLAGS) $(LDFLAGS) ++ $(CC) $(SRC) -o $@ $(CFLAGS) $(LDFLAGS) -install: antiwm - cp antiwm $(INSTALL_DIR) diff --git a/x11-wm/antiwm/files/patch-list.c b/x11-wm/antiwm/files/patch-list.c new file mode 100644 index 000000000000..747bf004fad2 --- /dev/null +++ b/x11-wm/antiwm/files/patch-list.c @@ -0,0 +1,10 @@ +--- ./list.c.orig 2011-06-24 15:14:48.000000000 +0200 ++++ ./list.c 2011-06-24 15:15:27.000000000 +0200 +@@ -4,6 +4,7 @@ + + #include + #include ++#include + + #include "antiwm.h" + diff --git a/x11-wm/antiwm/files/patch-manage.c b/x11-wm/antiwm/files/patch-manage.c new file mode 100644 index 000000000000..8583cdc02745 --- /dev/null +++ b/x11-wm/antiwm/files/patch-manage.c @@ -0,0 +1,10 @@ +--- ./manage.c.orig 2011-06-24 15:13:24.000000000 +0200 ++++ ./manage.c 2011-06-24 15:13:59.000000000 +0200 +@@ -10,6 +10,7 @@ + + #include + #include ++#include + + #include "antiwm.h" + -- cgit v1.2.3