- get the cflags and libs from gkrellm, which makes more sense and fixes the build.

- add rcs id's to patches while here.
This commit is contained in:
jasper 2010-10-13 17:34:26 +00:00
parent 88c0ccc707
commit f7a727af9c
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,4 @@
$OpenBSD: patch-GrabWeather,v 1.4 2010/10/13 17:34:26 jasper Exp $
--- GrabWeather.orig Sun Jan 11 18:15:02 2009
+++ GrabWeather Sat Apr 10 10:46:54 2010
@@ -40,9 +40,8 @@ my $DataFileName = "$StationID.dat";

View File

@ -1,3 +1,4 @@
$OpenBSD: patch-Makefile,v 1.4 2010/10/13 17:34:26 jasper Exp $
--- Makefile.orig Sun Jan 11 18:15:02 2009
+++ Makefile Sat Apr 10 10:38:33 2010
@@ -1,9 +1,8 @@
@ -7,8 +8,8 @@
-LIBS = `pkg-config gtk+-2.0 --libs`
-LFLAGS = -shared
-PREFIX = /usr/local
+CFLAGS += -fPIC `pkg-config gtk+-2.0 gthread-2.0 --cflags`
+LIBS = `pkg-config gtk+-2.0 gthread-2.0 --libs`
+CFLAGS += -fPIC `pkg-config gkrellm --cflags`
+LIBS = `pkg-config gkrellm --libs`
+LFLAGS = -shared -pthread
LOCALEDIR := $(PREFIX)/share/locale

View File

@ -1,3 +1,4 @@
$OpenBSD: patch-gkrellweather_c,v 1.4 2010/10/13 17:34:26 jasper Exp $
--- gkrellweather.c.orig Sun Jan 11 18:15:02 2009
+++ gkrellweather.c Sat Apr 10 10:39:52 2010
@@ -721,7 +721,7 @@ apply_air_config (void)