Mercurial > mxe-octave
view src/mingw-s2tc-1-fixes.patch @ 4618:de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
* Makefile.in: add handling for packages with no update rule
* src/gtk2.mk, src/gtk3.mk, src/libvpx.mk, src/taglib.mk,
src/hunspell.mk, src/vala.mk : use github tags for version info
* src/llvm.mk: add '?' to update url
* src/openscenegraph.mk: update SED rule for version extraction
* src/pthread-stubs.mk, src/qt5.mk, src/renderproto.mk,
src/sm.mk, src/s2tc.mk, src/util-macros.mk: added dummy PKG_UPDATE rule
* src/qscintilla.mk: change search name for version extraction
* src/qtbase.mk: use short pkg version in update path
* src/suitesparse.mk: update change in main url/version url
* src/tre.mk: update download page link
* src/vmime.mk: update download and update url
* src/wget.mk, src/xapian-core.mk: update url, sed rule
* src/wt.mk: update to use github download/update
* src/src-msys-libcrypt.mk: update sed rule
author | John Donoghue |
---|---|
date | Fri, 09 Mar 2018 11:46:42 -0500 |
parents | 859c456e1257 |
children |
line wrap: on
line source
diff -uNr a/configure.ac b/configure.ac --- a/configure.ac 2013-11-04 07:14:46.000000000 -0500 +++ b/configure.ac 2017-10-18 09:14:22.139804537 -0400 @@ -11,7 +11,13 @@ fi fi -AC_PROG_LIBTOOL +ifdef([LT_INIT], [], [ + errprint([error: you must have libtool 2.2.2 or a more recent version +]) + m4exit([1])]) + +LT_PREREQ([2.2.2]) +LT_INIT([disable-static dlopen win32-dll]) AC_ARG_ENABLE(runtime-linking, AS_HELP_STRING([--disable-runtime-linking], [Do not load the library at runtime (faster startup, more dependencies)]), [enable_runtime_linking=$enableval], [enable_runtime_linking=yes]) AC_ARG_ENABLE(tools, AS_HELP_STRING([--disable-tools], [Do not build the s2tc_compress and s2_decompress tools]), [enable_tools=$enableval], [enable_tools=yes]) diff -uNr a/Makefile.am b/Makefile.am --- a/Makefile.am 2013-11-04 07:14:46.000000000 -0500 +++ b/Makefile.am 2017-10-18 09:15:08.413658528 -0400 @@ -26,7 +26,7 @@ if ENABLE_LIB lib_LTLIBRARIES = libtxc_dxtn.la libtxc_dxtn_la_SOURCES = s2tc_algorithm.cpp s2tc_libtxc_dxtn.cpp s2tc_common.h s2tc_algorithm.h txc_dxtn.h s2tc_license.h -libtxc_dxtn_la_LDFLAGS = -versioninfo 0:0:0 +libtxc_dxtn_la_LDFLAGS = -versioninfo 0:0:0 -no-undefined libtxc_dxtn_la_LIBADD = -lm libtxc_dxtn_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement library_includedir = $(includedir)