summaryrefslogtreecommitdiffstats
path: root/openwrt/package/libcli/patches
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/libcli/patches')
-rw-r--r--openwrt/package/libcli/patches/01-remove_debug_honor_prefix.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/openwrt/package/libcli/patches/01-remove_debug_honor_prefix.patch b/openwrt/package/libcli/patches/01-remove_debug_honor_prefix.patch
new file mode 100644
index 000000000..830baa072
--- /dev/null
+++ b/openwrt/package/libcli/patches/01-remove_debug_honor_prefix.patch
@@ -0,0 +1,19 @@
+diff -urN orig/libcli-1.8.5/Makefile libcli-1.8.5/Makefile
+--- orig/libcli-1.8.5/Makefile 2005-05-02 11:57:39.000000000 +0200
++++ libcli-1.8.5/Makefile 2005-12-13 17:42:46.000000000 +0100
+@@ -1,13 +1,12 @@
+ DESTDIR =
+-PREFIX = /usr/local
++PREFIX = /usr/
+
+ MAJOR = 1
+ MINOR = 8
+ REVISION = 5
+ LIB = libcli.so
+
+-CC = gcc
+-DEBUG = -g
++DEBUG =
+ OPTIM = -O3
+ CFLAGS += $(DEBUG) $(OPTIM) -Wall -Wformat-security -Wno-format-zero-length
+ LDFLAGS += -shared -Wl,-soname,$(LIB).$(MAJOR).$(MINOR)