FreeBSD Bugzilla – Attachment 77470 Details for
Bug 111555
[PATCH] misc/libpri: update to 1.4.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libpri-1.4.0.patch
libpri-1.4.0.patch (text/plain), 5.42 KB, created by
Phillip N.
on 2007-04-14 07:20:03 UTC
(
hide
)
Description:
libpri-1.4.0.patch
Filename:
MIME Type:
Creator:
Phillip N.
Created:
2007-04-14 07:20:03 UTC
Size:
5.42 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/misc/libpri/Makefile,v >retrieving revision 1.12 >diff -u -r1.12 Makefile >--- Makefile 29 Mar 2007 21:02:06 -0000 1.12 >+++ Makefile 14 Apr 2007 06:10:59 -0000 >@@ -2,11 +2,11 @@ > # Date created: 25 Oct 2004 > # Whom: Alexander Timoshenko <gonzo@univ.kiev.ua> > # >-# $FreeBSD: ports/misc/libpri/Makefile,v 1.12 2007/03/29 21:02:06 gabor Exp $ >+# $FreeBSD: ports/misc/libpri/Makefile,v 1 2007/03/03 09:59:12 sobomax Exp $ > # > > PORTNAME= libpri >-PORTVERSION= 1.2.4 >+PORTVERSION= 1.4.0 > CATEGORIES= misc > MASTER_SITES= ftp://ftp.digium.com/pub/libpri/ \ > ftp://ftp.digium.com/pub/libpri/old/ >@@ -14,17 +14,20 @@ > MAINTAINER= gonzo@univ.kiev.ua > COMMENT= A C implementation of the Primary Rate ISDN specification > >-#PATCHFILES= ${PORTNAME}-${PORTVERSION}-${BRIVER}.patch.gz >-#PATCH_SITES= ${MASTER_SITE_LOCAL} >-#PATCH_SITE_SUBDIR= fjoe >-#PATCH_DIST_STRIP= -p1 >-#BRIVER= bristuff-0.3.0-PRE-1l >- > USE_GMAKE= yes > USE_LDCONFIG= yes >-PLIST_FILES= include/libpri.h lib/libpri.a lib/libpri.a lib/libpri.so \ >- lib/libpri.so.1 >+PLIST_FILES= include/libpri.h lib/libpri.a lib/libpri.so \ >+ lib/libpri.so.1 lib/libpri.so.1.0 >+ >+.include <bsd.port.pre.mk> >+ >+.if ${ARCH} == "alp >+ >+BROKEN= Does not compile on alpha >+.endif > >-NOT_FOR_ARCHS= alpha >+post-patch: >+ @${REINPLACE_CMD} -e 's|INSTALL_BASE=/usr/local|INSTALL_BASE=${PREFIX}|g' \ >+ ${WRKSRC}/Makefile > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/misc/libpri/distinfo,v >retrieving revision 1.9 >diff -u -r1.9 distinfo >--- distinfo 29 Mar 2007 21:02:06 -0000 1.9 >+++ distinfo 14 Apr 2007 06:10:59 -0000 >@@ -1,3 +1,3 @@ >-MD5 (libpri-1.2.4.tar.gz) = 2bc348d8363027736ccbf5998d85d317 >-SHA256 (libpri-1.2.4.tar.gz) = bbfaf5dff54934d844b3785e3fbd19817f0d80b1aa84153e5be40802c6b00d93 >-SIZE (libpri-1.2.4.tar.gz) = 76663 >+MD5 (libpri-1.4.0.tar.gz) = 09b039226e43a810d523bc076823c6a9 >+SHA256 (libpri-1.4.0.tar.gz) = 9f4db10a105545e68cbe0620795d2e11278828fa281ad339eeb72087125eeaf9 >+SIZE (libpri-1.4.0.tar.gz) = 80021 >Index: files/patch-Makefile >=================================================================== >RCS file: files/patch-Makefile >diff -N files/patch-Makefile >--- files/patch-Makefile 19 Jun 2006 07:52:13 -0000 1.6 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,62 +0,0 @@ >- >-$FreeBSD: ports/misc/libpri/files/patch-Makefile,v 1.6 2006/06/19 07:52:13 sobomax Exp $ >- >---- Makefile.orig >-+++ Makefile >-@@ -27,7 +27,7 @@ >- # Uncomment if you want libpri to count number of Q921/Q931 sent/received >- #LIBPRI_COUNTERS=-DLIBPRI_COUNTERS >- >--CC=gcc >-+CC?=gcc >- >- OSARCH=$(shell uname -s) >- PROC?=$(shell uname -m) >-@@ -35,13 +35,13 @@ >- TOBJS=testpri.o >- T2OBJS=testprilib.o >- STATIC_LIBRARY=libpri.a >--DYNAMIC_LIBRARY=libpri.so.1.0 >-+DYNAMIC_LIBRARY=libpri.so.1 >- 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 $(ALERTING) $(LIBPRI_COUNTERS) >--INSTALL_PREFIX=$(DESTDIR) >--INSTALL_BASE=/usr >--SOFLAGS = -Wl,-hlibpri.so.1.0 >-+CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS) >-+INSTALL_PREFIX=$(PREFIX) >-+INSTALL_BASE= >-+SOFLAGS = -Wl,-hlibpri.so.1 >- LDCONFIG = /sbin/ldconfig >- ifneq (,$(findstring $(OSARCH), Linux GNU/kFreeBSD)) >- LDCONFIG_FLAGS=-n >-@@ -84,12 +84,11 @@ >- mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/lib >- mkdir -p $(INSTALL_PREFIX)$(INSTALL_BASE)/include >- ifneq (${OSARCH},SunOS) >-- install -m 644 libpri.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include >-- install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib >-- if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then restorecon -v $(INSTALL_PREFIX)$(INSTALL_BASE)/lib/$(DYNAMIC_LIBRARY); fi >-- ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1.0 libpri.so ; ln -sf libpri.so.1.0 libpri.so.1 ) >-- install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib >-- if test $$(id -u) = 0; then $(LDCONFIG) $(LDCONFIG_FLAGS) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib; fi >-+ echo installing libpri.h >-+ $(BSD_INSTALL_DATA) libpri.h $(INSTALL_PREFIX)/include >-+ $(BSD_INSTALL_PROGRAM) $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)/lib >-+ ( cd $(INSTALL_PREFIX)/lib ; ln -sf libpri.so.1 libpri.so ) >-+ $(BSD_INSTALL_DATA) $(STATIC_LIBRARY) $(INSTALL_PREFIX)/lib >- else >- install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/include -m 644 libpri.h >- install -f $(INSTALL_PREFIX)$(INSTALL_BASE)/lib -m 755 $(DYNAMIC_LIBRARY) >-@@ -130,10 +129,6 @@ >- >- $(DYNAMIC_LIBRARY): $(DYNAMIC_OBJS) >- $(CC) -shared $(SOFLAGS) -o $@ $(DYNAMIC_OBJS) >-- $(LDCONFIG) $(LDCONFIG_FLAGS) . >-- ln -sf libpri.so.1.0 libpri.so >-- ln -sf libpri.so.1.0 libpri.so.1 >-- $(SOSLINK) >- >- clean: >- rm -f *.o *.so *.lo *.so.1 *.so.1.0 >Index: files/patch-mkdep >=================================================================== >RCS file: files/patch-mkdep >diff -N files/patch-mkdep >--- files/patch-mkdep 17 Jan 2006 22:25:51 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,8 +0,0 @@ >---- mkdep.orig Wed Nov 30 22:55:54 2005 >-+++ mkdep Wed Nov 30 22:56:00 2005 >-@@ -1,4 +1,4 @@ >--#!/bin/bash - >-+#!/bin/sh - >- # >- # $OpenBSD: mkdep.gcc.sh,v 1.8 1998/09/02 06:40:07 deraadt Exp $ >- # $NetBSD: mkdep.gcc.sh,v 1.9 1994/12/23 07:34:59 jtc Exp $
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111555
: 77470