From 12aa7d07d69ff397fbdee648fed600af9f2d4cfe Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Fri, 29 May 2009 12:01:14 +0000 Subject: [PATCH] dsl-qos-queue: fix compile errors SVN-Revision: 16181 --- net/dsl-qos-queue/Makefile | 1 + .../patches/001-cross_compile.patch | 12 +++++------ net/dsl-qos-queue/patches/002-include.patch | 20 +++++++++++++++++++ 3 files changed, 26 insertions(+), 7 deletions(-) create mode 100644 net/dsl-qos-queue/patches/002-include.patch diff --git a/net/dsl-qos-queue/Makefile b/net/dsl-qos-queue/Makefile index 67d9392def..b78e2404e3 100644 --- a/net/dsl-qos-queue/Makefile +++ b/net/dsl-qos-queue/Makefile @@ -33,6 +33,7 @@ define Build/Compile $(call Build/Compile/Default, \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libipq $(TARGET_CPPFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ + LIBIPQ=$(STAGING_DIR)/usr/lib/libipq.a \ all \ ) endef diff --git a/net/dsl-qos-queue/patches/001-cross_compile.patch b/net/dsl-qos-queue/patches/001-cross_compile.patch index b124b27a90..43a90947e3 100644 --- a/net/dsl-qos-queue/patches/001-cross_compile.patch +++ b/net/dsl-qos-queue/patches/001-cross_compile.patch @@ -1,6 +1,5 @@ -diff -urN dsl_qos_queue/dsl_qos_queue.c dsl_qos_queue.new/dsl_qos_queue.c ---- dsl_qos_queue/dsl_qos_queue.c 2006-03-28 20:48:18.000000000 +0200 -+++ dsl_qos_queue.new/dsl_qos_queue.c 2006-08-18 22:14:12.000000000 +0200 +--- a/dsl_qos_queue.c ++++ b/dsl_qos_queue.c @@ -552,12 +552,12 @@ syslog(LOG_INFO, "setup()"); @@ -16,9 +15,8 @@ diff -urN dsl_qos_queue/dsl_qos_queue.c dsl_qos_queue.new/dsl_qos_queue.c for (i=0;i +-#include + #include + #include + #include +@@ -25,6 +23,8 @@ + #include + #include + #include ++#include ++#include + + #include "daemon.h" + -- 2.30.2