Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15
cfitsio
cfitsio-zlib.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cfitsio-zlib.patch of Package cfitsio
--- Makefile.in | 8 +++----- zlib/zcompress.c | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) Index: cfitsio/Makefile.in =================================================================== --- cfitsio.orig/Makefile.in +++ cfitsio/Makefile.in @@ -67,9 +67,7 @@ CORE_SOURCES = buffers.c cfileio.c chec pliocomp.c fits_hcompress.c fits_hdecompress.c \ simplerng.c @GSIFTP_SRC@ -ZLIB_SOURCES = zlib/adler32.c zlib/crc32.c zlib/deflate.c zlib/infback.c \ - zlib/inffast.c zlib/inflate.c zlib/inftrees.c zlib/trees.c \ - zlib/uncompr.c zlib/zcompress.c zlib/zuncompress.c zlib/zutil.c +ZLIB_SOURCES = zlib/zcompress.c zlib/zuncompress.c SOURCES = ${CORE_SOURCES} ${ZLIB_SOURCES} @F77_WRAPPERS@ @@ -102,7 +100,7 @@ lib${PACKAGE}.a: ${OBJECTS} shared: lib${PACKAGE}${SHLIB_SUFFIX} lib${PACKAGE}${SHLIB_SUFFIX}: ${OBJECTS} - ${SHLIB_LD} ${LDFLAGS} -o ${CFITSIO_SHLIB} ${OBJECTS} -lm ${LIBS} + ${SHLIB_LD} ${LDFLAGS} -o ${CFITSIO_SHLIB} ${OBJECTS} -lm ${LIBS} -lz @if [ "x${CFITSIO_SHLIB_SONAME}" != x ]; then \ ln -sf ${CFITSIO_SHLIB} ${CFITSIO_SHLIB_SONAME}; \ ln -sf ${CFITSIO_SHLIB_SONAME} $@; \ @@ -142,7 +140,7 @@ smem: smem.o lib${PACKAGE}.a ${OBJECTS} ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm testprog: testprog.o lib${PACKAGE}.a ${OBJECTS} - ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm ${LIBS} + ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o -L. -l${PACKAGE} -lm ${LIBS} -lz fpack: fpack.o fpackutil.o lib${PACKAGE}.a ${OBJECTS} ${CC} ${LDFLAGS_BIN} ${DEFS} -o $@ ${@}.o fpackutil.o -L. -l${PACKAGE} -lm ${LIBS} Index: cfitsio/zlib/zcompress.c =================================================================== --- cfitsio.orig/zlib/zcompress.c +++ cfitsio/zlib/zcompress.c @@ -3,7 +3,7 @@ #include <stdlib.h> #include <string.h> #include <limits.h> -#include "zlib.h" +#include <zlib.h> #define GZBUFSIZE 115200 /* 40 FITS blocks */ #define BUFFINCR 28800 /* 10 FITS blocks */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor