summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
authorMatt Housh <jaeger@crux.ninja>2016-03-06 14:30:46 -0600
committerMatt Housh <jaeger@crux.ninja>2016-03-06 14:30:46 -0600
commitd38b4dd64e747e2b417c50ac39c534496e717093 (patch)
treed22423e1803fe1b01bc583e6fd533a31ccec2a97 /sysklogd
parent9cfebfe2f13eedba76e774ad3d851f68388ad6d0 (diff)
downloadcore-d38b4dd64e747e2b417c50ac39c534496e717093.tar.gz
core-d38b4dd64e747e2b417c50ac39c534496e717093.tar.xz
sysklogd: added CFLAGS fix from tilman
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/.md5sum1
-rw-r--r--sysklogd/Pkgfile6
-rw-r--r--sysklogd/sysklogd.diff13
3 files changed, 18 insertions, 2 deletions
diff --git a/sysklogd/.md5sum b/sysklogd/.md5sum
index c32ab55b..32388cce 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 c1ef02af..683bcc0e 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 00000000..a94e0d15
--- /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)

Generated by cgit