view src/glpk-1-fixes.patch @ 3293:cf6f40cededb

Support file list generation in packages. For the following modules: - arpack - blas - build-autoconf - build-automake - build-cmake - build-gperf - build-libtool - build-msvctools - build-pkg-config - build-texinfo - bzip2 - curl - dbus - expat - fftw - fltk - fontconfig - freetype - gettext - glpk - gmp - gnuplot - gnutls - graphicsmagick - hdf5 - jasper - jpeg - lapack - lcms - libgcrypt - libgpg_error - libiconv - libidn - libpng - libssh2 - libxml2 - ncurses - nettle - openssl - pcre - pstoedit - zlib - qhull - qrupdate - qscintilla - qt - readline - suitesparse - texinfo - tiff
author Michael Goffioul <michael.goffioul@gmail.com>
date Sat, 09 Nov 2013 23:28:04 -0500
parents 7ecd056f09a6
children 3858aa1d5ef8
line wrap: on
line source

diff -ur glpk-4.52.1.orig/configure.ac glpk-4.52.1/configure.ac
--- glpk-4.52.1.orig/configure.ac	2013-10-18 07:53:54 -0400
+++ glpk-4.52.1/configure.ac	2013-10-18 08:00:53 -0400
@@ -54,7 +54,7 @@
 dnl Check for programs
 AC_PROG_CC
 AC_PROG_INSTALL
-AC_PROG_LIBTOOL
+LT_INIT([win32-dll])
 
 dnl Check for math library
 AC_CHECK_LIB([m], [exp])
diff -ur glpk-4.52.1.orig/src/Makefile.am glpk-4.52.1/src/Makefile.am
--- glpk-4.52.1.orig/src/Makefile.am	2013-10-18 07:53:54 -0400
+++ glpk-4.52.1/src/Makefile.am	2013-10-18 08:02:15 -0400
@@ -17,6 +17,7 @@
 -I$(srcdir)/zlib
 
 libglpk_la_LDFLAGS = \
+-no-undefined \
 -version-info 36:1:0 \
 -export-symbols-regex '^glp_*'