Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes gui variant. Closes: https://trac.macports.org/ticket/53474
- Loading branch information
1 parent
68ab22b
commit dbb63e5
Showing
3 changed files
with
51 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
cross/stlink/files/patch-cmake-modules-FindLibUSB.cmake.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- cmake/modules/FindLibUSB.cmake.orig 2017-01-28 04:55:48.000000000 -0600 | ||
+++ cmake/modules/FindLibUSB.cmake 2017-02-05 20:44:46.000000000 -0600 | ||
@@ -45,7 +45,7 @@ | ||
endif() | ||
|
||
if (APPLE) | ||
- set(LIBUSB_NAME libusb-1.0.a) | ||
+ set(LIBUSB_NAME libusb-1.0.dylib) | ||
elseif(MSYS OR MINGW) | ||
set(LIBUSB_NAME usb-1.0) | ||
elseif(WIN32 OR CMAKE_VS_PLATFORM_NAME) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- src/logging.c.orig 2017-01-28 11:55:48.000000000 +0100 | ||
+++ src/logging.c 2017-02-03 00:12:16.000000000 +0100 | ||
@@ -30,25 +30,25 @@ | ||
fprintf(stderr, "%d-%02d-%02dT%02d:%02d:%02d ", tt->tm_year + 1900, tt->tm_mon + 1, tt->tm_mday, tt->tm_hour, tt->tm_min, tt->tm_sec); | ||
switch (level) { | ||
case UDEBUG: | ||
- fprintf(stderr, "DEBUG %s: ", tag); | ||
+ fprintf(stderr, "DEBUG: "); | ||
break; | ||
case UINFO: | ||
- fprintf(stderr, "INFO %s: ", tag); | ||
+ fprintf(stderr, "INFO: "); | ||
break; | ||
case UWARN: | ||
- fprintf(stderr, "WARN %s: ", tag); | ||
+ fprintf(stderr, "WARN: "); | ||
break; | ||
case UERROR: | ||
- fprintf(stderr, "ERROR %s: ", tag); | ||
+ fprintf(stderr, "ERROR: "); | ||
break; | ||
case UFATAL: | ||
- fprintf(stderr, "FATAL %s: ", tag); | ||
+ fprintf(stderr, "FATAL: "); | ||
vfprintf(stderr, format, args); | ||
exit(EXIT_FAILURE); | ||
// NEVER GETS HERE!!! | ||
break; | ||
default: | ||
- fprintf(stderr, "%d %s: ", level, tag); | ||
+ fprintf(stderr, "%d: ", level); | ||
break; | ||
} | ||
vfprintf(stderr, format, args); |