[gnome-continuous] Update tgt patch for CFLAGS overrides
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous] Update tgt patch for CFLAGS overrides
- Date: Tue, 10 May 2016 05:13:50 +0000 (UTC)
commit aebb2141318ac04bc6762a77bc4840278d2e0d72
Author: Emmanuele Bassi <ebassi gnome org>
Date: Tue May 10 06:12:58 2016 +0100
Update tgt patch for CFLAGS overrides
The new tgt release broke the existing patch with a fuzzy chunk.
patches/tgt-cflags.patch | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/patches/tgt-cflags.patch b/patches/tgt-cflags.patch
index 3cb0ceb..533dd46 100644
--- a/patches/tgt-cflags.patch
+++ b/patches/tgt-cflags.patch
@@ -1,4 +1,4 @@
-From fe8cad69c38582f4292ed8d80b5288eca4f45430 Mon Sep 17 00:00:00 2001
+From 4347e3cd40a4f44611aee5f5131fa86f19a9b948 Mon Sep 17 00:00:00 2001
From: "Owen W. Taylor" <otaylor fishsoup net>
Date: Mon, 14 Apr 2014 08:21:30 -0700
Subject: [PATCH] Improve handling of CFLAGS
@@ -17,7 +17,7 @@ user-specified values, then include directories and defines are added on.
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/usr/Makefile b/usr/Makefile
-index 6234f3f..9418be2 100644
+index d4e3eaf..c866d99 100644
--- a/usr/Makefile
+++ b/usr/Makefile
@@ -1,12 +1,19 @@
@@ -36,13 +36,13 @@ index 6234f3f..9418be2 100644
+override CFLAGS += -DUSE_SIGNALFD
endif
- ifneq ($(shell test -e /usr/include/sys/timerfd.h && echo 1),)
+ ifneq ($(shell test -n $(shell find /usr/include -name "timerfd.h" | head -n1) && echo 1),)
-CFLAGS += -DUSE_TIMERFD
+override CFLAGS += -DUSE_TIMERFD
endif
TGTD_OBJS += $(addprefix iscsi/, conn.o param.o session.o \
-@@ -22,7 +29,7 @@ MODULES += bs_glfs.so
+@@ -26,7 +33,7 @@ CFLAGS += -DUSE_SYSTEMD
endif
ifneq ($(shell test -e /usr/include/sys/eventfd.h && test -e /usr/include/libaio.h && echo 1),)
@@ -51,7 +51,7 @@ index 6234f3f..9418be2 100644
TGTD_OBJS += bs_aio.o
LIBS += -laio
endif
-@@ -34,16 +41,11 @@ endif
+@@ -38,16 +45,11 @@ endif
INCLUDES += -I.
@@ -74,5 +74,5 @@ index 6234f3f..9418be2 100644
LIBS += -lpthread -ldl
--
-1.9.0
+2.7.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]