rpms/ekg2/F-8 ekg2-posix.patch,NONE,1.1 ekg2.spec,1.5,1.6

Dominik Mierzejewski (rathann) fedora-extras-commits at redhat.com
Fri May 30 11:03:45 UTC 2008


Author: rathann

Update of /cvs/pkgs/rpms/ekg2/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11079

Modified Files:
	ekg2.spec 
Added Files:
	ekg2-posix.patch 
Log Message:
- add missing POSIX define to fix build

ekg2-posix.patch:

--- NEW FILE ekg2-posix.patch ---
diff -up ekg2-0.2-rc1/plugins/jabber/Makefile.am.g ekg2-0.2-rc1/plugins/jabber/Makefile.am
--- ekg2-0.2-rc1/plugins/jabber/Makefile.am.g	2008-02-28 21:22:56.000000000 +0100
+++ ekg2-0.2-rc1/plugins/jabber/Makefile.am	2008-05-28 22:13:35.000000000 +0200
@@ -4,7 +4,7 @@ lib_LTLIBRARIES = jabber.la
 jabber_la_SOURCES = jabber.c commands.c misc.c digest.c xmlnode.c jabber_dcc.c jabber_handlers.c jabber.h jabber_dcc.h jabber-ssl.h
 jabber_la_LDFLAGS = -module -avoid-version
 jabber_la_LIBADD = $(EXPAT_LIBS) $(JABBER_SSL_LIBS) $(ZLIB_LIBS)
-jabber_la_CPPFLAGS = $(C_FVISIBILITY) $(EXPAT_CPPFLAGS) $(JABBER_SSL_CPPFLAGS)
+jabber_la_CPPFLAGS = $(C_FVISIBILITY) $(EXPAT_CPPFLAGS) $(JABBER_SSL_CPPFLAGS) -D_POSIX_SOURCE
 
 libdir = $(plugindir)
 
diff -up ekg2-0.2-rc1/plugins/feed/Makefile.am.g ekg2-0.2-rc1/plugins/feed/Makefile.am
--- ekg2-0.2-rc1/plugins/feed/Makefile.am.g	2008-02-28 21:23:00.000000000 +0100
+++ ekg2-0.2-rc1/plugins/feed/Makefile.am	2008-05-28 22:14:10.000000000 +0200
@@ -2,7 +2,7 @@ lib_LTLIBRARIES = feed.la
 feed_la_SOURCES = feed.c feed.h rss.c nntp.c
 feed_la_LDFLAGS = -module -avoid-version
 feed_la_LIBADD = $(EXPAT_LIBS)
-feed_la_CPPFLAGS = $(C_FVISIBILITY) $(EXPAT_CPPFLAGS)
+feed_la_CPPFLAGS = $(C_FVISIBILITY) $(EXPAT_CPPFLAGS) -D_POSIX_SOURCE
 
 libdir = $(plugindir)
 


Index: ekg2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/ekg2/F-8/ekg2.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ekg2.spec	30 May 2008 09:36:38 -0000	1.5
+++ ekg2.spec	30 May 2008 11:03:01 -0000	1.6
@@ -10,6 +10,7 @@
 Group:		Applications/Internet
 Source0:	http://pl.ekg2.org/%{name}-%{version}-rc1.tar.gz
 Patch1:		%{name}-rpm.patch
+Patch2:		%{name}-posix.patch
 URL:		http://www.ekg2.org/
 BuildRequires:	aspell-devel
 BuildRequires:	automake17
@@ -194,6 +195,7 @@
 %prep
 %setup -q -n %{name}-%{version}-rc1
 %patch1 -p1 -b .r
+%patch2 -p1 -b .p
 cp -p README README-main
 # convert docs to UTF-8
 for file in \
@@ -355,6 +357,7 @@
 * Wed May 28 2008 Dominik Mierzejewski <rpm at greysector.net> 0.2-0.1.rc1
 - updated to 0.2-rc1 (#435369)
 - fixed multiarch conflicts (#341051)
+- add missing POSIX define to fix build
 
 * Wed Oct 24 2007 Dominik Mierzejewski <rpm at greysector.net> 0.1.1-1
 - updated to 0.1.1 (really fixes bug 278181)




More information about the fedora-extras-commits mailing list