Browse Source

Fix build error on i386

Christoph Biedl 3 years ago
parent
commit
4cd201b155
2 changed files with 17 additions and 0 deletions
  1. 1 0
      debian/patches/series
  2. 16 0
      debian/patches/upstream.fix-build-on-i386.patch

+ 1 - 0
debian/patches/series

@@ -1,6 +1,7 @@
 # cherry-picked commits. Keep in upstream's chronological order
 
 # patches that should go upstream
+upstream.fix-build-on-i386.patch
 
 # modifications for Debian
 debian.disable-tcpreplay-test.patch

+ 16 - 0
debian/patches/upstream.fix-build-on-i386.patch

@@ -0,0 +1,16 @@
+Subject: Fix build on i386
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Forwarded: https://sourceforge.net/p/tcpreplay/mailman/message/37070377/
+Last-Update: 2020-07-26
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -106,7 +113,7 @@
+             AC_MSG_RESULT([legacy])
+         fi
+         ;;
+-    Linux*)
++    linux*)
+         dnl ============================================
+         dnl Some libraries are in /usr/lib/i386-linux-gnu
+         dnl but host is i686-linux-gnu