Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17842 closed update (fixed)

mg-20070918 Update to 20081211 version

Reported by: lfk@… Owned by: mf2k (Frank Schima)
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 (2)

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

Download all attachments as: .zip

Change History (12)

Changed 16 years ago by lfk@…

Attachment: patch-compile.diff added

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

comment:1 Changed 16 years ago by mf2k (Frank Schima)

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

comment:2 Changed 16 years ago by mf2k (Frank Schima)

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 16 years ago by lfk@…

Attachment: patch-mg-Portfile.diff added

mg20081211 update, patch against dist portfile

comment:3 Changed 16 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 16 years ago by mf2k (Frank Schima)

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 16 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 16 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to macsforever2000@…
Status: newassigned

Sorry, my bad!

comment:7 Changed 16 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed

Committed revision r45243. Thanks!

comment:8 Changed 16 years ago by mf2k (Frank Schima)

I added the patch file in r45244.

comment:9 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementupdate

comment:10 Changed 16 years ago by (none)

Milestone: Port Updates

Milestone Port Updates deleted

Note: See TracTickets for help on using tickets.