[packages/read-edid] Rel 2
arekm
arekm at pld-linux.org
Sat Mar 14 14:45:33 CET 2026
commit 95e7dbcba54ddb9aa9e0be9da7a003c34788ce35
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat Mar 14 14:45:25 2026 +0100
Rel 2
read-edid-quiet-multiple-definition.patch | 21 +++++++++++++++++++++
read-edid.spec | 4 +++-
2 files changed, 24 insertions(+), 1 deletion(-)
---
diff --git a/read-edid.spec b/read-edid.spec
index 2ab6d47..ff363f1 100644
--- a/read-edid.spec
+++ b/read-edid.spec
@@ -2,11 +2,12 @@ Summary: Gets various useful informations from a conforming PnP monitor
Summary(pl.UTF-8): Pobieranie różnych przydatnych informacji z monitora zgodnego z PnP
Name: read-edid
Version: 3.0.2
-Release: 1
+Release: 2
License: BSD-like (see LICENSE, distributed modifications must be sent to author)
Group: Applications/System
Source0: http://polypux.org/projects/read-edid/%{name}-%{version}.tar.gz
# Source0-md5: 016546e438bf6c98739ff74061df9854
+Patch0: %{name}-quiet-multiple-definition.patch
URL: http://polypux.org/projects/read-edid/
BuildRequires: cmake >= 2.6
BuildRequires: libx86-devel
@@ -47,6 +48,7 @@ dla architektur i386 i powerpc.
%prep
%setup -q
+%patch -P0 -p1
# CMakeLists.txt expects COPYING, not LICENSE
%{__mv} LICENSE COPYING
diff --git a/read-edid-quiet-multiple-definition.patch b/read-edid-quiet-multiple-definition.patch
new file mode 100644
index 0000000..75297f1
--- /dev/null
+++ b/read-edid-quiet-multiple-definition.patch
@@ -0,0 +1,21 @@
+--- read-edid-3.0.2/get-edid/classic.c.orig
++++ read-edid-3.0.2/get-edid/classic.c
+@@ -26,7 +26,7 @@
+ #define dosmemput(buffer,length,offset) memcpy(offset,buffer,length)
+
+ #define display(...) if (quiet == 0) { fprintf(stderr, __VA_ARGS__); }
+-int quiet;
++extern int quiet;
+
+ real_ptr far_ptr_to_real_ptr( uint32 farptr )
+ {
+--- read-edid-3.0.2/get-edid/i2c.c.orig
++++ read-edid-3.0.2/get-edid/i2c.c
+@@ -15,7 +15,7 @@
+
+ //Ideas (but not too much actual code) taken from i2c-tools. Thanks guys.
+
+-int quiet;
++extern int quiet;
+
+ #define display(...) if (quiet == 0) { fprintf(stderr, __VA_ARGS__); }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/read-edid.git/commitdiff/95e7dbcba54ddb9aa9e0be9da7a003c34788ce35
More information about the pld-cvs-commit
mailing list