ports/98018: [MAINTAINER-UPDATE] comms/xnecview: update to 1.35
Soeren Straarup
xride at x12.dk
Sat May 27 17:14:12 UTC 2006
>Number: 98018
>Category: ports
>Synopsis: [MAINTAINER-UPDATE] comms/xnecview: update to 1.35
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat May 27 17:10:25 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Soeren Straarup
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD beacon.x12.dk 7.0-CURRENT FreeBSD 7.0-CURRENT #2: Tue Feb 7 20:11:22 CET
>Description:
- Update to 1.35
Removed file(s):
- files/patch-parse_output.c
- files/patch-xwin.c
Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:
--- xnecview-1.35.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/comms/xnecview/Makefile /space/portstrees/FreeBSD/ports/comms/xnecview/Makefile
--- /usr/ports/comms/xnecview/Makefile Sat Apr 1 13:18:51 2006
+++ /space/portstrees/FreeBSD/ports/comms/xnecview/Makefile Fri May 26 21:21:02 2006
@@ -5,8 +5,7 @@
# $FreeBSD: ports/comms/xnecview/Makefile,v 1.3 2006/03/31 08:29:11 pav Exp $
PORTNAME= xnecview
-PORTVERSION= 1.34
-PORTREVISION= 1
+PORTVERSION= 1.35
CATEGORIES= comms hamradio
MASTER_SITES= http://wwwhome.cs.utwente.nl/%7Eptdeboer/ham/xnecview/
EXTRACT_SUFX= .tgz
diff -ruN --exclude=CVS /usr/ports/comms/xnecview/distinfo /space/portstrees/FreeBSD/ports/comms/xnecview/distinfo
--- /usr/ports/comms/xnecview/distinfo Sun Mar 19 01:35:18 2006
+++ /space/portstrees/FreeBSD/ports/comms/xnecview/distinfo Fri May 26 21:21:28 2006
@@ -1,3 +1,3 @@
-MD5 (xnecview-1.34.tgz) = e496c0b04bd908911bb675bfc28c6c53
-SHA256 (xnecview-1.34.tgz) = 987ab674c5be33a6a017f2a6962352bfed75b2a0371c6dfa81b7cb2b01ea9803
-SIZE (xnecview-1.34.tgz) = 76863
+MD5 (xnecview-1.35.tgz) = 3e9a6d0cd82b04d8c8ac14d234cfb6e0
+SHA256 (xnecview-1.35.tgz) = 41351bb0aad3c5ff1b13240c40a6f50fcbac04988b5347a4f40e0f9e33c7eb44
+SIZE (xnecview-1.35.tgz) = 77971
diff -ruN --exclude=CVS /usr/ports/comms/xnecview/files/patch-Makefile /space/portstrees/FreeBSD/ports/comms/xnecview/files/patch-Makefile
--- /usr/ports/comms/xnecview/files/patch-Makefile Wed Mar 29 20:33:56 2006
+++ /space/portstrees/FreeBSD/ports/comms/xnecview/files/patch-Makefile Fri May 26 21:43:05 2006
@@ -1,21 +1,12 @@
---- Makefile.orig Fri Dec 27 23:23:23 2002
-+++ Makefile Sun Mar 19 06:56:59 2006
-@@ -4,14 +4,15 @@
-
-
- CC = gcc
--CFLAGS = -O2 -g -Wall `gtk-config --cflags`
-+CFLAGS = -O2 -g -Wall `pkg-config --cflags gtk+-2.0`
-
- LD = $(CC)
--LDFLAGS = `gtk-config --libs` -lm
-+LDFLAGS = `pkg-config --libs gtk+-2.0` -lm
+--- Makefile.orig Fri May 26 21:40:46 2006
++++ Makefile Fri May 26 21:42:42 2006
+@@ -11,7 +11,8 @@
ifeq ($(PNG),yes)
CFLAGS += -DHAVE_LIBPNG
-LDFLAGS += -lpng
+CFLAGS += `pkg-config --cflags ${LOCALBASE}/libdata/pkgconfig/libpng12.pc`
-+LDFLAGS += `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng12.pc`
++LDFLAGS += `pkg-config --libs ${LOCALBASE}/libdata/pkgconfig/libpng12.pc`
endif
SRCS = xnecview.c xwin.c parse_input.c parse_output.c draw.c draw_opaque.c freqplot.c postscript.c icon.xbm
diff -ruN --exclude=CVS /usr/ports/comms/xnecview/files/patch-parse_output.c /space/portstrees/FreeBSD/ports/comms/xnecview/files/patch-parse_output.c
--- /usr/ports/comms/xnecview/files/patch-parse_output.c Wed Mar 29 20:33:56 2006
+++ /space/portstrees/FreeBSD/ports/comms/xnecview/files/patch-parse_output.c Thu Jan 1 01:00:00 1970
@@ -1,14 +0,0 @@
---- parse_output.c.orig Fri Mar 17 20:32:22 2006
-+++ parse_output.c Fri Mar 17 20:30:42 2006
-@@ -749,9 +749,9 @@
- EXPAND_IF_NECESSARY(numneco,maxfreqs,neco)
-
- /* search for the frequency and read it */
-- do fgets(s,200,f); while (!feof(f) && !strstr(s,"FREQUENCY="));
-+ do fgets(s,200,f); while (!feof(f) && !strstr(s,"FREQUENCY : "));
- if (feof(f)) break;
-- p = strchr(s,'=');
-+ p = strchr(s,':');
- freq = atof(p+1);
-
- /* find the right place in the neco array (data is sorted by frequency) */
diff -ruN --exclude=CVS /usr/ports/comms/xnecview/files/patch-xwin.c /space/portstrees/FreeBSD/ports/comms/xnecview/files/patch-xwin.c
--- /usr/ports/comms/xnecview/files/patch-xwin.c Wed Mar 29 20:33:56 2006
+++ /space/portstrees/FreeBSD/ports/comms/xnecview/files/patch-xwin.c Thu Jan 1 01:00:00 1970
@@ -1,37 +0,0 @@
---- xwin.c.orig Wed Sep 10 22:55:30 2003
-+++ xwin.c Tue Mar 21 07:05:23 2006
-@@ -13,6 +13,7 @@
- #include <math.h>
- #include <stdio.h>
- #include <stdlib.h>
-+#include <string.h>
- #include <gtk/gtk.h>
- #include <gdk/gdkx.h>
- #include <gdk/gdkkeysyms.h>
-@@ -261,7 +262,7 @@
- f=fopen(filename,"w");
- if (!f) return 1;
-
-- image = gdk_image_get(gbackg, 0, 0, width, height);
-+ image = gdk_image_get(w, 0, 0, width, height);
- if (!image) {
- fclose(f);
- return 1;
-@@ -1378,7 +1379,7 @@
-
- gtk_widget_grab_focus(gdraw1);
-
-- gtk_accel_group_attach(acc, GTK_OBJECT(win1));
-+ gtk_window_add_accel_group(GTK_WINDOW(win1), acc);
-
- ggc = gdk_gc_new(w->window);
-
-@@ -1478,7 +1479,7 @@
-
- gtk_widget_grab_focus(gdraw2);
-
-- gtk_accel_group_attach(acc, GTK_OBJECT(win2));
-+ gtk_window_add_accel_group(GTK_WINDOW(win2), acc);
-
- ggc2 = gdk_gc_new(w->window);
-
--- xnecview-1.35.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list