rpms/libpri/EL-5 libpri-1.4.2-optimization.patch, NONE, 1.1 libpri-1.4.2-sizet.patch, NONE, 1.1 libpri.spec, 1.6, 1.7

Jeffrey C. Ollie (jcollie) fedora-extras-commits at redhat.com
Sat Nov 3 23:09:27 UTC 2007


Author: jcollie

Update of /cvs/pkgs/rpms/libpri/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10080

Modified Files:
	libpri.spec 
Added Files:
	libpri-1.4.2-optimization.patch libpri-1.4.2-sizet.patch 
Log Message:
Don't forget to add new patches.

libpri-1.4.2-optimization.patch:

--- NEW FILE libpri-1.4.2-optimization.patch ---
>From b0fbbc8897363919616656415165cd26ab83f6da Mon Sep 17 00:00:00 2001
From: Jeffrey C. Ollie <jeff at ocjtech.us>
Date: Fri, 2 Nov 2007 15:31:30 -0500
Subject: [PATCH] Modify optimization flags for RPM package.

---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index 05d985e..414a270 100644
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,7 @@ STATIC_LIBRARY=libpri.a
 DYNAMIC_LIBRARY=libpri.so.1.0
 STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
 DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g -fPIC $(ALERTING) $(LIBPRI_COUNTERS)
+CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC $(ALERTING) $(LIBPRI_COUNTERS) $(RPM_OPT_FLAGS)
 INSTALL_PREFIX=$(DESTDIR)
 INSTALL_BASE=/usr
 SOFLAGS = -Wl,-hlibpri.so.1.0
-- 
1.5.3.3


libpri-1.4.2-sizet.patch:

--- NEW FILE libpri-1.4.2-sizet.patch ---
>From 41cc15f33f76c59ad25661b2afc8e65d3f5041ca Mon Sep 17 00:00:00 2001
From: Kevin P. Fleming <kpfleming at digium.com>
Date: Mon, 22 Oct 2007 15:10:06 +0000
Subject: [PATCH] Merged revisions 478 via svnmerge from
 https://origsvn.digium.com/svn/libpri/branches/1.2

........
r478 | kpfleming | 2007-10-22 10:09:27 -0500 (Mon, 22 Oct 2007) | 3 lines

we need to include stddef.h for 'size_t'


........


git-svn-id: http://svn.digium.com/svn/libpri/branches/1.4@479 2fbb986a-6c06-0410-b554-c9c1f0a7f128
---
 pri_internal.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pri_internal.h b/pri_internal.h
index b29999a..0b52365 100644
--- a/pri_internal.h
+++ b/pri_internal.h
@@ -25,6 +25,7 @@
 #ifndef _PRI_INTERNAL_H
 #define _PRI_INTERNAL_H
 
+#include <stddef.h>
 #include <sys/time.h>
 
 #define DBGHEAD __FILE__ ":%d %s: "
-- 
1.5.3.3



Index: libpri.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libpri/EL-5/libpri.spec,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- libpri.spec	3 Nov 2007 21:39:11 -0000	1.6
+++ libpri.spec	3 Nov 2007 23:08:51 -0000	1.7
@@ -1,7 +1,7 @@
 Summary: An implementation of Primary Rate ISDN
 Name: libpri
 Version: 1.4.2
-Release: 1%{?dist}
+Release: 1.1%{?dist}
 License: GPLv2+
 Group: System Environment/Libraries
 URL: http://www.asterisk.org/
@@ -58,6 +58,9 @@
 %{_libdir}/libpri.so
 
 %changelog
+* Sat Nov  3 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.2-1.1
+- Don't forget to cvs add new patches.
+
 * Thu Nov  1 2007 Jeffrey C. Ollie <jeff at ocjtech.us> - 1.4.2-1
 - Update to 1.4.2
 




More information about the fedora-extras-commits mailing list