]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
patch libkqueue in dockerfile for centos6
authorMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 14 Dec 2017 19:33:24 +0000 (19:33 +0000)
committerMatthew Newton <matthew-git@newtoncomputing.co.uk>
Thu, 14 Dec 2017 19:34:15 +0000 (19:34 +0000)
scripts/docker/build-centos6/Dockerfile.deps

index 2c115efb8ccb40c3cdd295cb0bf89014bb205e88..a5334e97444c92d67c297c847222d2f5df6698bb 100644 (file)
@@ -41,6 +41,7 @@ WORKDIR /usr/local/src/repositories
 # Fixme: Change to the main repo when they merge this branch
 RUN git clone --branch master --depth=1 https://github.com/mheily/libkqueue.git
 WORKDIR libkqueue
+RUN sed -i -e 's/SO_GET_FILTER/SO_ATTACH_FILTER/' src/linux/platform.c
 RUN cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ./ && \
     make && \
     cpack -G RPM