Bug 177093 - comms/deforaos-phone: corrupt patch
Summary: comms/deforaos-phone: corrupt patch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ruslan Makhmatkhanov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-18 23:20 UTC by John Marino
Modified: 2013-03-23 18:10 UTC (History)
0 users

See Also:


Attachments
patch-deforaos-phone.diff.txt (1.19 KB, patch)
2013-03-20 14:11 UTC, olivier
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino 2013-03-18 23:20:00 UTC
comms/deforaos-phone.
It looks like files/patch-src-modems-hayes.c was misgenerated.  Ports can't find a patch in there.

=====================================
d2108 1
a2108 1
		device = "/dev/cuaU0";
=====================================

Fix: 

Regenerate patch with unified diff format.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-18 23:20:07 UTC
Maintainer of comms/deforaos-phone,

Please note that PR ports/177093 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177093

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-18 23:20:08 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 olivier 2013-03-20 14:11:54 UTC
Thanks for spotting this problem !
Here is a proposed patch for fixing this problem.

regards,

Olivier
Comment 4 Eitan Adler freebsd_committer freebsd_triage 2013-03-21 16:21:54 UTC
State Changed
From-To: feedback->open

Maintainer has fixed.
Comment 5 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-03-23 14:49:54 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rm

I will take it.
Comment 6 dfilter service freebsd_committer freebsd_triage 2013-03-23 18:04:27 UTC
Author: rm
Date: Sat Mar 23 18:04:20 2013
New Revision: 315061
URL: http://svnweb.freebsd.org/changeset/ports/315061

Log:
  - remove corrupted patch and use REINPLACE_CMD instead
  - bump PORTREVISION
  
  PR:		177093
  Reported by:    John Marino <draco@marino.st>
  Submitted by:	Olivier Cochard-Labbe <olivier@cochard.me> (maintainer)

Deleted:
  head/comms/deforaos-phone/files/patch-src-modems-hayes.c
Modified:
  head/comms/deforaos-phone/Makefile

Modified: head/comms/deforaos-phone/Makefile
==============================================================================
--- head/comms/deforaos-phone/Makefile	Sat Mar 23 18:00:59 2013	(r315060)
+++ head/comms/deforaos-phone/Makefile	Sat Mar 23 18:04:20 2013	(r315061)
@@ -3,6 +3,7 @@
 
 PORTNAME=	phone
 PORTVERSION=	0.3.11
+PORTREVISION=	1
 CATEGORIES=	comms
 MASTER_SITES=	http://www.defora.org/os/download/download/3721/
 PKGNAMEPREFIX=	deforaos-
@@ -27,4 +28,8 @@ USE_GETTEXT=	yes
 INSTALLS_ICONS=	yes
 MAKE_ARGS+=	PREFIX=${PREFIX}
 
+post-patch:
+	@${REINPLACE_CMD} -e 's,/dev/modem,/dev/cuaU0,g' \
+		${WRKSRC}/src/modems/hayes.c
+
 .include <bsd.port.mk>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 7 Ruslan Makhmatkhanov freebsd_committer freebsd_triage 2013-03-23 18:04:47 UTC
State Changed
From-To: open->closed

Committed, thanks.