- 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:
parent
88c0ccc707
commit
f7a727af9c
@ -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";
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user