Re: [Mingw-w64-public] conflicting EXCEPTION_REGISTRATION types with tcl/tk 8.6.1

2013-11-08 Thread Zbigniew Diaczyszyn
Am 08.11.2013 05:58, schrieb Alexey Pavlov:
 This is known issue. You can grab my patch from here:
 
 https://github.com/Alexpux/mingw-builds/blob/master/patches/tcl/tcl-8.6.1-mingwexcept.patch

Thanks for the patch. Building the win64 version Tcl 8.5.15 I have got the same 
exception error but after applying your patch manually all went well.

Did you already inform the Tcl development team that a patch has to be made?

Below you can find the contents of my tcl-8.5.15-mingwexcept.patch 

--- tclWin32Dll.c.orig  2013-08-30 17:58:40.0 +0200
+++ tclWin32Dll.c   2013-11-08 08:55:00.742333794 +0100
@@ -53,14 +53,14 @@ static int platformId;  /* Running under
  * them by creating an EXCEPTION_REGISTRATION within the activation record.
  */
 
-typedef struct EXCEPTION_REGISTRATION {
-struct EXCEPTION_REGISTRATION *link;
+typedef struct TCL_EXCEPTION_REGISTRATION {
+struct TCL_EXCEPTION_REGISTRATION *link;
 EXCEPTION_DISPOSITION (*handler)(
struct _EXCEPTION_RECORD*, void*, struct _CONTEXT*, void*);
 void *ebp;
 void *esp;
 int status;
-} EXCEPTION_REGISTRATION;
+} TCL_EXCEPTION_REGISTRATION;
 #endif
 
 /*
@@ -1086,7 +1086,7 @@ TclWinCPUID(
 
 #   else
 
-EXCEPTION_REGISTRATION registration;
+TCL_EXCEPTION_REGISTRATION registration;
 
 /*
  * Execute the CPUID instruction with the given index, and store results
--- tclWinChan.c.orig   2013-08-30 17:58:40.0 +0200
+++ tclWinChan.c2013-11-08 09:05:57.237807102 +0100
@@ -127,14 +127,14 @@ static Tcl_ChannelType fileChannelType =
  * them by creating an EXCEPTION_REGISTRATION within the activation record.
  */
 
