From 59765f508225998d8a73b1da8380ff06b4a6b79c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Mon, 14 Nov 2016 23:02:47 +0100 Subject: 1) Replaces the SysV-style build script link mechanism w/ build {,meta-}targets, 2) splits build.{subr,sh}} into subr/{build,pkg,rtl}.subr and build.sh, 3) replaces {997.strip,998.midipix_sh,999.tarballs}.build with subr/{strip,tarball}.subr, 4) moves patches to patches/, vars files to vars/, and everything else to etc/, 5) renames `Create `Midipix mintty shell' shortcut.vbs' to midipix_shortcut.vbs, 6) fixes a Weechat configure issue, and 7) updates etc/{build.usage,README}. --- patches/libelf-0.8.13.local.patch | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 patches/libelf-0.8.13.local.patch (limited to 'patches/libelf-0.8.13.local.patch') diff --git a/patches/libelf-0.8.13.local.patch b/patches/libelf-0.8.13.local.patch new file mode 100644 index 00000000..73d60e90 --- /dev/null +++ b/patches/libelf-0.8.13.local.patch @@ -0,0 +1,39 @@ +diff -ru a/configure b/configure +--- a/configure 2008-05-23 04:18:03.000000000 -0400 ++++ b/configure 2015-03-10 20:32:16.332333640 -0400 +@@ -3445,6 +3445,16 @@ + LINK_SHLIB='$(LD) -G -z text -h $(SONAME)' + INSTALL_SHLIB='$(INSTALL_PROGRAM)' + ;; ++ *midipix*) ++ PICFLAGS='-fPIC -DPIC' ++ SHLIB_SFX='.so.$(VERSION)' ++ SHLINK_SFX='.so' ++ SONAME_SFX='.so.$(MAJOR)' ++ LINK_SHLIB='$(CC) -shared -Wl,-soname,$(SONAME) -mout-implib -moutput-def' ++ IMPLIB_NAME=libelf.`echo "so.$VERSION" | sed -E 's/[^\.]+$/lib.a/'` ++ INSTALL_SHLIB='cp $(IMPLIB_NAME) $(libdir)/libelf.lib.a; $(INSTALL_PROGRAM)' ++ DEPSHLIBS='' ++ ;; + *) + echo "configure: warning: shared libraries not supported for $host" 1>&2 + mr_enable_shared=no +@@ -3687,6 +3697,7 @@ + s%@INSTALL_SHLIB@%$INSTALL_SHLIB%g + s%@DEPSHLIBS@%$DEPSHLIBS%g + s%@DO_SHLIB@%$DO_SHLIB%g ++s%@IMPLIB_NAME@%$IMPLIB_NAME%g + + CEOF + EOF +diff -ru a/lib/Makefile.in b/lib/Makefile.in +--- a/lib/Makefile.in 2009-11-01 08:04:19.000000000 -0500 ++++ b/lib/Makefile.in 2015-03-09 00:13:06.842232837 -0400 +@@ -49,6 +49,7 @@ + SHLINK_SFX = @SHLINK_SFX@ + SONAME_SFX = @SONAME_SFX@ + LINK_SHLIB = @LINK_SHLIB@ ++IMPLIB_NAME = @IMPLIB_NAME@ + INSTALL_SHLIB = @INSTALL_SHLIB@ + + SHLIB = libelf$(SHLIB_SFX) -- cgit v1.2.3