Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37880265
en ru br
ALT Linux repositórios
S:5.0-alt1_1
5.0: 4.9-alt1
4.1: 4.9-alt1
4.0: 4.9-alt1

Outros repositórios
Upstream:4.27

Group :: Ciências/Matemática
RPM: glpk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: glpk-4.65-unbundle-zlib.patch
Download


diff -urN glpk-4.65.orig/doc/glpk11.tex glpk-4.65/doc/glpk11.tex
--- glpk-4.65.orig/doc/glpk11.tex	2018-02-16 00:00:00.000000000 -0700
+++ glpk-4.65/doc/glpk11.tex	2018-05-20 18:44:07.252528992 -0600
@@ -158,50 +158,4 @@ WITH THE SOFTWARE OR THE USE OR OTHER DE
 \noindent
 \url{http://www.cs.chalmers.se/Cs/Research/FormalMethods/MiniSat}
 
-%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-
-\section{zlib}
-
-\noindent
-zlib version 1.2.5, Copyright {\copyright} 1995--2010 Jean-loup Gailly
-and Mark Adler.
-
-\para{Description}
-
-zlib is a general purpose data compression library. All the code is
-thread safe. The data format used by the zlib library is described by
-RFCs (Request for Comments) 1950 to 1952 in the files
-\verb|rfc1950.txt| (zlib format), \verb|rfc1951.txt| (deflate format)
-and \verb|rfc1952.txt| (gzip format).
-
-\para{License}
-
-This software is provided 'as-is', without any express or implied
-warranty. In no event will the authors be held liable for any damages
-arising from the use of this software.
-
-Permission is granted to anyone to use this software for any purpose,
-including commercial applications, and to alter it and redistribute it
-freely, subject to the following restrictions:
-
-1. The origin of this software must not be misrepresented; you must not
-   claim that you wrote the original software. If you use this software
-   in a product, an acknowledgment in the product documentation would
-   be appreciated but is not required.
-
-2. Altered source versions must be plainly marked as such, and must not
-   be misrepresented as being the original software.
-
-3. This notice may not be removed or altered from any source
-   distribution.
-
-\hfill Jean-loup Gailly
-
-\hfill Mark Adler
-
-\para{Availability}
-
-\noindent
-\url{http://www.zlib.net/}
-
 %* eof *%
diff -urN glpk-4.65.orig/src/env/stream.c glpk-4.65/src/env/stream.c
--- glpk-4.65.orig/src/env/stream.c	2018-02-16 00:00:00.000000000 -0700
+++ glpk-4.65/src/env/stream.c	2018-05-20 18:44:07.252528992 -0600
@@ -22,7 +22,7 @@
 ***********************************************************************/
 
 #include "env.h"
-#include "zlib.h"
+#include <zlib.h>
 
 struct glp_file
 {     /* sequential stream descriptor */
diff -urN glpk-4.65.orig/src/Makefile.am glpk-4.65/src/Makefile.am
--- glpk-4.65.orig/src/Makefile.am	2018-02-16 00:00:00.000000000 -0700
+++ glpk-4.65/src/Makefile.am	2018-05-20 18:45:01.472363924 -0600
@@ -18,14 +18,15 @@ libglpk_la_CPPFLAGS = \
 -I$(srcdir)/mpl \
 -I$(srcdir)/npp \
 -I$(srcdir)/proxy \
--I$(srcdir)/simplex \
--I$(srcdir)/zlib
+-I$(srcdir)/simplex
 
 libglpk_la_LDFLAGS = \
 -version-info 43:0:3 \
 -export-symbols-regex '^glp_*' \
 ${NOUNDEFINED}
 
+libglpk_la_LIBADD = -lz
+
 libglpk_la_SOURCES = \
 amd/amd_1.c \
 amd/amd_2.c \
@@ -202,21 +203,6 @@ simplex/spxprim.c \
 simplex/spxprob.c \
 simplex/spychuzc.c \
 simplex/spychuzr.c \
-simplex/spydual.c \
-zlib/adler32.c \
-zlib/compress.c \
-zlib/crc32.c \
-zlib/deflate.c \
-zlib/gzclose.c \
-zlib/gzlib.c \
-zlib/gzread.c \
-zlib/gzwrite.c \
-zlib/inffast.c \
-zlib/inflate.c \
-zlib/inftrees.c \
-zlib/trees.c \
-zlib/uncompr.c \
-zlib/zio.c \
-zlib/zutil.c
+simplex/spydual.c
 
 ## eof ##
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009