summaryrefslogtreecommitdiff
path: root/cad/geda-gschem/files
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:46:07 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:46:07 +0000
commit87179c9d15d87d787221a534426758b207496a52 (patch)
tree35a806089c55b27d0b9e78c73461a390122db59d /cad/geda-gschem/files
parent- FIx installdirs to address geda directory structure unification (diff)
- Fix installdirs to address geda directory structure unification
- Use NLS conditional - FIx comment - Bump PORTREVISION - Mark BROKEN on 4.x - Rename to have geda- prefix of directory [2] PR: ports/100224, ports/100222 [2] Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=167953
Diffstat (limited to 'cad/geda-gschem/files')
-rw-r--r--cad/geda-gschem/files/patch-configure11
-rw-r--r--cad/geda-gschem/files/patch-src_x_menus.c14
2 files changed, 25 insertions, 0 deletions
diff --git a/cad/geda-gschem/files/patch-configure b/cad/geda-gschem/files/patch-configure
new file mode 100644
index 000000000000..54fae9d07e4c
--- /dev/null
+++ b/cad/geda-gschem/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Thu Jul 13 14:11:39 2006
++++ configure Thu Jul 13 14:11:52 2006
+@@ -7923,7 +7923,7 @@
+ # gEDA/gaf specific setup start
+ #
+
+-DATADIR=gEDA
++DATADIR=geda
+ GEDADATADIR=$datadir/$DATADIR
+
+ if eval "test x$opt_rcdir = x"; then
diff --git a/cad/geda-gschem/files/patch-src_x_menus.c b/cad/geda-gschem/files/patch-src_x_menus.c
new file mode 100644
index 000000000000..726dc21c2ae2
--- /dev/null
+++ b/cad/geda-gschem/files/patch-src_x_menus.c
@@ -0,0 +1,14 @@
+--- src/x_menus.c.orig Thu Jul 13 14:21:07 2006
++++ src/x_menus.c Thu Jul 13 14:21:49 2006
+@@ -284,9 +284,11 @@
+ */
+ item_factory = gtk_item_factory_new(GTK_TYPE_MENU, "<popup>",
+ accel_group);
++#if defined(ENABLE_NLS)
+ gtk_item_factory_set_translate_func(item_factory,
+ (GtkTranslateFunc) gettext,
+ NULL, NULL);
++#endif
+ /* This function creates the pop-up menu itself & attaches it to the
+ GtkItemFactory. Pass the item factory,
+ the number of items in the array, the array itself, and any