ports/core (3.2): sysklogd: added CFLAGS fix from tilman
commit d38b4dd64e747e2b417c50ac39c534496e717093 Author: Matt Housh <jaeger@crux.ninja> Date: Sun Mar 6 14:30:46 2016 -0600 sysklogd: added CFLAGS fix from tilman diff --git a/sysklogd/.md5sum b/sysklogd/.md5sum index c32ab55..32388cc 100644 --- a/sysklogd/.md5sum +++ b/sysklogd/.md5sum @@ -1,5 +1,6 @@ 41dfad9077311e159c793216adf90723 rotatelog b34c927b05f072083d801deba5420e80 sysklogd c70599ab0d037fde724f7210c2c8d7f8 sysklogd-1.5.1.tar.gz +31a0c87a3e78f8cc141a6a1e86e2e27d sysklogd.diff 844e5e75944beb8cf4f39a0535e56ba4 syslog f8d478b8d60c1d3879f4a10a955db6e5 syslog.conf diff --git a/sysklogd/Pkgfile b/sysklogd/Pkgfile index c1ef02a..683bcc0 100644 --- a/sysklogd/Pkgfile +++ b/sysklogd/Pkgfile @@ -4,13 +4,15 @@ name=sysklogd version=1.5.1 -release=3 +release=4 source=(http://www.infodrom.org/projects/$name/download/$name-$version.tar.gz \ - rotatelog syslog syslog.conf sysklogd) + sysklogd.diff rotatelog syslog syslog.conf sysklogd) build() { cd $name-$version + patch -p1 -i $SRC/sysklogd.diff + install -d $PKG/usr/sbin \ $PKG/etc/{cron/weekly,rc.d} \ $PKG/var/log \ diff --git a/sysklogd/sysklogd.diff b/sysklogd/sysklogd.diff new file mode 100644 index 0000000..a94e0d1 --- /dev/null +++ b/sysklogd/sysklogd.diff @@ -0,0 +1,13 @@ +diff -aur sysklogd-1.5.1.orig/Makefile sysklogd-1.5.1/Makefile +--- sysklogd-1.5.1.orig/Makefile 2014-10-04 21:47:18.000000000 +0200 ++++ sysklogd-1.5.1/Makefile 2016-03-06 19:25:06.859968348 +0100 +@@ -20,7 +20,8 @@ + CC= gcc + #SKFLAGS= -g -DSYSV -Wall + #LDFLAGS= -g +-SKFLAGS= $(RPM_OPT_FLAGS) -O3 -DSYSV -fomit-frame-pointer -Wall -fno-strength-reduce ++RPM_OPT_FLAGS ?= -O2 ++SKFLAGS= $(RPM_OPT_FLAGS) -DSYSV -Wall + # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE + # -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE + # $(shell getconf LFS_SKFLAGS)
participants (1)
-
crux@crux.nu