lnykryn pushed to chkconfig (master). "add forgotten patch"

notifications at fedoraproject.org notifications at fedoraproject.org
Thu Mar 26 13:55:44 UTC 2015


>From 6f08b635db5056046a875e8007ee9e9a3e979234 Mon Sep 17 00:00:00 2001
From: Lukas Nykryn <lnykryn at redhat.com>
Date: Thu, 26 Mar 2015 14:55:27 +0100
Subject: add forgotten patch


diff --git a/makefile.patch b/makefile.patch
new file mode 100644
index 0000000..8c7d6d0
--- /dev/null
+++ b/makefile.patch
@@ -0,0 +1,28 @@
+diff --git a/Makefile b/Makefile
+index b6bd711..a3af283 100644
+--- a/Makefile
++++ b/Makefile
+@@ -2,7 +2,7 @@ VERSION=$(shell awk '/Version:/ { print $$2 }' chkconfig.spec)
+ TAG = chkconfig-$(VERSION)
+ 
+ CFLAGS=-g -Wall $(RPM_OPT_FLAGS) -D_GNU_SOURCE
+-LDFLAGS+=-g -lselinux -lsepol
++LDFLAGS+=-g
+ MAN=chkconfig.8 ntsysv.8 alternatives.8
+ PROG=chkconfig
+ BINDIR = /sbin
+@@ -24,12 +24,12 @@ subdirs:
+ 	done && test -z "$$fail"
+ 
+ chkconfig: $(OBJS)
+-	$(CC) $(LDFLAGS) -o chkconfig $(OBJS) -lpopt
++	$(CC) $(LDFLAGS) -lselinux -lsepol -o chkconfig $(OBJS) -lpopt
+ 
+ alternatives: alternatives.o
+ 
+ ntsysv: $(NTOBJS)
+-	$(CC) $(LDFLAGS) -o ntsysv $(NTOBJS) -lnewt -lpopt $(LIBMHACK)
++	$(CC) $(LDFLAGS) -lselinux -lsepol -o ntsysv $(NTOBJS) -lnewt -lpopt $(LIBMHACK)
+ 
+ chkconfig.o: chkconfig.c leveldb.h
+ 	$(CC) $(CFLAGS) -DVERSION=\"$(VERSION)\" -c chkconfig.c
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/chkconfig.git/commit/?h=master&id=6f08b635db5056046a875e8007ee9e9a3e979234


More information about the scm-commits mailing list