summaryrefslogtreecommitdiff
path: root/cad/gschem/patches/patch-ac
blob: 45b5280ab50db8a04a9012c2c6713d1639e3d29f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ac,v 1.6 2006/12/24 10:20:34 dmcmahill Exp $

Make this work with non-gcc.  Patch in upstream sources already.

--- src/x_menus.c.orig	2006-08-06 12:45:29.000000000 -0400
+++ src/x_menus.c
@@ -239,7 +239,7 @@ void get_main_menu(TOPLEVEL * w_current,
  *
  */
 static gchar* gettext_fn(const gchar *path,
-			 gpointer func_data __attribute__((unused)))
+			 gpointer func_data ATTRIBUTE_UNUSED)
 {
 	return gettext(path);
 }