Opened 19 years ago

Closed 19 years ago

#3595 closed defect (fixed)

BUG: cmake-2.0.6 fails to apply patch

Reported by: cssdev@… Owned by: cssdev@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

patch-cmDynamicLoader.h.diff does not apply correctly, perhaps due to cvs keywords included in the patch file. The fix is ATTACHED. The output is as follows:

$ sudo port install cmake ---> Fetching cmake ---> Verifying checksum(s) for cmake ---> Extracting cmake ---> Applying patches to cmake Error: Target com.apple.patch returned: shell command "cd "/opt/local/var/db/dports/build/ file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_devel_cmake/ work/cmake-2.0.6" && patch -p0 < "/opt/local/var/db/dports/sources/ rsync.rsync.opendarwin.org_dpupdate_dports/devel/cmake/files/patch-cmDynamicLoader.h.diff"" returned error 1 Command output: patching file Source/cmDynamicLoader.h Hunk #1 FAILED at 3. 1 out of 2 hunks FAILED -- saving rejects to file Source/cmDynamicLoader.h.rej

The fix is to simply keep only the relevant portion of the patch.

Attachments (1)

patch-Portfile-patchfile.diff (1.5 KB) - added by cssdev@… 19 years ago.
Fix cmDynamicLoader.h patch and increment Portfile revision

Download all attachments as: .zip

Change History (2)

Changed 19 years ago by cssdev@…

Fix cmDynamicLoader.h patch and increment Portfile revision

comment:1 Changed 19 years ago by olegb@…

Resolution: fixed
Status: newclosed

commited..

Note: See TracTickets for help on using tickets.