Skip to content

Commit b9505a8

Browse files
committed
refresh patches
1 parent 1226ab8 commit b9505a8

4 files changed

+9
-9
lines changed

debian/patches/Fallback-PKG_CONFIG-to-the-configured-pkg-config-always.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ Subject: Fallback PKG_CONFIG to the configured pkg-config always
77
1 file changed, 1 insertion(+), 1 deletion(-)
88

99
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
10-
index 8241494..3014c2a 100644
10+
index 3725a0c..78435f3 100644
1111
--- a/lib/mkmf.rb
1212
+++ b/lib/mkmf.rb
13-
@@ -1867,7 +1867,7 @@ SRC
13+
@@ -1823,7 +1823,7 @@ SRC
1414
if pkgconfig = with_config("#{pkg}-config") and find_executable0(pkgconfig)
15-
# if and only if package specific config command is given
15+
# iff package specific config command is given
1616
elsif ($PKGCONFIG ||=
1717
- (pkgconfig = with_config("pkg-config", ("pkg-config" unless CROSS_COMPILING))) &&
1818
+ (pkgconfig = with_config("pkg-config", RbConfig::CONFIG["PKG_CONFIG"])) &&
1919
find_executable0(pkgconfig) && pkgconfig) and
20-
xsystem([*envs, $PKGCONFIG, "--exists", pkg])
20+
xsystem("#{$PKGCONFIG} --exists #{pkg}")
2121
# default to pkg-config command

debian/patches/Fix-FTBFS-on-x32-misdetected-as-i386-or-amd64.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Bug: #954293
99
1 file changed, 3 insertions(+)
1010

1111
diff --git a/configure.ac b/configure.ac
12-
index 49e0c79..5fb8282 100644
12+
index 158924a..1368961 100644
1313
--- a/configure.ac
1414
+++ b/configure.ac
1515
@@ -2433,6 +2433,9 @@ AS_CASE([$rb_cv_coroutine], [yes|''], [

debian/patches/Honor-the-tool-prefix-against-pkg-config.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ Subject: Honor the tool prefix against pkg-config
77
1 file changed, 8 insertions(+), 5 deletions(-)
88

99
diff --git a/configure.ac b/configure.ac
10-
index 49897ad..e7c00ce 100644
10+
index 1368961..8d90b4c 100644
1111
--- a/configure.ac
1212
+++ b/configure.ac
13-
@@ -488,11 +488,14 @@ AS_IF([test "$cross_compiling:$ac_cv_prog_DTRACE" = no: -a -n "$ac_tool_prefix"]
13+
@@ -470,11 +470,14 @@ AS_IF([test "$cross_compiling:$ac_cv_prog_DTRACE" = no: -a -n "$ac_tool_prefix"]
1414
AC_CHECK_PROGS(DOT, dot)
1515
AC_CHECK_PROGS(DOXYGEN, doxygen)
1616

debian/patches/lib-mkmf.rb-sort-list-of-object-files-in-generated-Makefi.patch

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Signed-off-by: Reiner Herrmann <[email protected]>
1414
1 file changed, 1 insertion(+), 1 deletion(-)
1515

1616
diff --git a/lib/mkmf.rb b/lib/mkmf.rb
17-
index 9468a2c..516fa1e 100644
17+
index 66f2960..3725a0c 100644
1818
--- a/lib/mkmf.rb
1919
+++ b/lib/mkmf.rb
20-
@@ -2315,7 +2315,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS}
20+
@@ -2320,7 +2320,7 @@ LOCAL_LIBS = #{$LOCAL_LIBS}
2121
LIBS = #{$LIBRUBYARG} #{$libs} #{$LIBS}
2222
ORIG_SRCS = #{orig_srcs.collect(&File.method(:basename)).join(' ')}
2323
SRCS = $(ORIG_SRCS) #{(srcs - orig_srcs).collect(&File.method(:basename)).join(' ')}

0 commit comments

Comments
 (0)