Discussion:
Compilation error with patch mp050226-V3-1-CVS20071126-3.patch
Eric Bouyoux
2008-09-07 17:54:45 UTC
Permalink
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 - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2008-09-07 18:26:12 UTC
Permalink
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
Post by Eric Bouyoux
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.
cc -c -I../Microline -I../Xlt -O -I/usr/X11R6/include -DUSE_DIRENT
-DUSE_LPR_PRINT_CMD -o patternMatch.o patternMatch.c
patternMatch.c:691: attention : passing argument 4 of 'ExecRE' makes
integer from pointer without a cast
Any idea to help ?
Regards.
Eric.
--
http://www.nedit.org/mailman/listinfo/discuss
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Eric Bouyoux
2008-09-07 19:10:28 UTC
Permalink
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.
Post by Bert Wesarg
Hi,
http://kgb.endoftheinternet.org/~bertw/mp050226-V3-1-CVS20080907-1.patch
Hope it works,
Bert
Post by Eric Bouyoux
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.
cc -c -I../Microline -I../Xlt -O -I/usr/X11R6/include -DUSE_DIRENT
-DUSE_LPR_PRINT_CMD -o patternMatch.o patternMatch.c
patternMatch.c:691: attention : passing argument 4 of 'ExecRE' makes
integer from pointer without a cast
Any idea to help ?
Regards.
Eric.
--
http://www.nedit.org/mailman/listinfo/discuss
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2008-09-07 19:29:53 UTC
Permalink
Sorry,

try this one please:

http://kgb.endoftheinternet.org/~bertw/mp050226-V3-1-CVS20080907-2.patch

Bert
Post by Eric Bouyoux
Hi,
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.
Post by Bert Wesarg
Hi,
http://kgb.endoftheinternet.org/~bertw/mp050226-V3-1-CVS20080907-1.patch
Hope it works,
Bert
Post by Eric Bouyoux
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.
cc -c -I../Microline -I../Xlt -O -I/usr/X11R6/include -DUSE_DIRENT
-DUSE_LPR_PRINT_CMD -o patternMatch.o patternMatch.c
patternMatch.c:691: attention : passing argument 4 of 'ExecRE' makes
integer from pointer without a cast
Any idea to help ?
Regards.
Eric.
--
http://www.nedit.org/mailman/listinfo/discuss
--
http://www.nedit.org/mailman/listinfo/discuss
Eric Bouyoux
2008-09-07 20:36:57 UTC
Permalink
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.
Post by Bert Wesarg
Sorry,
http://kgb.endoftheinternet.org/~bertw/mp050226-V3-1-CVS20080907-2.patch
Bert
Post by Eric Bouyoux
Hi,
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.
Post by Bert Wesarg
Hi,
http://kgb.endoftheinternet.org/~bertw/mp050226-V3-1-CVS20080907-1.patch
Hope it works,
Bert
Post by Eric Bouyoux
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.
cc -c -I../Microline -I../Xlt -O -I/usr/X11R6/include -DUSE_DIRENT
-DUSE_LPR_PRINT_CMD -o patternMatch.o patternMatch.c
patternMatch.c:691: attention : passing argument 4 of 'ExecRE' makes
integer from pointer without a cast
Any idea to help ?
Regards.
Eric.
--
http://www.nedit.org/mailman/listinfo/discuss
--
http://www.nedit.org/mailman/listinfo/discuss
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Bert Wesarg
2008-09-07 20:40:56 UTC
Permalink
Post by Eric Bouyoux
Hi,
Is it correct to have both old and new source patched ? The command I
patch -p0 < mp050226-V3-1-CVS20080907-2.patch
-p1

Bert
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Eric Bouyoux
2008-09-08 06:48:19 UTC
Permalink
Hi,
Everything is fine. Thank you for your help.
Regards.
Eric.
Bert Wesarg a �crit :

On Sun, Sep 7, 2008 at 22:36, Eric Bouyoux [1]<eric.bouyoux-Umy9UjvE/gtWk0Htik3J/***@public.gmane.org> wrote
:


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

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


-p1

Bert

References

1. mailto:eric.bouyoux-Umy9UjvE/gtWk0Htik3J/***@public.gmane.org
--
NEdit Discuss mailing list - Discuss-***@public.gmane.org
http://www.nedit.org/mailman/listinfo/discuss
Loading...