From 4aaec36f0eb3afd0ce61d696016967d964a59db2 Mon Sep 17 00:00:00 2001
From: "Michael Mair-Keimberger (asterix)" <m.mairkeimberger@gmail.com>
Date: Fri, 30 Sep 2016 17:11:58 +0200
Subject: dev-tcltk/tdom: remove unused patches

---
 dev-tcltk/tdom/files/tdom-0.8.2-expat.patch  | 83 ----------------------------
 dev-tcltk/tdom/files/tdom-0.8.2-soname.patch | 26 ---------
 2 files changed, 109 deletions(-)
 delete mode 100644 dev-tcltk/tdom/files/tdom-0.8.2-expat.patch
 delete mode 100644 dev-tcltk/tdom/files/tdom-0.8.2-soname.patch

(limited to 'dev-tcltk')

diff --git a/dev-tcltk/tdom/files/tdom-0.8.2-expat.patch b/dev-tcltk/tdom/files/tdom-0.8.2-expat.patch
deleted file mode 100644
index cdcbb1006f4d..000000000000
--- a/dev-tcltk/tdom/files/tdom-0.8.2-expat.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-Source: http://download.opensuse.org/repositories/openSUSE:/11.0/standard/src/tdom-0.8.2-50.1.src.rpm
-Index: Makefile.in
-================================================================================
---- configure.in
-+++ configure.in
-@@ -72,6 +72,7 @@
- #--------------------------------------------------------------------
- 
- TDOM_PATH_AOLSERVER
-+TDOM_PATH_EXPAT
- 
- #-----------------------------------------------------------------------
- # __CHANGE__
-@@ -83,10 +84,7 @@
- # and PKG_TCL_SOURCES.
- #-----------------------------------------------------------------------
- 
--TEA_ADD_SOURCES([expat/xmlrole.c     \
--                 expat/xmltok.c      \
--                 expat/xmlparse.c    \
--                 generic/xmlsimple.c \
-+TEA_ADD_SOURCES([generic/xmlsimple.c \
-                  generic/utf8conv.c  \
-                  generic/dom.c       \
-                  generic/domalloc.c  \
-@@ -100,7 +98,7 @@
-                  generic/tclexpat.c  \
-                  generic/tdomStubInit.c])
- TEA_ADD_HEADERS([generic/tdom.h])
--TEA_ADD_INCLUDES([-I${srcdir}/generic -I${srcdir}/expat ${AOL_INCLUDES}])
-+TEA_ADD_INCLUDES([-I${srcdir}/generic ${AOL_INCLUDES}])
- TEA_ADD_LIBS([${AOL_LIBS}])
- TEA_ADD_CFLAGS([])
- TEA_ADD_STUB_SOURCES([generic/tdomStubLib.c])
---- tdom.m4
-+++ tdom.m4
-@@ -215,6 +215,46 @@
-     fi
- ])
- 
-+
-+AC_DEFUN(TDOM_PATH_EXPAT, [
-+    AC_MSG_CHECKING([for expat])
-+    AC_ARG_WITH(expat, 
-+        AC_HELP_STRING([--with-expat],
-+            [directory with expat installation]), , [with_expat=no])
-+
-+    AC_CACHE_VAL(ac_cv_c_expat,[
-+    case $with_expat in
-+	no) ;;
-+	yes)
-+	    for f in /usr/local /usr; do
-+	        if test -f "$f/include/expat.h" ; then
-+		    ac_cv_c_expat=`(cd $f; pwd)`
-+		    break
-+		fi
-+	    done
-+	    ;;
-+	*)
-+	    if test -f "$with_expat/include/expat.h"; then
-+		ac_cv_c_expat=`(cd $with_expat; pwd)`
-+	    else
-+        	AC_MSG_ERROR([${with_expat} directory doesn't contain expat.h])
-+	    fi
-+    esac
-+    ])
-+    if test x"${ac_cv_c_expat}" = x ; then
-+        AC_MSG_RESULT([using local copy])
-+	TEA_ADD_SOURCES([expat/xmlrole.c     \
-+                 	 expat/xmltok.c      \
-+	                 expat/xmlparse.c])
-+	TEA_ADD_INCLUDES([-I${srcdir}/expat])
-+    else
-+        AC_MSG_RESULT([${ac_cv_c_expat}])
-+	TEA_ADD_INCLUDES(${ac_cv_c_expat}/include)
-+	TEA_ADD_LIBS([-lexpat])
-+    fi
-+])
-+
-+
- #------------------------------------------------------------------------
- # TDOM_PATH_CONFIG --
- #
diff --git a/dev-tcltk/tdom/files/tdom-0.8.2-soname.patch b/dev-tcltk/tdom/files/tdom-0.8.2-soname.patch
deleted file mode 100644
index 3f0bc7e62a9d..000000000000
--- a/dev-tcltk/tdom/files/tdom-0.8.2-soname.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/Makefile.in b/Makefile.in
-index d995328..5c17e11 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -108,7 +108,7 @@ CFLAGS_DEFAULT	= @CFLAGS_DEFAULT@
- CFLAGS_WARNING	= @CFLAGS_WARNING@
- CLEANFILES	= @CLEANFILES@
- EXEEXT		= @EXEEXT@
--LDFLAGS_DEFAULT	= @LDFLAGS_DEFAULT@
-+LDFLAGS_DEFAULT	= @LDFLAGS_DEFAULT@ -Wl,-soname,libdom$(PACKAGE_VERSION).so
- MAKE_LIB	= @MAKE_LIB@
- MAKE_SHARED_LIB	= @MAKE_SHARED_LIB@
- MAKE_STATIC_LIB	= @MAKE_STATIC_LIB@
-diff --git a/extensions/tnc/Makefile.in b/extensions/tnc/Makefile.in
-index f8a332c..01e0ef0 100644
---- a/extensions/tnc/Makefile.in
-+++ b/extensions/tnc/Makefile.in
-@@ -98,7 +98,7 @@ CFLAGS_DEFAULT	= @CFLAGS_DEFAULT@
- CFLAGS_WARNING	= @CFLAGS_WARNING@
- CLEANFILES	= @CLEANFILES@
- EXEEXT		= @EXEEXT@
--LDFLAGS_DEFAULT	= @LDFLAGS_DEFAULT@
-+LDFLAGS_DEFAULT	= @LDFLAGS_DEFAULT@ -Wl,-soname,libtnc$(PACKAGE_VERSION).so
- MAKE_LIB	= @MAKE_LIB@
- MAKE_SHARED_LIB	= @MAKE_SHARED_LIB@
- MAKE_STATIC_LIB	= @MAKE_STATIC_LIB@
-- 
cgit v1.2.3-65-gdbad