Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#48005 closed update (fixed)

cd-discid @1.1: update to 1.4

Reported by: florian@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: cd-discid

Description

Please apply the attached patch against the current version in dports/audio/cd-discid. The patch contains updates to the Portfile as well as the patches in the files subdirectory. It will remove files/patch-Makefile and add two new files: patch-Makefile.diff and patch-cd-discid.1.diff.

Attachments (1)

cd-discid.diff (8.4 KB) - added by florian@… 9 years ago.
Patch against dports/audio/cd-discid

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by florian@…

Attachment: cd-discid.diff added

Patch against dports/audio/cd-discid

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

At the risk of showing my ignorance, I could not figure out how to apply your patch.

Last edited 9 years ago by mf2k (Frank Schima) (previous) (diff)

comment:2 in reply to:  1 Changed 9 years ago by florian@…

Here is how:

1st check out tree (If not already done):

svn co https://svn.macports.org/repository/macports/trunk/dports/audio/cd-discid

Download patch and apply (assuming cd-discid is in the current directory):

svn patch --strip 2 /path/to/downloaded/cd-discid.diff cd-discid

This feature requires svn 1.7, see http://subversion.apache.org/docs/release-notes/1.7.html#patch

Check result:

svn st cd-discid

Test and if happy commit to subversion :)

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Got it, thanks!

r137367.

comment:4 Changed 9 years ago by mf2k (Frank Schima)

Keywords: nomaintainer removed

comment:5 Changed 9 years ago by florian@…

Thanks for fixing this quickly.

Maybe someone can add this hint about how to create and apply unidiff patches with subversion to section 4.5.1 of the guide.

comment:6 Changed 9 years ago by mf2k (Frank Schima)

Feel free to make the changes yourself. Anyone with a Trac account can do that. :)

comment:7 Changed 9 years ago by florian@…

Excuse my ignorance now: how? :) You probably mean the trac wiki pages - the guide (https://guide.macports.org/) is not editable. Anyway I see that there is already a similar hint in the CommittersTipsAndTricks wiki.

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

Right, it is trickier than that. You can submit changes via Trac tickets to the files in: /opt/mports/trunk/doc-new/guide/xml from svn.

Note: See TracTickets for help on using tickets.