Hi John,

Am 22.04.2013 um 12:46 schrieb John Long <codeb...@inbox.lv>:
> On Sun, Apr 21, 2013 at 10:55:29PM +0200, Dagobert Michelsen wrote:
>> Hi John,
>> 
>> Am 21.04.2013 um 17:26 schrieb John Long <codeb...@inbox.lv>:
>>> On Sun, Apr 21, 2013 at 05:16:09PM +0200, Dagobert Michelsen wrote:
>>>> Am 21.04.2013 um 12:48 schrieb John Long:
>>>> All patches are against HEAD:
>>>> https://sourceforge.net/p/tmux/tmux-code/ci/master/tree/
>>> 
>>> Ok, downloaded the tarball?
>> 
>> I suggest using git when doing stuff with git :-)
> 
> I don't know how to use git. Isn't using the link you posted and downloading
> the tarball "using git"?

No, that is just the files from git. "Using git" is facilitating the command
listed on the webpage
  git clone git://git.code.sf.net/p/tmux/tmux-code tmux-tmux-code
or something. Learning git pays off, but has a steep learning curve.
I suggest the books and documents from Scott Chacon.

> I thought that got me the version your patches
> apply to.
> 
>> 
>>>> Make sure to call autogen.sh before building after applying the patches.
>>> 
>>> The 0003-Provide-replacement-for-cfmakeraw.patch patch still doesn't apply:
>>> 
>>> error: patch failed: Makefile.am:231
>>> error: Makefile.am: patch does not apply
>>> 
>>> What should I be looking for to fix this?
>> 
>> Works for me:
>> 
>>> dam@login [login]:/home/dam/mgar/pkg/tmux/trunk > cd 
>>> tmux-tmux-code-c24b58e2ee8691870736959deb252c225b205b4d
>>> dam@login 
>>> [login]:/home/dam/mgar/pkg/tmux/trunk/tmux-tmux-code-c24b58e2ee8691870736959deb252c225b205b4d
>>>  > gpatch -p1 <../files/0003-Provide-replacement-for-cfmakeraw.patch 
>>> patching file Makefile.am
>>> Hunk #1 succeeded at 233 with fuzz 2 (offset 2 lines).
>>> patching file compat.h
>>> patching file compat/cfmakeraw.c
>>> patching file configure.ac
> 
> I didn't use gpatch. I used git apply. Your way works better ;-)

You can't use git apply if you don't have a git repository, obviously ;-)

> The build gets a lot further then breaks with a nawk syntax error.
> 
> if test xman = xmdoc; then \
>        cp tmux.1.in.tmux.1; \
> else \
>        nawk -fmdoc2man.awk tmux.1.in >tmux.1; \
> fi
> nawk:  syntax error at source line 1
> context is
>>>> . <<< \ " $Id$
>         4 missing ]'s
> nawk: bailing out at source line 1

The script is for gawk, not nawk. Feel free to use e.g. the one from OpenCSW.


Best regards

  -- Dago

> 
> Thank you.
> 
> 
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

-- 
"You don't become great by trying to be great, you become great by wanting to 
do something,
and then doing it so hard that you become great in the process." - xkcd #896


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to