Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 May 2020 04:19:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 246156] sysutils/memfetch: fix BROKEN (size mismatch)
Message-ID:  <bug-246156-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246156

            Bug ID: 246156
           Summary: sysutils/memfetch: fix BROKEN (size mismatch)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: easy, patch, patch-ready
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: portmaster@bsdforge.com
                CC: onatan@gmail.com
             Flags: maintainer-feedback?(onatan@gmail.com)
                CC: onatan@gmail.com
 Attachment #214081 maintainer-approval?
             Flags:
             Flags: maintainer-feedback?

Created attachment 214081
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D214081&action=
=3Dedit
svn diff to fix sysutils/memfetch

This port is marked BROKEN because the author(s)
of the source changed the source file WITHOUT
bumping the VERSION number in April of 2007:

--- /usr/ports/distfiles/memfetch/memfetch.c    2003-10-20 11:04:45.0000000=
00
-0700
+++ ./memfetch/memfetch.c       2007-04-03 13:13:24.000000000 -0700
@@ -280,7 +280,7 @@
             st,len);

     if (avoid_mmap) writeptr=3DMAP_FAILED; else {=20=20=20=20=20=20
-      for (i=3Dst;i<=3Den;i+=3DPAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,=
i,0);
+      for (i=3Dst;i<en;i+=3DPAGE_SIZE) ptrace(PTRACE_PEEKDATA,tracepid,i,0=
);
       writeptr=3Dmmap(0,len,PROT_READ,MAP_PRIVATE,memfile,st);
     }

The svn diff attached to this pr(1) acknowledges that change,
and changes:

Makefile
distinfo
files/patch-memfetch.c

which fixes this port.
Attached to this pr, are an svn diff, and a QA log.

Thats it. Thanks!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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