mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
Update to 1.35.
PR: 98018 Submitted by: Soeren Straarup (maintainer)
This commit is contained in:
parent
32a64b1bee
commit
324bc55fe4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163670
@ -5,8 +5,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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) */
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user