diff options
Diffstat (limited to 'recipes/logrotate/files/logrotate-3.7.1.patch')
-rw-r--r-- | recipes/logrotate/files/logrotate-3.7.1.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/logrotate/files/logrotate-3.7.1.patch b/recipes/logrotate/files/logrotate-3.7.1.patch new file mode 100644 index 0000000000..e184977ece --- /dev/null +++ b/recipes/logrotate/files/logrotate-3.7.1.patch @@ -0,0 +1,20 @@ +--- logrotate-3.7.1.old/Makefile 2007-02-17 17:41:04.000000000 +1100 ++++ logrotate-3.7.1/Makefile 2007-02-17 17:40:38.000000000 +1100 +@@ -3,7 +3,7 @@ + CVSTAG = r$(subst .,-,$(VERSION)) + OS_NAME = $(shell uname -s) + LFS = $(shell echo `getconf LFS_CFLAGS 2>/dev/null`) +-CFLAGS = -Wall -D_GNU_SOURCE -D$(OS_NAME) -DVERSION=\"$(VERSION)\" $(RPM_OPT_FLAGS) $(LFS) ++CFLAGS += -Wall -D_GNU_SOURCE -D$(OS_NAME) -DVERSION=\"$(VERSION)\" $(RPM_OPT_FLAGS) $(LFS) + PROG = logrotate + MAN = logrotate.8 + LOADLIBES = -lpopt +@@ -69,7 +69,7 @@ + + ifeq ($(RPM_OPT_FLAGS),) + CFLAGS += -g +-LDFLAGS = -g ++LDFLAGS += -g + endif + + ifeq (.depend,$(wildcard .depend)) |