New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17842 (closed update: fixed)

Opened 4 years ago

Last modified 4 years ago

mg-20070918 Update to 20081211 version

Reported by: lfk@… Owned by: macsforever2000@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: mg update Cc:
Port: mg

Description

The attached Portfile update and patch file will bring the editors/mg port up to the current (20081211) revision.

Attachments

patch-compile.diff (555 bytes) - added by lfk@… 4 years ago.
files/patch-compile.diff for the mg-20081211 portfile update
patch-mg-Portfile.diff (923 bytes) - added by lfk@… 4 years ago.
mg20081211 update, patch against dist portfile

Change History

Changed 4 years ago by lfk@…

files/patch-compile.diff for the mg-20081211 portfile update

comment:1 Changed 4 years ago by macsforever2000@…

I'm not able to get the Portfile patch to run without errors.

comment:2 Changed 4 years ago by macsforever2000@…

To be more clear. I am not able to apply the patch:

$ patch Portfile patch-mg-Portfile.diff 
patching file Portfile
Hunk #1 FAILED at 2.
Hunk #2 FAILED at 12.
2 out of 2 hunks FAILED -- saving rejects to file Portfile.rej

Changed 4 years ago by lfk@…

mg20081211 update, patch against dist portfile

comment:3 Changed 4 years ago by lfk@…

Sorry about that, I based the patch on my copy of the Portfile instead of the version that made it into the macports project. I've updated the Portfile patch.

comment:4 Changed 4 years ago by macsforever2000@…

ok, the patch loads fine now, but I am not able to fetch it. I went to the home page and noticed the latest version is 20090107.

$ port fetch mg
Error: Unable to execute port: /opt/local/var/macports/build/_opt_mports_trunk_dports_editors_mg/work/.macports.mg.state is not writable - check permission on port directory
Hyperspace:mg frank$ sudo port fetch mg
--->  Fetching mg
--->  Attempting to fetch patch-compile.diff from http://distfiles.macports.org/mg
--->  Attempting to fetch patch-compile.diff from http://arn.se.distfiles.macports.org/mg
--->  Attempting to fetch patch-compile.diff from http://trd.no.distfiles.macports.org/mg
--->  Attempting to fetch patch-compile.diff from http://svn.macports.org/repository/macports/distfiles/mg
--->  Attempting to fetch patch-compile.diff from http://svn.macports.org/repository/macports/distfiles/general/
--->  Attempting to fetch patch-compile.diff from http://svn.macports.org/repository/macports/downloads/mg
Error: Target org.macports.fetch returned: fetch failed
Error: Status 1 encountered during processing.

comment:5 Changed 4 years ago by lfk@…

You still need to add the files/patch-compile.diff file to the macports tree. There wasn't one initially so it needs to be added to the tree.

Obviously I must have done something wrong in submitting this update, so how should I have done it?

comment:6 Changed 4 years ago by macsforever2000@…

  • Status changed from new to assigned
  • Owner changed from macports-tickets@… to macsforever2000@…

Sorry, my bad!

comment:7 Changed 4 years ago by macsforever2000@…

  • Status changed from assigned to closed
  • Resolution set to fixed

Committed revision r45243. Thanks!

comment:8 Changed 4 years ago by macsforever2000@…

I added the patch file in r45244.

comment:9 Changed 4 years ago by jmr@…

  • Type changed from enhancement to update

comment:10 Changed 4 years ago by anonymous

  • Milestone Port Updates deleted

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.