Re: patch for build warnings



On Mon, 2005-01-31 at 16:17 -0700, Gary Ekker wrote:
> Here's a patch to prevent 64-bit warnings:
> 
> passing arg 1 of `g_strdup' makes pointer from integer without a cast
> 
> Our build system requires that we patch out these warnings. So I thought
> I'd upstream it.
> 
> -Gary

Disregard that previous patch. I am attaching the current ones.

-Gary
diff -pruN -x '*~' f-spot-0.0.6-orig/libfspot/Makefile.am f-spot-0.0.6/libfspot/Makefile.am
--- f-spot-0.0.6-orig/libfspot/Makefile.am	Thu Dec 23 23:39:15 2004
+++ f-spot-0.0.6/libfspot/Makefile.am	Tue Feb  1 16:55:58 2005
@@ -3,7 +3,7 @@ INCLUDES =							\
 	-DLIBEOG_ETTORE_CHANGES=1				\
         -DG_LOG_DOMAIN=\"libf\"					\
 	-DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED		\
-	-DGDK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED	\
+	-DGDK_DISABLE_DEPRECATED				\
 	$(F_CFLAGS)						\
 	$(WERROR)
 
diff -pruN -x '*~' f-spot-0.0.6-orig/libeog/image-view.c f-spot-0.0.6/libeog/image-view.c
--- f-spot-0.0.6-orig/libeog/image-view.c	Wed Dec 15 07:49:49 2004
+++ f-spot-0.0.6/libeog/image-view.c	Tue Feb  1 17:52:08 2005
@@ -531,6 +531,7 @@ apply_brightness_and_contrast_to_pixbuf 
 	}
 }
 
+static void
 apply_transform_to_pixbuf (ImageView *view, GdkPixbuf *pixbuf, int width, int height)
 {
 	char *p;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]