Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 May 2005 18:14:13 GMT
From:      sylvio cesar <sylvioc@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/80512: [MAINTAINER] sysutils/eject: removed pkg-message, added patch-eject.c
Message-ID:  <200505011814.j41IEDA4098422@www.freebsd.org>
Resent-Message-ID: <200505011820.j41IK2D9058454@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         80512
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/eject: removed pkg-message, added patch-eject.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 01 18:20:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     sylvio cesar
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD sylvioc.gmail.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Apr 22 14:34:28 BRT 2005

>Description:
Added file(s):
- files/patch-eject.1
- files/patch-eject.c

Removed file(s):
- files/patch-ab

Generated with FreeBSD Port Tools 0.63

>How-To-Repeat:
      
>Fix:
--- eject-1.5.patch begins here ---
Index: files/patch-ab
===================================================================
RCS file: files/patch-ab
diff -N files/patch-ab
--- files/patch-ab      1 Feb 2004 17:02:40 -0000       1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- eject.1.orig       Tue Jan  4 14:49:41 2000
-+++ eject.1    Sun Feb  1 00:49:17 2004
-@@ -53,6 +53,8 @@
- Not execute operation but print it.
- .It Fl v
- Verbose mode.
-+.It Fl t
-+Give drive tray close command.
- .Sh ENVIRONMENT
- If the following environment variable exists, it is used by
- .Nm eject :
Index: files/patch-eject.1
===================================================================
RCS file: files/patch-eject.1
diff -N files/patch-eject.1
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ files/patch-eject.1 1 May 2005 18:11:11 -0000
@@ -0,0 +1,11 @@
+--- eject.1.orig       Tue Jan  4 14:49:41 2000
++++ eject.1    Sun Feb  1 00:49:17 2004
+@@ -53,6 +53,8 @@
+ Not execute operation but print it.
+ .It Fl v
+ Verbose mode.
++.It Fl t
++Give drive tray close command.
+ .Sh ENVIRONMENT
+ If the following environment variable exists, it is used by
+ .Nm eject :
Index: files/patch-eject.c
===================================================================
RCS file: files/patch-eject.c
diff -N files/patch-eject.c
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ files/patch-eject.c 1 May 2005 18:11:11 -0000
@@ -0,0 +1,11 @@
+--- eject.c.orig       Sun May  1 14:50:31 2005
++++ eject.c    Sun May  1 14:51:33 2005
+@@ -133,7 +133,7 @@
+     int sts;
+     struct stat sb;
+
+-    if (asprintf(device, "/dev/%sc", name) == -1)
++    if (asprintf(device, "/dev/%s", name) == -1)
+       return sts;
+     if (vflag || nflag) {
+       printf("%s: using device %s\n", program, device);
--- eject-1.5.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505011814.j41IEDA4098422>