Re: Compilation error with patch mp050226-V3-1-CVS20071126-3.patch

Eric Bouyoux <eric.bouyoux-Umy9UjvE/gtWk0Htik3J/[email protected]>
Newsgroups gmane.editors.nedit.user
Message-ID <[email protected]>
Hi,

Thank you. This one works fine. The compilation too. But I was expecting
to have a Preferences -> Default Settings -> Show Matching -> Matching
Patterns field entry, but I don't. Isn't it (one of) the goal of the patch ?
Moreover, the help seems to be the same than the one from the cvs tar file.

I had a look to the patch display on the terminal window and I get the
following :

patching file old/doc/help.etx
patching file old/source/highlightData.c
patching file old/source/macro.c
patching file old/source/Makefile.common
patching file old/source/Makefile.dependencies
patching file old/source/menu.c
patching file old/source/nedit.h
patching file new/source/patternMatch.c
patching file new/source/patternMatchData.c
patching file new/source/patternMatchData.h
patching file new/source/patternMatch.h
patching file old/source/preferences.c
patching file old/source/preferences.h
patching file old/source/search.c
patching file old/source/smartIndent.c
patching file old/source/window.c

Is it correct to have both old and new source patched ? The command I
used is :

patch -p0 < mp050226-V3-1-CVS20080907-2.patch

The contents of the directory are :

/home/eric/tmp/nedit_V6 315 # dir
-rw-r--r--  1      eric users  402654  2008-09-07 21:49
mp050226-V3-1-CVS20080907-2.patch
drwxr-xr-x  8   eric users    4096    2008-09-07 04:00 nedit
-rw-r--r--  1      eric users 7034880 2008-09-07 21:49
nedit-latest-sources-HEAD.tar
drwxr-xr-x  8   eric users    4096    2008-09-07 21:50 nedit.mp
lrwxrwxrwx  1 eric users       8      2008-09-07 21:50 new -> nedit.mp
lrwxrwxrwx  1 eric users       5      2008-09-07 21:50 old -> nedit

Regards.

Eric.

Bert Wesarg a écrit :
> Sorry,
>
> try this one please:
>
> http://kgb.endoftheinternet.org/~bertw/mp050226-V3-1-CVS20080907-2.patch
>
> Bert
>
> On Sun, Sep 7, 2008 at 21:10, Eric Bouyoux <eric.bouyoux-Umy9UjvE/gtWk0Htik3J/[email protected]> wrote:
>   
>> Hi,
>>
>> I have the following error :
>>
>> patching file old/source/Makefile.common
>> Hunk #2 FAILED at 39.
>> 1 out of 2 hunks FAILED -- saving rejects to file
>> old/source/Makefile.common.rej
>>
>> Eric.
>>
>> Bert Wesarg a écrit :
>>     
>>> Hi,
>>>
>>> I uploaded a new patch, which fixes this error:
>>>
>>> http://kgb.endoftheinternet.org/~bertw/mp050226-V3-1-CVS20080907-1.patch
>>>
>>> Hope it works,
>>> Bert
>>>
>>> On Sun, Sep 7, 2008 at 19:54, Eric Bouyoux <eric.bouyoux-Umy9UjvE/gtWk0Htik3J/[email protected]> wrote:
>>>
>>>       
>>>> Hi,
>>>>
>>>> I successfully compiled the CVS version of nedit.
>>>> I applied the patch mp050226-V3-1-CVS20071126-3.patch from Bert Wesarg
>>>> without any error.
>>>> I ran make docs without problem.
>>>> When I run make linux, I get the following error :
>>>>
>>>> cc -c -I../Microline -I../Xlt -O -I/usr/X11R6/include -DUSE_DIRENT
>>>> -DUSE_LPR_PRINT_CMD -o patternMatch.o patternMatch.c
>>>> patternMatch.c: In function 'doesPatternElementMatch':
>>>> patternMatch.c:691: attention : passing argument 4 of 'ExecRE' makes
>>>> integer from pointer without a cast
>>>>
>>>> Any idea to help ?
>>>>
>>>> Regards.
>>>>
>>>> Eric.
>>>> --
>>>> NEdit Discuss mailing list - [email protected]
>>>> http://www.nedit.org/mailman/listinfo/discuss
>>>>
>>>>
>>>>         
>> --
>> NEdit Discuss mailing list - [email protected]
>> http://www.nedit.org/mailman/listinfo/discuss
>>
>>     

-- 
NEdit Discuss mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.