From coop9211@uidaho.edu  Tue Mar 16 18:15:09 2004
Return-Path: <coop9211@uidaho.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 0C39816A4CE; Tue, 16 Mar 2004 18:15:09 -0800 (PST)
Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 6A1C843D45; Tue, 16 Mar 2004 18:15:08 -0800 (PST)
	(envelope-from coop9211@uidaho.edu)
Received: from borgdemon.losaca.adelphia.net ([67.21.169.8])
          by mta11.adelphia.net
          (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with ESMTP
          id <20040317021507.JSQB1438.mta11.adelphia.net@borgdemon.losaca.adelphia.net>;
          Tue, 16 Mar 2004 21:15:07 -0500
Received: from borgdemon.losaca.adelphia.net (localhost [127.0.0.1])
	by borgdemon.losaca.adelphia.net (Postfix) with ESMTP
	id D9EDB7CE; Tue, 16 Mar 2004 18:14:57 -0800 (PST)
Message-Id: <1079489698.0@borgdemon.losaca.adelphia.net>
Date: Tue, 16 Mar 2004 18:14:58 -0800
From: "John Merryweather Cooper,Home Office,,(509) 338-9391 " <John Merryweather Cooper <coop9211@uidaho.edu>>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Cc: test@freebsd.org
Subject: [MAINTAINER-UPDATE] [TEST] update www/sidplug to link on more platforms
X-Send-Pr-Version: gtk-send-pr 0.3.3 
X-GNATS-Notify:

>Number:         64357
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] [TEST] update www/sidplug to link on more platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 16 18:20:13 PST 2004
>Closed-Date:    Wed Mar 17 08:04:28 PST 2004
>Last-Modified:  Wed Mar 17 08:04:28 PST 2004
>Originator:     John Merryweather Cooper,Home Office,,(509) 338-9391
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:


System: FreeBSD 4.9-STABLE #14: Wed Mar  3 02:16:41 PST 2004
    root@borgdemon.losaca.adelphia.net:/usr/obj/usr/src/sys/K6-2



>Description:


The PR system has yet to take this PR, so this is mostly a test of he PR system.

It adds -fPIC to the compile/link stages so platforms that require this will link.

A similar patch has subsequently been committed.


>How-To-Repeat:


No PR sent from this address has been successful in nearly 14 days.


>Fix:


--- update-sidplug-1.1.5_1 begins here ---
# This is a patch for sidplug to update it to sidplug-1.1.5_1
# 
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'patch' program with this file as input.
#
#### End of Preamble ####

#### Patch data follows ####
diff -u 'sidplug/Makefile' 'sidplug-1.1.5_1/Makefile'
Index: ./Makefile
--- ./Makefile	Sat Jun  7 08:54:22 2003
+++ ./Makefile	Thu Mar 11 22:19:40 2004
@@ -2,11 +2,12 @@
 # Date created:				14 December 2001
 # Whom:				John Merryweather Cooper <jmcoopr@webmail.bmi.net>
 #
-# $FreeBSD: ports/www/sidplug/Makefile,v 1.4 2003/06/07 15:54:22 erwin Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	sidplug
 PORTVERSION=	1.1.5
+PORTREVISION=	1
 CATEGORIES=	www audio
 MASTER_SITES=	http://www.geocities.com/SiliconValley/Lakes/5147/sidplay/packages/
 EXTRACT_SUFX=	.tgz
diff -u 'sidplug/files/patch-Makefile' 'sidplug-1.1.5_1/files/patch-Makefile'
Index: ./files/patch-Makefile
--- ./files/patch-Makefile	Wed Jan  9 07:12:11 2002
+++ ./files/patch-Makefile	Thu Mar 11 22:19:40 2004
@@ -1,6 +1,6 @@
---- Makefile	Mon Nov 17 02:32:09 1997
-+++ Makefile.new	Fri Dec 14 21:08:26 2001
-@@ -19,11 +19,10 @@
+--- Makefile.orig	Mon Nov 17 02:32:09 1997
++++ Makefile	Thu Mar 11 21:41:47 2004
+@@ -19,11 +19,11 @@
  #          
  
  PLUGIN_SDK_PATH = ./PluginSDK30b5
@@ -11,7 +11,8 @@
 -OPTIMIZER  = -O
 -CFLAGS     =  $(OPTIMIZER) $(PLUGIN_DEFINES)
 +CC         ?= gcc
-+CFLAGS     +=  $(PLUGIN_DEFINES)
++CFLAGS     += -fPIC $(PLUGIN_DEFINES)
++LDFLAGS    += -fPIC
  
  SRC= sidplug.c npunix.c 
  OBJ= sidplug.o npunix.o
#### End of Patch data ####

#### ApplyPatch data follows ####
# Data version        : 1.0
# Date generated      : Thu Mar 11 22:25:45 2004
# Generated by        : makepatch 2.00
# Recurse directories : Yes
# p 'Makefile' 980 1079072380 0100644
# p 'files/patch-Makefile' 472 1079072380 0100644
#### End of ApplyPatch data ####

#### End of Patch kit [created: Thu Mar 11 22:25:45 2004] ####
#### Checksum: 72 2359 42034 ####
--- update-sidplug-1.1.5_1 ends here ---



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Wed Mar 17 08:02:48 PST 2004 
State-Changed-Why:  
Committed, thanks! Defining -fPIC with LDFLAGS doesn't 
make any sense, add -fPIC to CFLAGS for AMD64 only. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=64357 
>Unformatted:
