summaryrefslogtreecommitdiffstats
path: root/contrib/libiconv
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2013-01-06 20:50:37 +0000
committerjstebbins <[email protected]>2013-01-06 20:50:37 +0000
commitf69da1ae396cf45d28c97b23dcbf03857d8f9444 (patch)
tree6bce5ecfecc7f937cf267f386c0ff991e68e21aa /contrib/libiconv
parent4dfd0131c7ae509122f13ecc775decc970ef3a89 (diff)
libiconv patch: disables building of preloadable shared lib
Needed for solaris compatibility Thanks to icchan for the patch. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5160 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libiconv')
-rw-r--r--contrib/libiconv/A00-do-not-build-preloadable-iconv-shared-library.patch106
1 files changed, 106 insertions, 0 deletions
diff --git a/contrib/libiconv/A00-do-not-build-preloadable-iconv-shared-library.patch b/contrib/libiconv/A00-do-not-build-preloadable-iconv-shared-library.patch
new file mode 100644
index 000000000..be7236041
--- /dev/null
+++ b/contrib/libiconv/A00-do-not-build-preloadable-iconv-shared-library.patch
@@ -0,0 +1,106 @@
+From 766e19dd36c57330cf5985677a5af09e3165253b Mon Sep 17 00:00:00 2001
+From: Sean McGovern <[email protected]>
+Date: Wed, 31 Oct 2012 23:33:41 -0400
+Subject: [PATCH] do not build preloadable iconv shared library
+
+---
+ Makefile.in | 20 ++++++++++----------
+ 1 file changed, 10 insertions(+), 10 deletions(-)
+
+diff --git a/Makefile.in b/Makefile.in
+index 8168cad..b27cbea 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -31,7 +31,7 @@ SHELL = /bin/sh
+
+ all : lib/localcharset.h force
+ cd lib && $(MAKE) all
+- cd preload && $(MAKE) all
++# cd preload && $(MAKE) all
+ cd srclib && $(MAKE) all
+ cd src && $(MAKE) all
+ cd po && $(MAKE) all
+@@ -51,7 +51,7 @@ install-lib : all force
+ install : lib/localcharset.h force
+ cd libcharset && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd lib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+- cd preload && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
++# cd preload && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd srclib && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd src && $(MAKE) install prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
+@@ -62,7 +62,7 @@ install : lib/localcharset.h force
+ install-strip : lib/localcharset.h force
+ cd libcharset && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd lib && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+- cd preload && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
++# cd preload && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd srclib && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd src && $(MAKE) install-strip prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
+@@ -73,7 +73,7 @@ install-strip : lib/localcharset.h force
+ installdirs : force
+ cd libcharset && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd lib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+- cd preload && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
++# cd preload && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd srclib && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd src && $(MAKE) installdirs prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ if [ ! -d $(DESTDIR)$(includedir) ] ; then $(mkinstalldirs) $(DESTDIR)$(includedir) ; fi
+@@ -83,7 +83,7 @@ installdirs : force
+ uninstall : force
+ cd libcharset && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd lib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+- cd preload && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
++# cd preload && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd srclib && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ cd src && $(MAKE) uninstall prefix='$(prefix)' exec_prefix='$(exec_prefix)' libdir='$(libdir)'
+ $(RM) $(DESTDIR)$(includedir)/iconv.h
+@@ -93,7 +93,7 @@ uninstall : force
+ check : all force
+ cd libcharset && $(MAKE) check
+ cd lib && $(MAKE) check
+- cd preload && $(MAKE) check
++# cd preload && $(MAKE) check
+ cd srclib && $(MAKE) check
+ cd src && $(MAKE) check
+ cd po && $(MAKE) check
+@@ -104,7 +104,7 @@ mostlyclean : force
+ cd libcharset && $(MAKE) mostlyclean
+ $(RM) lib/charset.alias lib/libcharset.* lib/localcharset.h
+ cd lib && $(MAKE) mostlyclean
+- cd preload && $(MAKE) mostlyclean
++# cd preload && $(MAKE) mostlyclean
+ cd srclib && $(MAKE) mostlyclean
+ cd src && $(MAKE) mostlyclean
+ cd po && $(MAKE) mostlyclean
+@@ -116,7 +116,7 @@ clean : force
+ cd libcharset && $(MAKE) clean
+ $(RM) lib/charset.alias lib/libcharset.* lib/localcharset.h
+ cd lib && $(MAKE) clean
+- cd preload && $(MAKE) clean
++# cd preload && $(MAKE) clean
+ cd srclib && $(MAKE) clean
+ cd src && $(MAKE) clean
+ cd po && $(MAKE) clean
+@@ -128,7 +128,7 @@ distclean : force
+ cd libcharset && if test -f Makefile; then $(MAKE) distclean; fi
+ $(RM) lib/charset.alias lib/libcharset.* lib/localcharset.h
+ cd lib && if test -f Makefile; then $(MAKE) distclean; fi
+- cd preload && if test -f Makefile; then $(MAKE) distclean; fi
++# cd preload && if test -f Makefile; then $(MAKE) distclean; fi
+ cd srclib && if test -f Makefile; then $(MAKE) distclean; fi
+ cd src && if test -f Makefile; then $(MAKE) distclean; fi
+ cd po && if test -f Makefile; then $(MAKE) distclean; fi
+@@ -143,7 +143,7 @@ maintainer-clean : force
+ cd libcharset && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+ $(RM) lib/charset.alias lib/libcharset.* lib/localcharset.h
+ cd lib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+- cd preload && if test -f Makefile; then $(MAKE) maintainer-clean; fi
++# cd preload && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+ cd srclib && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+ cd src && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+ cd po && if test -f Makefile; then $(MAKE) maintainer-clean; fi
+--
+1.7.12
+