Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 26379 Details for
Bug 42959
Anjuta 1.2.1 does not correctly generate Makefiles for wizard projects
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to disable 'cmp' usage
disable_cmp.patch (text/plain), 1.14 KB, created by
red0x
on 2004-02-25 21:52:17 UTC
(
hide
)
Description:
Patch to disable 'cmp' usage
Filename:
MIME Type:
Creator:
red0x
Created:
2004-02-25 21:52:17 UTC
Size:
1.14 KB
patch
obsolete
>diff -ur anjuta-1.2.1.old/src/anjuta.h anjuta-1.2.1/src/anjuta.h >--- anjuta-1.2.1.old/src/anjuta.h 2004-01-07 09:25:31.000000000 -0800 >+++ anjuta-1.2.1/src/anjuta.h 2004-02-25 21:30:15.454155680 -0800 >@@ -46,6 +46,10 @@ > #include "file_history.h" > #include "launcher.h" > >+/* define this if you want anjuta to use cmp to >+ compare files */ >+#undef USE_CMP >+ > #define g_strdup_printfs2(_FORMAT_, _STR_) \ > { \ > assert(_STR_); g_strdup_printf(_FORMAT_, _STR_); \ >diff -ur anjuta-1.2.1.old/src/utilities.c anjuta-1.2.1/src/utilities.c >--- anjuta-1.2.1.old/src/utilities.c 2003-09-28 23:57:00.000000000 -0700 >+++ anjuta-1.2.1/src/utilities.c 2004-02-25 21:29:19.287694280 -0800 >@@ -1212,7 +1212,7 @@ > > g_return_val_if_fail (src != NULL, FALSE); > g_return_val_if_fail (dest != NULL, FALSE); >- >+#ifdef USE_CMP > if (anjuta_is_installed ("cmp", FALSE) == TRUE) > { > pid_t pid; >@@ -1230,8 +1230,11 @@ > } > else > { >+#endif > same = FALSE; >+#ifdef USE_CMP > } >+#endif > /* rename () can't work with 2 different filesystems, so we need > to use the couple {copy, remove}. Meanwhile, the files to copy > are supposed to be small, so it would spend more time to try
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 42959
: 26379 |
27533