Page Menu
Home
Solus
Search
Configure Global Search
Log In
Files
F10777669
D6590.id15786.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Referenced Files
None
Subscribers
None
D6590.id15786.diff
View Options
diff --git a/files/0001-avoid-deprecated-libusb-functions.patch b/files/0001-avoid-deprecated-libusb-functions.patch
deleted file mode 100644
--- a/files/0001-avoid-deprecated-libusb-functions.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-From 291764a70e6d8b212680e311bfb0825abf2b9a2f Mon Sep 17 00:00:00 2001
-From: Alex James <theracermaster@gmail.com>
-Date: Sat, 14 Apr 2018 22:59:57 -0500
-Subject: ch341a_spi: Avoid deprecated libusb functions
-
-libusb 1.0.22 marked libusb_set_debug as deprecated. For such versions
-of libusb, use libusb_set_option instead.
-
-Change-Id: Ib71ebe812316eaf49136979a942a946ef9e4d487
-Signed-off-by: Alex James <theracermaster@gmail.com>
-Reviewed-on: https://review.coreboot.org/25681
-Tested-by: Nico Huber <nico.h@gmx.de>
-Reviewed-by: David Hendricks <david.hendricks@gmail.com>
----
- ch341a_spi.c | 7 ++++++-
- 1 file changed, 6 insertions(+), 1 deletion(-)
-
-diff --git a/ch341a_spi.c b/ch341a_spi.c
-index 95e9c957..ee18624e 100644
---- a/ch341a_spi.c
-+++ b/ch341a_spi.c
-@@ -441,7 +441,12 @@ int ch341a_spi_init(void)
- return -1;
- }
-
-- libusb_set_debug(NULL, 3); // Enable information, warning and error messages (only).
-+ /* Enable information, warning, and error messages (only). */
-+#if LIBUSB_API_VERSION < 0x01000106
-+ libusb_set_debug(NULL, 3);
-+#else
-+ libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_INFO);
-+#endif
-
- uint16_t vid = devs_ch341a_spi[0].vendor_id;
- uint16_t pid = devs_ch341a_spi[0].device_id;
---
-cgit v1.2.1
diff --git a/package.yml b/package.yml
--- a/package.yml
+++ b/package.yml
@@ -1,8 +1,8 @@
name : flashrom
-version : 1.0.1
-release : 2
+version : 1.1
+release : 3
source :
- - https://download.flashrom.org/releases/flashrom-v1.0.1.tar.bz2 : d579f8dda5b69eeab55a658d59ffbe185443e4e8477e751aaf38c36468cede44
+ - https://download.flashrom.org/releases/flashrom-v1.1.tar.bz2 : aeada9c70c22421217c669356180c0deddd0b60876e63d2224e3260b90c14e19
license : GPL-2.0-or-later
component : system.utils
summary : flashrom is a utility for identifying, reading, writing, verifying and erasing flash chips.
@@ -11,8 +11,6 @@
builddeps :
- pkgconfig(libpci)
- pkgconfig(libusb)
-setup : |
- %patch -p1 < $pkgfiles/0001-avoid-deprecated-libusb-functions.patch
build : |
%make
install : |
diff --git a/pspec_x86_64.xml b/pspec_x86_64.xml
--- a/pspec_x86_64.xml
+++ b/pspec_x86_64.xml
@@ -24,12 +24,12 @@
</Files>
</Package>
<History>
- <Update release="2">
- <Date>2019-05-17</Date>
- <Version>1.0.1</Version>
+ <Update release="3">
+ <Date>2019-06-24</Date>
+ <Version>1.1</Version>
<Comment>Packaging update</Comment>
<Name>Moriel Yitzhak Ever</Name>
<Email>emoriel17@yahoo.com</Email>
</Update>
</History>
</PISI>
\ No newline at end of file
File Metadata
Details
Attached
Mime Type
text/plain
Expires
May 24 2023, 11:51 PM (11 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5808686
Default Alt Text
D6590.id15786.diff (2 KB)
Attached To
Mode
D6590: Update FlashROM to v1.1
Attached
Detach File
Event Timeline
Log In to Comment