summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorØrjan Malde <red@foxi.me>2021-11-21 10:49:51 +0100
committerØrjan Malde <red@foxi.me>2021-11-21 10:49:51 +0100
commitad3f0b8c4e093aa00c9ee107a29e946774a13d4e (patch)
treef762d9cbf3831f5bb56332dc6c1356ede5a80858 /patches
parent398a1ebfff2ba02c0b93afb5b748be4f0ce93329 (diff)
downloadmidipix_build-ad3f0b8c4e093aa00c9ee107a29e946774a13d4e.tar.bz2
midipix_build-ad3f0b8c4e093aa00c9ee107a29e946774a13d4e.tar.xz
groups/251.native_packages_lib.group: adds libiconv v1.16
Signed-off-by: Ørjan Malde <red@foxi.me>
Diffstat (limited to 'patches')
-rw-r--r--patches/libiconv-1.16_pre.local.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/patches/libiconv-1.16_pre.local.patch b/patches/libiconv-1.16_pre.local.patch
new file mode 100644
index 00000000..8a8f860f
--- /dev/null
+++ b/patches/libiconv-1.16_pre.local.patch
@@ -0,0 +1,12 @@
+diff -ru libiconv-1.16.orig/src/Makefile.in libiconv-1.16/src/Makefile.in
+--- libiconv-1.16.orig/src/Makefile.in 2019-01-27 23:07:13.000000000 +0100
++++ libiconv-1.16/src/Makefile.in 2021-11-21 02:07:16.220970962 +0100
+@@ -113,7 +113,7 @@
+ if [ ! -d $(DESTDIR)$(bindir) ] ; then $(mkinstalldirs) $(DESTDIR)$(bindir) ; fi
+ case "@host_os@" in \
+ hpux*) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a -L$(DESTDIR)$(libdir) -liconv @LIBINTL@ $(OBJECTS_RES_@WOE32@) `if test -n '$(DESTDIR)'; then echo " -Wl,+b -Wl,$(libdir)"; fi` -o iconv$(EXEEXT);; \
+- *) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a $(DESTDIR)$(libdir)/libiconv.la @LTLIBINTL@ $(OBJECTS_RES_@WOE32@) -o iconv$(EXEEXT);; \
++ *) $(LIBTOOL_LINK) $(CC) $(LDFLAGS) $(CFLAGS) $(iconv_LDFLAGS) iconv.@OBJEXT@ ../srclib/libicrt.a ../lib/.libs/libiconv.so.2 @LTLIBINTL@ $(OBJECTS_RES_@WOE32@) -o iconv$(EXEEXT);; \
+ esac
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL_INSTALL) $(INSTALL_PROGRAM) iconv$(EXEEXT) $(DESTDIR)$(bindir)/iconv$(EXEEXT)
+