summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-06-08 15:59:17 +0000
committermarcus <marcus@FreeBSD.org>2003-06-08 15:59:17 +0000
commit81483c0a0ff2dde9e40542539d1fdc5bbc1b040b (patch)
treea89e674e68125a6b04f3cbf18c3cd588c6b9241d /devel
parent9428b82a017459a03231d375d02ce388e5d04116 (diff)
downloadFreeBSD-ports-81483c0a0ff2dde9e40542539d1fdc5bbc1b040b.zip
FreeBSD-ports-81483c0a0ff2dde9e40542539d1fdc5bbc1b040b.tar.gz
* Keep anjuta from crashing when not run under the GNOME desktop
* Remove a useless (broken) patch Submitted by: Alexander Nedotsukov <bland@mail.ru>
Diffstat (limited to 'devel')
-rw-r--r--devel/anjuta-devel/Makefile2
-rw-r--r--devel/anjuta-devel/files/patch-anjuta.glade29
-rw-r--r--devel/anjuta-devel/files/patch-src_anjuta.c11
3 files changed, 12 insertions, 30 deletions
diff --git a/devel/anjuta-devel/Makefile b/devel/anjuta-devel/Makefile
index 137360c..28e60d5 100644
--- a/devel/anjuta-devel/Makefile
+++ b/devel/anjuta-devel/Makefile
@@ -7,7 +7,7 @@
PORTNAME= anjuta
PORTVERSION= 1.1.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= anjuta
diff --git a/devel/anjuta-devel/files/patch-anjuta.glade b/devel/anjuta-devel/files/patch-anjuta.glade
deleted file mode 100644
index 7693cf0..0000000
--- a/devel/anjuta-devel/files/patch-anjuta.glade
+++ /dev/null
@@ -1,29 +0,0 @@
---- anjuta.glade.orig Wed May 14 14:32:42 2003
-+++ anjuta.glade Wed May 14 14:34:40 2003
-@@ -15866,7 +15866,7 @@
- <property name="background_color">#39ce8206b5ac</property>
- <property name="logo_background_color">#39ce8206b5ac</property>
- <property name="textbox_color">#ffffffffffff</property>
-- <property name="logo">applogo.png</property>
-+ <property name="logo">%%PREFIX%%/share/gnome/pixmaps/anjuta/applogo.png</property>
- </widget>
- </child>
-
-@@ -15875,7 +15875,7 @@
- <property name="visible">True</property>
- <property name="title" translatable="yes">Windows style</property>
- <property name="logo_background">#c440084ceacc</property>
-- <property name="logo">applogo.png</property>
-+ <property name="logo">%%PREFIX%%/share/gnome/pixmaps/anjuta/applogo.png</property>
-
- <child internal-child="vbox">
- <widget class="GtkVBox" id="druid-vbox1">
-@@ -16079,7 +16079,7 @@
-
- You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- </property>
-- <property name="logo">applogo.png</property>
-+<property name="logo">%%PREFIX%%/share/gnome/pixmaps/anjuta/applogo.png</property>
- </widget>
- </child>
- </widget>
diff --git a/devel/anjuta-devel/files/patch-src_anjuta.c b/devel/anjuta-devel/files/patch-src_anjuta.c
new file mode 100644
index 0000000..da8a838
--- /dev/null
+++ b/devel/anjuta-devel/files/patch-src_anjuta.c
@@ -0,0 +1,11 @@
+--- src/anjuta.c.orig Sun Jun 8 23:31:48 2003
++++ src/anjuta.c Sun Jun 8 23:33:26 2003
+@@ -1938,6 +1938,8 @@
+ pid = waitpid (0, &status, WNOHANG);
+ if (pid < 1)
+ return;
++ if (!app)
++ return;
+ idx = g_list_index (app->registered_child_processes, (int *) pid);
+ if (idx < 0)
+ return;
OpenPOWER on IntegriCloud