summaryrefslogtreecommitdiff
path: root/repo/schroot/musl.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-05-18 15:48:01 +0100
committerdavidovski <david@davidovski.xyz>2023-05-18 15:48:01 +0100
commite0a428e6c9067b90ce3078c2d50bc75c94047d7f (patch)
tree3cf0d6dfacb972e826dd772a0c53c899a18f9b30 /repo/schroot/musl.patch
parentb9fc4f41e38eaa6d27652d418b983d40d13ef82c (diff)
parenta5ee6fa1836ed3986be333d6c9b4eed8d639636b (diff)
Merge branch 'master' of git.cheetah.remote:xilinux/buildfilesHEADmaster
Diffstat (limited to 'repo/schroot/musl.patch')
-rw-r--r--repo/schroot/musl.patch51
1 files changed, 51 insertions, 0 deletions
diff --git a/repo/schroot/musl.patch b/repo/schroot/musl.patch
new file mode 100644
index 0000000..8e27ad7
--- /dev/null
+++ b/repo/schroot/musl.patch
@@ -0,0 +1,51 @@
+From 73936a423227aa78b7682bdd3edc20643763807b Mon Sep 17 00:00:00 2001
+From: Andrea Brancaleoni <abc@pompel.me>
+Date: Wed, 19 Sep 2018 11:22:47 +0200
+Subject: [PATCH] musl
+
+---
+ sbuild/sbuild-feature.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git sbuild/sbuild-feature.cc sbuild/sbuild-feature.cc
+index 5ac4725..9902db3 100644
+--- a/sbuild/sbuild-feature.cc
++++ b/sbuild/sbuild-feature.cc
+@@ -20,6 +20,8 @@
+
+ #include <iostream>
+
++#include <libintl.h>
++
+ #include "sbuild-feature.h"
+
+ using namespace sbuild;
+--
+2.19.0
+
+diff --git a/sbuild/Makefile.am b/sbuild/Makefile.am
+index 03b5c7b..afa7638 100644
+--- a/sbuild/Makefile.am
++++ b/sbuild/Makefile.am
+@@ -222,7 +222,7 @@ pkgconfigdata_DATA = sbuild.pc
+ # Uncomment to build a versioned library
+ libsbuild_version = -version-info $(SBUILD_CURRENT_INTERFACE):$(SBUILD_INTERFACE_AGE):$(SBUILD_BINARY_AGE)
+ libsbuild_la_LDFLAGS = $(libsbuild_version) \
+- -rpath $(libdir) -no-undefined
++ -rpath $(libdir) -no-undefined -lintl
+
+ EXTRA_DIST = \
+ CMakeLists.txt \
+diff --git a/test/Makefile.in b/test/Makefile.in
+index ce78448..efbc287 100644
+--- a/test/Makefile.in
++++ b/test/Makefile.in
+@@ -334,7 +334,7 @@ am__v_CC_1 =
+ CCLD = $(CC)
+ LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
+ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+- $(AM_LDFLAGS) $(LDFLAGS) -o $@
++ $(AM_LDFLAGS) $(LDFLAGS) -lcppunit -o $@
+ AM_V_CCLD = $(am__v_CCLD_@AM_V@)
+ am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
+ am__v_CCLD_0 = @echo " CCLD " $@;