summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2012-04-10 02:58:04 +0000
committerSebastian Pipping <sping@gentoo.org>2012-04-10 02:58:04 +0000
commit2b9b6d33d023a6a3ad6b99bef0638f64d7790b00 (patch)
tree645c28545982a432665d94e091cc9f6bb58996e1 /www-servers/gatling/files
parentFixed SRC_URI - thanks to David Kredba in bug #411067 (diff)
downloadgentoo-2-2b9b6d33d023a6a3ad6b99bef0638f64d7790b00.tar.gz
gentoo-2-2b9b6d33d023a6a3ad6b99bef0638f64d7790b00.tar.bz2
gentoo-2-2b9b6d33d023a6a3ad6b99bef0638f64d7790b00.zip
www-servers/gatling: Unbreak diet mode (bug #314115)
(Portage version: 2.1.10.56/cvs/Linux x86_64)
Diffstat (limited to 'www-servers/gatling/files')
-rw-r--r--www-servers/gatling/files/gatling-0.12-compile.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/www-servers/gatling/files/gatling-0.12-compile.patch b/www-servers/gatling/files/gatling-0.12-compile.patch
new file mode 100644
index 000000000000..db609836332b
--- /dev/null
+++ b/www-servers/gatling/files/gatling-0.12-compile.patch
@@ -0,0 +1,20 @@
+--- GNUmakefile 2012-04-10 04:31:14.505474482 +0200
++++ GNUmakefile 2012-04-10 04:31:53.821982958 +0200
+@@ -64,7 +64,7 @@
+ acc: acc.c
+ $(CC) -o $@ $< $(CFLAGS) $(LDFLAGS) -lowfat
+
+-CC:=$(DIET) $(CC)
++override CC:=$(DIET) $(CC)
+
+ pthreadbench: pthreadbench.o
+ $(CC) $< -o $@ -I. $(CFLAGS) $(LDFLAGS) $(LDLIBS) -lpthread
+@@ -80,7 +80,7 @@
+ $(OBJS) https.o gatling.o: gatling.h version.h gatling_features.h
+
+ tlsgatling: gatling.c ssl.o $(HTTPS_OBJS)
+- -$(CC) -o $@ gatling.c ssl.o $(HTTPS_OBJS) $(CFLAGS) -DSUPPORT_HTTPS $(LDFLAGS) -lssl -lcrypto $(LDLIBS)
++ $(CC) -o $@ gatling.c ssl.o $(HTTPS_OBJS) $(CFLAGS) -DSUPPORT_HTTPS $(LDFLAGS) -lssl -lcrypto $(LDLIBS)
+
+ gatling: gatling.o $(OBJS) md5lib
+ $(CC) $(LDFLAGS) $@.o $(OBJS) -o $@ $(LDLIBS) `cat md5lib`