]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-cross-mingw: Update patch to match recent changes.
authorUwe Hermann <redacted>
Fri, 21 Aug 2015 06:43:23 +0000 (08:43 +0200)
committerUwe Hermann <redacted>
Fri, 21 Aug 2015 09:53:14 +0000 (11:53 +0200)
cross-compile/mingw/libsigrok_firmwaredir.patch

index d9d351ac829944d4ca338b1b5782d680309e6ea4..6299afe957436fcf0672955f276b8ae67d1380bb 100644 (file)
@@ -1,13 +1,13 @@
 diff --git a/configure.ac b/configure.ac
-index cbe91cf..447c7e2 100644
+index dc4771e..a1274a2 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -543,7 +543,7 @@ AC_TYPE_SIZE_T
- # Checks for library functions.
- AC_CHECK_FUNCS([gettimeofday memset strchr strcspn strdup strerror strncasecmp strstr strtol strtoul strtoull])
+@@ -484,7 +484,7 @@ AC_SEARCH_LIBS([pow], [m])
+ # We need to link against the Winsock2 library for SCPI over TCP.
+ AS_CASE([$host], [*mingw*], [LIBS="$LIBS -lws2_32"])
  
--AC_SUBST(FIRMWARE_DIR, "$datadir/sigrok-firmware")
-+AC_SUBST(FIRMWARE_DIR, "firmware")
- AC_SUBST(MAKEFLAGS, '--no-print-directory')
- AC_SUBST(AM_LIBTOOLFLAGS, '--silent')
+-AC_SUBST([FIRMWARE_DIR], ['$(datadir)/sigrok-firmware'])
++AC_SUBST([FIRMWARE_DIR], ['firmware'])
+ AC_SUBST([MAKEFLAGS], ['--no-print-directory'])
+ AC_SUBST([AM_LIBTOOLFLAGS], ['--silent'])