mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
net-libs/openslp: remove unused patches
Closes: https://github.com/gentoo/gentoo/pull/3608
This commit is contained in:
committed by
David Seifert
parent
4200350489
commit
9856a8b69a
@@ -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;
|
||||
@@ -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`
|
||||
@@ -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 \
|
||||
Reference in New Issue
Block a user