Bug 747936

Summary: Do not use baudboy.h
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: minicomAssignee: Jaromír Cápík <jcapik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: jcapik, ndevos, ovasik
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-24 14:31:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
updated rh.patch none

Description Jiri Popelka 2011-10-21 12:57:41 UTC
Created attachment 529505 [details]
updated rh.patch

Description of problem:

Lockdev has had new upstream for almost 2 year now. They merged all patches
from various distros and done many other changes. The most important for you is
that lockdev-devel in Fedora-17 no longer contains baudboy.h so you need to use
ttylock.h instead of baudboy.h and link against liblockdev.

You need to fix minicom-2.5-rh.patch (I'm attaching updated one) and run autoreconf before %configure

diff --git a/minicom.spec b/minicom.spec
@@ -7,7 +7,7 @@ License: GPLv2+
 Group: Applications/Communications
 ExcludeArch: s390 s390x
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: lockdev-devel ncurses-devel
+BuildRequires: lockdev-devel ncurses-devel autoconf automake gettext-devel
 Requires: lockdev lrzsz
 
 Source0: http://alioth.debian.org/frs/download.php/3487/minicom-2.5.tar.gz
@@ -34,6 +34,7 @@ cp -pr doc doc_
 rm -f doc_/Makefile*
 
 %build
+autoreconf --verbose --force --install
 %configure
 make %{?_smp_mflags}

Comment 1 Jaromír Cápík 2011-10-24 14:31:53 UTC
Thanks.

Changes applied ... closing.