summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2009-09-04 15:31:22 +0000
committerJeroen Roovers <jer@gentoo.org>2009-09-04 15:31:22 +0000
commit6724e87832a6866668fc682801d111342cb1f1d3 (patch)
tree48f88f14dd71662255a89454cc12563c8aa8914a /app-admin/killproc/files
parentRemove old (diff)
downloadhistorical-6724e87832a6866668fc682801d111342cb1f1d3.tar.gz
historical-6724e87832a6866668fc682801d111342cb1f1d3.tar.bz2
historical-6724e87832a6866668fc682801d111342cb1f1d3.zip
Version bump. Respect CFLAGS (bug #239860), LDFLAGS.
Package-Manager: portage-2.2_rc40/cvs/Linux i686
Diffstat (limited to 'app-admin/killproc/files')
-rw-r--r--app-admin/killproc/files/killproc-2.13-makefile.patch42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-admin/killproc/files/killproc-2.13-makefile.patch b/app-admin/killproc/files/killproc-2.13-makefile.patch
new file mode 100644
index 000000000000..aa533049abdc
--- /dev/null
+++ b/app-admin/killproc/files/killproc-2.13-makefile.patch
@@ -0,0 +1,42 @@
+--- killproc-2.13/Makefile.orig 2007-11-30 14:01:09.000000000 +0100
++++ killproc-2.13/Makefile 2009-09-04 17:21:26.000000000 +0200
+@@ -27,9 +27,7 @@
+ #
+ # egcs used with -O2 includes -fno-force-mem which is/was buggy (1998/10/08)
+ #
+- CFLAGS = $(RPM_OPT_FLAGS) $(COPTS) $(DEBUG) $(INC) -D_GNU_SOURCE -Wall -pipe
+- CLOOP = -funroll-loops
+- CC = gcc
++ CFLAGS = $(RPM_OPT_FLAGS) $(COPTS) $(DEBUG) $(INC) -D_GNU_SOURCE -Wall
+ RM = rm -f
+ MKDIR = mkdir -p
+ RMDIR = rm -rf
+@@ -59,22 +57,22 @@
+ all: $(SBINPRG) $(UBINPRG)
+
+ libinit.o: libinit.c libinit.h
+- $(CC) $(CFLAGS) $(CLOOP) -DINITDIR=\"$(INITDIR)\" -c $<
++ $(CC) $(CFLAGS) -DINITDIR=\"$(INITDIR)\" -c $<
+
+ killproc: killproc.c libinit.o
+- $(CC) $(CFLAGS) $(CLOOP) -o $@ $^ $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+
+ startproc: startproc.c libinit.o
+- $(CC) $(CFLAGS) $(CLOOP) -o $@ $^ $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+
+ checkproc: checkproc.c libinit.o
+- $(CC) $(CFLAGS) $(CLOOP) -o $@ $^ $(LIBS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS)
+
+ usleep: usleep.c
+- $(CC) $(CFLAGS) -o $@ $^
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+ fsync: fsync.c
+- $(CC) $(CFLAGS) -o $@ $^
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+
+ clean:
+ $(RM) *.o *~ killproc startproc checkproc pidofproc start_daemon usleep fsync