net-libs/openslp: remove unused patches
authorMichael Mair-Keimberger (asterix) <m.mairkeimberger@gmail.com>
Mon, 23 Jan 2017 18:01:35 +0000 (19:01 +0100)
committerDavid Seifert <soap@gentoo.org>
Thu, 26 Jan 2017 22:36:16 +0000 (23:36 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3608

net-libs/openslp/files/openslp-compile_fix.patch [deleted file]
net-libs/openslp/files/openslp-no_install_doc.patch [deleted file]
net-libs/openslp/files/openslp-opt.patch [deleted file]

diff --git a/net-libs/openslp/files/openslp-compile_fix.patch b/net-libs/openslp/files/openslp-compile_fix.patch
deleted file mode 100644 (file)
index 22bb3d6..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
---- openslp-1.3.0/common/slp_spi.c~    2004-03-04 03:38:49.000000000 +0100
-+++ openslp-1.3.0/common/slp_spi.c     2004-03-04 03:38:49.000000000 +0100
-@@ -267,9 +267,9 @@
-     fp = fopen(spifile,"r");
-     if(fp)
-     {
--        result = xmalloc(sizeof(structSLPSpiHandle));
-+        result = xmalloc(sizeof(struct _SLPSpiHandle));
-         if(result == 0) return 0;
--        memset(result, 0, sizeof(structSLPSpiHandle));
-+        memset(result, 0, sizeof(struct _SLPSpiHandle));
-         
-         result->spifile = xstrdup(spifile);
-         result->cacheprivate = cacheprivate;
diff --git a/net-libs/openslp/files/openslp-no_install_doc.patch b/net-libs/openslp/files/openslp-no_install_doc.patch
deleted file mode 100644 (file)
index 9f7e3d2..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
---- openslp-1.3.0/Makefile.am~ 2004-03-04 03:56:37.000000000 +0100
-+++ openslp-1.3.0/Makefile.am  2004-03-04 03:56:37.000000000 +0100
-@@ -5,7 +5,6 @@
- SUBDIRS       = common libslpattr slpd libslp slptool test
- EXTRA_DIST = win32 doc etc README.W32 FAQ
--DOC_DIR = $(prefix)/doc/openslp-$(VERSION)
- install-data-local:
-       mkdir -p $(DESTDIR)$(sysconfdir)
-@@ -22,10 +21,6 @@
-       if [ -f $$file ]; then true;\
-       else cp -f $(srcdir)/etc/slp.spi $(DESTDIR)$(sysconfdir);\
-       fi
--      rm -rf $(DESTDIR)$(DOC_DIR)
--      mkdir -p $(DESTDIR)$(DOC_DIR)
--      cp -r $(srcdir)/doc/* $(DESTDIR)$(DOC_DIR)
--#     rm -rf `find $(DESTDIR)$(DOC_DIR) -name CVS`
- dist-hook:
- #     rm -rf `find $(distdir)/doc -name CVS`
diff --git a/net-libs/openslp/files/openslp-opt.patch b/net-libs/openslp/files/openslp-opt.patch
deleted file mode 100644 (file)
index 0fe9af3..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
---- openslp-1.0.11/configure.in.orig   2003-03-11 05:20:05.000000000 +0100
-+++ openslp-1.0.11/configure.in        2003-04-18 00:34:27.000000000 +0200
-@@ -120,9 +120,6 @@
-     if test X"$debug" = X"yes"; then
-        CFLAGS="$CFLAGS -Werror"
-     fi
--    if test X"$debug" = X"no"; then 
--       OPTFLAGS="-O3"
--    fi
-     
- elif $CC -V 2>&1 | grep "WorkShop Compilers"; then
-     dnl Allow C++ style comments
-@@ -161,9 +158,9 @@
- dnl ***********************************************************************
- dnl Checks for libraries.
- dnl ***********************************************************************
--AC_CHECK_LIB(resolv, inet_aton)
--AC_CHECK_LIB(socket, main)
--AC_CHECK_LIB(nsl, gethostbyname)
-+AC_SEARCH_LIBS(inet_aton, resolv)
-+AC_SEARCH_LIBS(socket, socket)
-+AC_SEARCH_LIBS(gethostbyname, nsl)
- AC_CHECK_LIB(m, main)
- AC_CHECK_FUNCS(ceil log10 strncasecmp strcasecmp )
- AC_OUTPUT(Makefile common/Makefile libslpattr/Makefile libslp/Makefile \