summaryrefslogtreecommitdiff
path: root/package/libipfix/patches
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-06-05 17:49:57 +0000
committerJohn Crispin <john@openwrt.org>2012-06-05 17:49:57 +0000
commite2a63ac51d1f70355a83a947527cb0cd2169b26d (patch)
tree7303770177d804f2c404ac20fab505204770c683 /package/libipfix/patches
parent95e69ac4f1c9f2cac8300da5d1055fc5be2ad9b8 (diff)
downloadmtk-20170518-e2a63ac51d1f70355a83a947527cb0cd2169b26d.zip
mtk-20170518-e2a63ac51d1f70355a83a947527cb0cd2169b26d.tar.gz
mtk-20170518-e2a63ac51d1f70355a83a947527cb0cd2169b26d.tar.bz2
rename libmisc.a to libipfixmisc.a
libmisc.a is too generic to be globally staged. It was clashing with xinetd builds. SVN-Revision: 32066
Diffstat (limited to 'package/libipfix/patches')
-rw-r--r--package/libipfix/patches/120-ipfixmisc.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/libipfix/patches/120-ipfixmisc.patch b/package/libipfix/patches/120-ipfixmisc.patch
new file mode 100644
index 0000000..e3f5a05
--- /dev/null
+++ b/package/libipfix/patches/120-ipfixmisc.patch
@@ -0,0 +1,27 @@
+Index: libipfix.r51/lib/Makefile.in
+===================================================================
+--- libipfix.r51.orig/lib/Makefile.in 2008-08-05 15:15:23.000000000 +0200
++++ libipfix.r51/lib/Makefile.in 2012-06-05 19:26:34.061692890 +0200
+@@ -41,7 +41,7 @@
+ INCLS = -I. -I..
+ CFLAGS = $(CCOPT) $(INCLS) $(DEFS)
+
+-TARGETS = libmisc.a libipfix.a
++TARGETS = libipfixmisc.a libipfix.a
+ OBJS = ipfix.o ipfix_col.o ipfix_print.o \
+ ipfix_col_files.o ipfix_col_db.o @IPFIX_DB_OBJ@ @IPFIX_SSL_OBJ@
+ DEPHDR = ipfix.h ipfix_def.h ipfix_fields.h ipfix_def_fokus.h ipfix_fields_fokus.h
+@@ -60,11 +60,11 @@
+ install:
+ @[ -d ${libdir} ] || (mkdir -p ${libdir}; chmod 755 ${libdir})
+ $(INSTALL_DATA) libipfix.a ${libdir}/
+- $(INSTALL_DATA) libmisc.a ${libdir}/
++ $(INSTALL_DATA) libipfixmisc.a ${libdir}/
+ @[ -d ${includedir} ] || (mkdir -p ${includedir}; chmod 755 ${includedir})
+ $(INSTALL_HEADER) ipfix*.h mlog.h mpoll.h ${includedir}/
+
+-libmisc.a: $(MISCOBJS) Makefile
++libipfixmisc.a: $(MISCOBJS) Makefile
+ @rm -f $@
+ $(AR) rc $@ $(MISCOBJS)
+