Bug 41092 - patch: unbreak devel/zziplib
Summary: patch: unbreak devel/zziplib
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-29 01:00 UTC by Adam Weinberger
Modified: 2002-09-29 06:25 UTC (History)
0 users

See Also:


Attachments
zziplib.patch (237 bytes, patch)
2002-07-29 01:00 UTC, Adam Weinberger
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Weinberger 2002-07-29 01:00:08 UTC
	devel/zziplib assumes that sys/types.h is separate from sys/int_types.h,
	and thus redefines all the int typedefs. this simply stops the
	offending header from being loaded.
Comment 1 dwcjr 2002-08-12 00:00:13 UTC
I'm not seeing this problem on 5.0, what does the maintainer think?
Comment 2 Adam Weinberger 2002-08-12 00:08:36 UTC
hrmmn. here is what i get from the build on my -STABLE machine. keep in
mind that i patched this after running down bento's 4-STABLE failure
lists and patching random ports.

this is evidently a -STABLE only issue.

-Adam


===>  Extracting for zziplib-0.10.54
>> Checksum OK for zziplib-0.10.54.tar.gz.
===>  Patching for zziplib-0.10.54
===>  Configuring for zziplib-0.10.54
checking build system type... i386-portbld-freebsd4.6
checking host system type... i386-portbld-freebsd4.6
checking target system type... i386-portbld-freebsd4.6
checking default prefix system... is /local-package
...using thread-safe linkage
checking zziplib.spec package version... zziplib 0.10.54  
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for mawk... no
checking for gawk... no
checking for nawk... nawk
checking whether make sets ${MAKE}... yes
checking for i386-portbld-freebsd4.6-gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix... 
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking for ld used by GCC... /usr/libexec/elf/ld
checking if the linker (/usr/libexec/elf/ld) is GNU ld... yes
checking for /usr/libexec/elf/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse nm output... ok
checking how to run the C preprocessor... cc -E
checking for dlfcn.h... yes
checking for i386-portbld-freebsd4.6-ranlib... no
checking for ranlib... ranlib
checking for i386-portbld-freebsd4.6-strip... no
checking for strip... strip
checking for objdir... .libs
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.lo... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/libexec/elf/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... freebsd4.6 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... yes
creating libtool
checking version info... -release 0 -version-info 10:54
checking whether to enable maintainer-specific portions of Makefiles... no
checking for perl5... /usr/bin/perl5
checking for zip... /usr/local/bin/zip
checking for cc option to accept ANSI C... none needed
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for stdint.h... no
checking for unistd.h... yes
checking for windows.h... no
checking for winnt.h... no
checking for zlib.h... yes
checking for sys/int_types.h... no
checking for sys/types.h... yes
checking for sys/mman.h... yes
checking for sys/stat.h... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... (cached) no
checking for unistd.h... (cached) yes
checking for off_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking docdir default... ${datadir}/doc
checking whether using debugging messages in libraries... no
checking whether thread stack is too small for bufsiz buffers... no
checking whether can use mmap for file scanning... yes, added -D_USE_MMAP
checking running extra tests on make check... yes
checking link options... --export-dynamic  # 
checking maintainer mode... libtool-silent, autotools-sleep-99
configure: creating ./config.status
config.status: creating Makefile
config.status: creating zzip-config
config.status: creating config.h
creating zzip-config.h - prefix ZZIP for config.h defines
 DONE zziplib 0.10.54 /usr/local
host: i386-portbld-freebsd4.6
enable shared libraries
enable static libraries
enable  mmap   (yes)
without lowstk (no)
without debug  (no)
===>  Building for zziplib-0.10.54
cd .  && CONFIG_FILES= CONFIG_HEADERS=config.h  /bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
source='zzip-zip.c' object='zzip-zip.lo' libtool=yes  depfile='.deps/zzip-zip.Plo' tmpdepfile='.deps/zzip-zip.TPlo'  depmode=gcc /bin/sh ./depcomp  /bin/sh ./libtool --silent --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I.      -O -pipe -march=pentiumpro -D_USE_MMAP -Wall -c -o zzip-zip.lo `test -f zzip-zip.c || echo './'`zzip-zip.c
*** Error code 1

Stop in /usr/ports/devel/zziplib/work/zziplib-0.10.54.
*** Error code 1

Stop in /usr/ports/devel/zziplib/work/zziplib-0.10.54.
*** Error code 1

Stop in /usr/ports/devel/zziplib.

--
"Oh good, my dog found the chainsaw."
        -Lilo, "Lilo & Stitch"
Adam Weinberger
adam@vectors.cx
http://vectors.cx
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2002-09-29 06:25:39 UTC
State Changed
From-To: open->closed

Patch committed, thanks!