patches/gimp-03-fixcompile.diff
author dc144907
Thu, 28 Sep 2006 11:50:43 +0000
changeset 8222 020a6b2b4975
parent 7924 patches/gimp-04-fixcompile.diff@80e810d2e400
permissions -rw-r--r--
2006-09-28 Damien Carbery <[email protected]> * gimp.spec: Bump to 2.3.11. Remove upstream patch, 03-hidden, and reorder rest. * patches/gimp-03-hidden.diff: Removed, upstream. * patches/gimp-03-fixcompile.diff: Added, renamed from 04.

--- gimp-2.3.9/libgimp/gimp.c-orig	2006-06-23 17:41:52.459680000 -0500
+++ gimp-2.3.9/libgimp/gimp.c	2006-06-23 17:43:27.010326000 -0500
@@ -22,6 +22,7 @@
 #include "config.h"
 
 #define _GNU_SOURCE  /* for the sigaction stuff */
+#define __EXTENSIONS__
 
 #include <errno.h>
 #include <stdarg.h>
--- gimp-2.3.9/app/main.c-orig	2006-06-23 17:51:04.746071000 -0500
+++ gimp-2.3.9/app/main.c	2006-06-23 17:51:12.581709000 -0500
@@ -19,6 +19,7 @@
 #include "config.h"
 
 #define _GNU_SOURCE  /* for the sigaction stuff */
+#define __EXTENSIONS__
 
 #include <stdio.h>
 #include <stdlib.h>