-typedef struct EXCEPTION_REGISTRATION {
-struct EXCEPTION_REGISTRATION* link;
+typedef struct TCL_EXCEPTION_REGISTRATION {
+struct TCL_EXCEPTION_REGISTRATION *link;
 EXCEPTION_DISPOSITION (*handler)(
struct _EXCEPTION_RECORD*, void*, struct _CONTEXT*, void*);
 void* ebp;
 void* esp;
 int status;
-} EXCEPTION_REGISTRATION;
+} TCL_EXCEPTION_REGISTRATION;
 #endif
 

 /*
@@ -1027,7 +1027,7 @@ Tcl_MakeFileChannel(
 * TCL_WRITABLE to indicate file mode. */
 {
 #if defined(HAVE_NO_SEH)  !defined(_WIN64)
-EXCEPTION_REGISTRATION registration;
+TCL_EXCEPTION_REGISTRATION registration;
 #endif
 char channelName[16 + TCL_INTEGER_SPACE];
 Tcl_Channel channel = NULL;
--- tclWinFCmd.c.orig   2013-08-30 17:58:40.0 +0200
+++ tclWinFCmd.c2013-11-08 09:09:19.541771741 +0100
@@ -72,17 +72,17 @@ CONST TclFileAttrProcs tclpFileAttrProcs
 /*
  * Unlike Borland and Microsoft, we don't register exception handlers by
  * pushing registration records onto the runtime stack. Instead, we register
- * them by creating an EXCEPTION_REGISTRATION within the activation record.
+ * them by creating an TCL_EXCEPTION_REGISTRATION within the activation record.
  */
 
-typedef struct EXCEPTION_REGISTRATION {
-struct EXCEPTION_REGISTRATION *link;
+typedef struct TCL_EXCEPTION_REGISTRATION {
+struct TCL_EXCEPTION_REGISTRATION *link;
 EXCEPTION_DISPOSITION (*handler)(
struct _EXCEPTION_RECORD *, void *, struct _CONTEXT *, void *);
 void *ebp;
 void *esp;
 int status;
-} EXCEPTION_REGISTRATION;
+} TCL_EXCEPTION_REGISTRATION;
 
 #endif
 
@@ -176,7 +176,7 @@ DoRenameFile(
 * (native). */
 {
 #if defined(HAVE_NO_SEH)  !defined(_WIN64)
-EXCEPTION_REGISTRATION registration;
+TCL_EXCEPTION_REGISTRATION registration;
 #endif
 DWORD srcAttr, dstAttr;
 int retval = -1;
@@ -568,7 +568,7 @@ DoCopyFile(
 CONST TCHAR *nativeDst)/* Pathname of file to copy to (native). */
 {
 #if defined(HAVE_NO_SEH)  !defined(_WIN64)
-EXCEPTION_REGISTRATION registration;
+TCL_EXCEPTION_REGISTRATION registration;
 #endif
 int retval = -1;

-- 
Zbigniew Diaczyszyn
 Web: http://zdia.de
 PGP Key ID: 0x52052C79

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] Press any key to... - Code::Blocks

2013-11-08 Thread Arbol One
I would like to remove the ‘Press any key to continue...’ from the console when 
using Code::Blocks, anyone?--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Press any key to... - Code::Blocks

2013-11-08 Thread Zach Thibeau
Try asking in the code blocks forums or mailing list, sounds like a problem
with their ide
On Nov 8, 2013 5:11 AM, Arbol One arbol...@hotmail.ca wrote:

   I would like to remove the ‘Press any key to continue...’ from the
 console when using Code::Blocks, anyone?


 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models.
 Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and
 register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Press any key to... - Code::Blocks

2013-11-08 Thread Ruben Van Boxem
2013/11/8 Zach Thibeau zachthib...@zachthibeau.ca

 Try asking in the code blocks forums or mailing list, sounds like a
 problem with their ide

It's not a problem; it's a feature. If this prompt isn't shown, the console
window disappears making it very difficult to actually see what was output
to the console during execution.

This prompt does not show if you run the app yourself outside the IDE, so
it is a much better solution than manually emulating by adding stuff like
system(pause) or cin.get() at the end of main.

Ruben


 On Nov 8, 2013 5:11 AM, Arbol One arbol...@hotmail.ca wrote:

   I would like to remove the ‘Press any key to continue...’ from the
 console when using Code::Blocks, anyone?


 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models.
 Explore
 techniques for threading, error checking, porting, and tuning. Get the
 most
 from the latest Intel processors and coprocessors. See abstracts and
 register

 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public



 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models.
 Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and
 register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] [OT] stand alone git aware patch tool for windows?

2013-11-08 Thread Jon
Largely irrelevant these days given how well git and mercurial run on
windows, but is anyone aware of a self-contained patch exe that runs on
windows and understands both unified diffs and git diffs?

The goal is to have a simple, single file, no dependency patching tool for
use with automated build recipes like a few of you maintain. Last time I
looked the gnuwin32 `patch` port didn't support git style diffs.

I'd thought of spelunking the git or mercurial source to try to extract the
`git apply` or `hg import` functionality into a single exe, but other siren
songs have been more distracting.
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [OT] stand alone git aware patch tool for windows?

2013-11-08 Thread Ruben Van Boxem
2013/11/8 Jon jon.for...@gmail.com

 Largely irrelevant these days given how well git and mercurial run on
 windows, but is anyone aware of a self-contained patch exe that runs on
 windows and understands both unified diffs and git diffs?

 The goal is to have a simple, single file, no dependency patching tool for
 use with automated build recipes like a few of you maintain. Last time I
 looked the gnuwin32 `patch` port didn't support git style diffs.

 I'd thought of spelunking the git or mercurial source to try to extract
 the `git apply` or `hg import` functionality into a single exe, but other
 siren songs have been more distracting.


Don't bother. There are a thousand ways of getting git to give you a diff.
See e.g. here for tips:
http://stackoverflow.com/questions/4610744/can-i-get-a-patch-compatible-output-from-git-diff

What is patch not doing that you want? It should be able to handle git diff
output if you pass the magic -p option or modify the resulting diff a bit.

Ruben



 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models.
 Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and
 register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] Syber Terrorist, please help!!

2013-11-08 Thread Incongruous
Please help me, a terrorist group calling themselves Google has invaded my 
computer. Every time I run IE11 it displays the web page of this abusive 
organization. Is there a way that Microsoft could provide some sort of 
protection against this kind of threat? Is there a way to stop this 
organization's political power from terrorizing our work/home computers?

Please Microsoft, you are our only hope.
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


[Mingw-w64-public] semaphore wrappers

2013-11-08 Thread Edscott Wilson
Here's some code to enable named semaphores as defined in semaphore.h.
I've tested it with the libtubo example program and all
seems to work well. The only caveat is that windows will unlink the
semaphore when the last process closes the semaphore. This goes hand in
hand with the inability of windows to unlink a file whilst a process has an
open file descriptor on the file. So you have to be careful not to do the
close on the semaphore before the remote process has a chance to open it.

Support for unnamed semaphore is not yet in the code.

// Semaphore wrappers
#ifdef HAVE_WINDOWS_H
#include stdarg.h
#include sys/types.h
# define _sem_t int

static
_sem_t *_sem_open(const char *name, int oflag, ...){
va_list var_args;
int mode;
unsigned int value;
HANDLE handle;
if (oflag  O_CREAT) {
va_start(var_args, oflag);
mode = va_arg(var_args, int);
value = va_arg(var_args, unsigned int);
va_end(var_args);
handle = CreateSemaphore(NULL, (LONG) value, (LONG) 1024, name);
} else {
handle = OpenSemaphore( SEMAPHORE_ALL_ACCESS, FALSE, name);
}
if (handle == NULL){
LPTSTR buffer;
errno = EINVAL;
return (_sem_t *)SEM_FAILED;
}
return (_sem_t *)handle;
}

static int _sem_close(_sem_t *sem){
if (!sem || sem == SEM_FAILED) {
errno = EBADF;
return -1;
}
BOOL result = CloseHandle(sem);
if (!result){
errno = EINVAL;
return -1;
}
return 0;
}

static int _sem_unlink(const char *name){
// Windows does this when all processes close the semaphore.
return 0;
}

static int _sem_post(_sem_t *sem){
   BOOL result = ReleaseSemaphore( sem, 1, NULL);
   if (!result) return -1;
   return 0;
}


static int _sem_timeout(_sem_t *sem, long timeout){
   DWORD result = WaitForSingleObject(sem, timeout);
   switch (result){
  case WAIT_OBJECT_0:
  return 0;
  case WAIT_TIMEOUT:
  return -1;
  case WAIT_FAILED:
  return -1;
   }
}

static int _sem_timedwait(_sem_t *sem, const struct timespec *abs_timeout){
long milliseconds = abs_timeout-tv_sec * 1000;
milliseconds += (abs_timeout-tv_nsec/100);
tubo_sem_timeout(sem, milliseconds);
}


#define _sem_wait(X) _sem_timeout(X, INFINITE)
#define _sem_trywait(X) _sem_timeout(X, 0L)

#else
# define _sem_t sem_t
# define _sem_open(...) sem_open(__VA_ARGS__)
# define _sem_close(X)  sem_close(X)
# define _sem_unlink(X) sem_unlink(X)
# define _sem_post(X)   sem_post(X)
# define _sem_wait(X)   sem_wait(X)
# define _sem_trywait(X)   sem_trywait(X)
# define _sem_timedwait(X)   sem_timedwait(X)

#endif



-- 

Dr. Edscott Wilson Garcia
Applied Mathematics and Computing
Mexican Petroleum Institute
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [OT] stand alone git aware patch tool for windows?

2013-11-08 Thread Jon
On Fri, Nov 8, 2013 at 11:12 AM, Ruben Van Boxem
vanboxem.ru...@gmail.comwrote:

 2013/11/8 Jon jon.for...@gmail.com

 Largely irrelevant these days given how well git and mercurial run on
 windows, but is anyone aware of a self-contained patch exe that runs on
 windows and understands both unified diffs and git diffs?

 The goal is to have a simple, single file, no dependency patching tool
 for use with automated build recipes like a few of you maintain. Last time
 I looked the gnuwin32 `patch` port didn't support git style diffs.

 I'd thought of spelunking the git or mercurial source to try to extract
 the `git apply` or `hg import` functionality into a single exe, but other
 siren songs have been more distracting.


 Don't bother. There are a thousand ways of getting git to give you a diff.
 See e.g. here for tips:
 http://stackoverflow.com/questions/4610744/can-i-get-a-patch-compatible-output-from-git-diff

 What is patch not doing that you want? It should be able to handle git
 diff output if you pass the magic -p option or modify the resulting diff a
 bit.


I need a no-install exe that can apply both git and unified style patches
as-is without requiring manual tweaks to the patch. Generating diffs isn't
a concern.

Good point, I'll play again with
http://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/ with some git
style patches. Essentially, I'm giving into my OCD quest for the perfect
source build recipe framework on windows. For example, my buildlets toy
project

https://github.com/jonforums/buildlets/blob/master/README.md

has minimal pre-install requirements and it iteratively bootstaps itself
and its tools, eg - 7za. A user downloads the bootstrap script via curl,
wget, or a powershell one-liner, runs the bootstrap script which downloads
needed tools and desired buildlets. Then run the buildlet which downloads
source and builds x32 or x64 and a SHA1 checksum. Done.

Other than requiring a ming/mingw-w64 based toolchain and a
`toolchain.json` config file describing the toolchains, there's not much
other pre-install work required beyond having powershell 3.0+ and .NET
v3.5+ installed.

Next step is to add true patching capability because this is, well, a bit
too lame to call patching:

https://github.com/jonforums/buildlets/blob/master/build_openssl.ps1#L61-L65

I'm close to just requiring the user to have git installed and use `git
apply` when necessary on a library of patches similar to what Alexey and
nixMan maintain.

What I really want is a self contained patch tool as part of the project
living in https://github.com/jonforums/buildlets/tree/master/tools that
gets download installed as part of the current bootstrapping process. It
needs to comprehend any unified or git style diff I create or hijack from
Alexey and others ;)
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [OT] stand alone git aware patch tool for windows?

2013-11-08 Thread LRN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08.11.2013 23:00, Jon wrote:
 On Fri, Nov 8, 2013 at 11:12 AM, Ruben Van Boxem 
 vanboxem.ru...@gmail.comwrote:
 
 2013/11/8 Jon jon.for...@gmail.com
 
 Largely irrelevant these days given how well git and mercurial 
 run on windows, but is anyone aware of a self-contained patch 
 exe that runs on windows and understands both unified diffs
 and git diffs?
 
 The goal is to have a simple, single file, no dependency 
 patching tool for use with automated build recipes like a few 
 of you maintain. Last time I looked the gnuwin32 `patch` port 
 didn't support git style diffs.
 
 I'd thought of spelunking the git or mercurial source to try
 to extract the `git apply` or `hg import` functionality into a 
 single exe, but other siren songs have been more distracting.
 
 
 Don't bother. There are a thousand ways of getting git to give 
 you a diff. See e.g. here for tips: 
 http://stackoverflow.com/questions/4610744/can-i-get-a-patch-compatible-output-from-git-diff



  What is patch not doing that you want? It should be able to
 handle git diff output if you pass the magic -p option or modify
 the resulting diff a bit.
 
 
 I need a no-install exe that can apply both git and unified style 
 patches as-is without requiring manual tweaks to the patch. 
 Generating diffs isn't a concern.
 
 Good point, I'll play again with 
 http://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/ with 
 some git style patches.

AFAIK, GNU patch is able to apply patches that git format-patch
produces. So a statically-linked version of it would do the trick, i
imagine.

 has minimal pre-install requirements and it iteratively bootstaps 
 itself and its tools, eg - 7za. A user downloads the bootstrap 
 script via curl, wget, or a powershell one-liner, runs the 
 bootstrap script which downloads needed tools and desired 
 buildlets. Then run the buildlet which downloads source and builds 
 x32 or x64 and a SHA1 checksum. Done.
 
 Other than requiring a ming/mingw-w64 based toolchain and a 
 `toolchain.json` config file describing the toolchains, there's
 not much other pre-install work required beyond having powershell
 3.0+ and .NET v3.5+ installed.

Personally, i use Python as a base for such things. Python and a
minimal 20MB subset of MSYS2 packages (wget, tar, xz) that require no
installation or setup.


- -- 
O ascii ribbon - stop html email! - www.asciiribbon.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJSfTl0AAoJEOs4Jb6SI2Cwa8YH/39nxhYKlUQ5iWB7mjjnm0yE
rUtcFvygZ/2Psp9NjTmclxIUkUUkaR/KQ3PIek4A13M5i5HRBmH0afUPbJVrWFmI
ulENWa61KT0RNZ6acdUCrQKCn/LNQkhyP/BX7Sg3m7q9X5jlNfNk1D1skzZDkCV7
LKWq8looskgMEJVprIuCKYqnibuXG2Ju3V2Hcstntq76+whaWEwr2WU3IQEMWyhq
k0kccuDTxfWbaU+QAmjhACOqJjZfu9tnyQ8kTCzwktNb4nxsjRhVIk2EjWMEOLRq
qF6lAkLv8L9FKZ1+dcEZJddNWDBfX3fQcyeEQVBdeeQQocZJ35Qwogh6M7ru1BQ=
=sBEo
-END PGP SIGNATURE-

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [OT] stand alone git aware patch tool for windows?

2013-11-08 Thread Jon
  What is patch not doing that you want? It should be able to

  handle git diff output if you pass the magic -p option or modify
  the resulting diff a bit.
 
 
  I need a no-install exe that can apply both git and unified style
  patches as-is without requiring manual tweaks to the patch.
  Generating diffs isn't a concern.
 
  Good point, I'll play again with
  http://sourceforge.net/projects/gnuwin32/files/patch/2.5.9-7/ with
  some git style patches.

 AFAIK, GNU patch is able to apply patches that git format-patch
 produces. So a statically-linked version of it would do the trick, i
 imagine.



I hope so. But that would mean either my memory is bad or I've been far too
lazy ;)




 Personally, i use Python as a base for such things. Python and a
 minimal 20MB subset of MSYS2 packages (wget, tar, xz) that require no
 installation or setup.



Nice. I see I need to look at your sbuild project again to see what clever
things you're doing to subset MSYS2.

One day buildlets is going to sprout a toolchain buildlet that downloads
and assembles minimal MSYS2 plus mingwbuilds-based 32 and 64bit toolchains
for those who don't already have a favorite toolchain installed.
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] [OT] stand alone git aware patch tool for windows?

2013-11-08 Thread LRN
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 

 Personally, i use Python as a base for such things. Python and a 
 minimal 20MB subset of MSYS2 packages (wget, tar, xz) that
 require no installation or setup.
 
 
 
 Nice. I see I need to look at your sbuild project again to see what
 clever things you're doing to subset MSYS2.

Actually, the only reason i use MSYS2 components is because only MSYS2
tar can correctly untar packages with symlinks. Otherwise i would have
(and i did for some time) used Python for downloading (urllib) and 7z
for unpacking. But symlinks make msys2-tar mandatory, and i rely on
symlinks a lot these days.

- -- 
O ascii ribbon - stop html email! - www.asciiribbon.org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJSfUAoAAoJEOs4Jb6SI2Cw8zwH/jyfgwyfp9WJjXl5jOy96fER
XmjaPIiDeihvlAKT7kvPfKeoWwNW6UGMKDFAEfWp1mvCJCc+of8jx2sikvAbGbP9
38SAUxyj9r80yycrH2xsskERx9xJXdoLkmvMvjOT3s4cflFCIITSti/ax65twjzy
cJOYM0krthy5x8jM4+Eg3Y1HVuBhdJQ+CA0RqEGaQKHjP/j2jxuLX/dTNbZgJLP6
souwLQ3LPt10qx/wZE+T3yefXs6JIRyCFtC46e+vSVzWnYEmqkGJxo52TWNJl8jP
z6STuGdWccRTp7pAJiuO6rqNJrZCF3XlfGMThj9hwHJMENsj3GU8bMeotiXydhA=
=Oc9y
-END PGP SIGNATURE-

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Syber Terrorist, please help!!

2013-11-08 Thread Ozkan Sezer
On 11/8/13, Incongruous incongru...@outlook.com wrote:
 Please help me, a terrorist group calling themselves Google has invaded my
 computer. Every time I run IE11 it displays the web page of this abusive
 organization. Is there a way that Microsoft could provide some sort of
 protection against this kind of threat? Is there a way to stop this
 organization's political power from terrorizing our work/home computers?

 Please Microsoft, you are our only hope.


Can someone please ban this guy?

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Syber Terrorist, please help!!

2013-11-08 Thread Incongruous
My oh my, you are one of them, aren't you. Wait, what about MinGW, is MinGW 
a tentacle of Google?


-Original Message- 
From: Ozkan Sezer
Sent: Friday, November 08, 2013 3:09 PM
To: mingw-w64-public@lists.sourceforge.net
Subject: Re: [Mingw-w64-public] Syber Terrorist, please help!!

On 11/8/13, Incongruous incongru...@outlook.com wrote:
 Please help me, a terrorist group calling themselves Google has invaded my
 computer. Every time I run IE11 it displays the web page of this abusive
 organization. Is there a way that Microsoft could provide some sort of
 protection against this kind of threat? Is there a way to stop this
 organization's political power from terrorizing our work/home computers?

 Please Microsoft, you are our only hope.


Can someone please ban this guy?

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and 
register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public 


--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] Syber Terrorist, please help!!

2013-11-08 Thread Ray Donnelly
Please leave and take care that the door doesn't hit you on the way out.

On Fri, Nov 8, 2013 at 10:41 PM, Incongruous incongru...@outlook.com wrote:
 My oh my, you are one of them, aren't you. Wait, what about MinGW, is MinGW
 a tentacle of Google?


 -Original Message-
 From: Ozkan Sezer
 Sent: Friday, November 08, 2013 3:09 PM
 To: mingw-w64-public@lists.sourceforge.net
 Subject: Re: [Mingw-w64-public] Syber Terrorist, please help!!

 On 11/8/13, Incongruous incongru...@outlook.com wrote:
 Please help me, a terrorist group calling themselves Google has invaded my
 computer. Every time I run IE11 it displays the web page of this abusive
 organization. Is there a way that Microsoft could provide some sort of
 protection against this kind of threat? Is there a way to stop this
 organization's political power from terrorizing our work/home computers?

 Please Microsoft, you are our only hope.


 Can someone please ban this guy?

 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and
 register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


 --
 November Webinars for C, C++, Fortran Developers
 Accelerate application performance with scalable programming models. Explore
 techniques for threading, error checking, porting, and tuning. Get the most
 from the latest Intel processors and coprocessors. See abstracts and register
 http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
 ___
 Mingw-w64-public mailing list
 Mingw-w64-public@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public


Re: [Mingw-w64-public] MSYS2 discussions OT for this list?

2013-11-08 Thread JonY
On 11/9/2013 12:45, Jon wrote:
 Kai or JonY...is this primarily MSYS2 topic out-of-scope for this ML and I
 should directly contact LRN and Alexey?
 

I think it is fine, the list is rather low-traffic anyway.




signature.asc
Description: OpenPGP digital signature
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public