openpkg/zlib.patch

Wed, 08 Feb 2012 20:07:00 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 08 Feb 2012 20:07:00 +0200
changeset 588
300d43423c2e
permissions
-rw-r--r--

Update version, adapt patch, correct PID writing, correct build on newer
FreeBSD releases, and most importantly introduce new patch to try to
avoid segfault caused by multiple network interfaces with the same (or
no) address. This is common when configuring bridges and tunnels.

michael@428 1 Index: Makefile.in
michael@428 2 --- Makefile.in.orig 2012-04-23 07:58:06.000000000 +0200
michael@428 3 +++ Makefile.in 2012-05-03 20:26:07.000000000 +0200
michael@428 4 @@ -193,16 +193,6 @@
michael@428 5 cp $(STATICLIB) $(DESTDIR)$(libdir)
michael@428 6 chmod 644 $(DESTDIR)$(libdir)/$(STATICLIB)
michael@428 7 -@($(RANLIB) $(DESTDIR)$(libdir)/libz.a || true) >/dev/null 2>&1
michael@428 8 - -@if test -n "$(SHAREDLIBV)"; then \
michael@428 9 - cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir); \
michael@428 10 - echo "cp $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)"; \
michael@428 11 - chmod 755 $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBV); \
michael@428 12 - echo "chmod 755 $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBV)"; \
michael@428 13 - rm -f $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \
michael@428 14 - ln -s $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIB); \
michael@428 15 - ln -s $(SHAREDLIBV) $(DESTDIR)$(sharedlibdir)/$(SHAREDLIBM); \
michael@428 16 - ($(LDCONFIG) || true) >/dev/null 2>&1; \
michael@428 17 - fi
michael@428 18 cp zlib.3 $(DESTDIR)$(man3dir)
michael@428 19 chmod 644 $(DESTDIR)$(man3dir)/zlib.3
michael@428 20 cp zlib.pc $(DESTDIR)$(pkgconfigdir)

mercurial