Bug 125927 - [policykit] sysutils/policykit 0.9 does not compile (extra patch to remove)
Summary: [policykit] sysutils/policykit 0.9 does not compile (extra patch to remove)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-24 11:40 UTC by Romain Tartière
Modified: 2008-07-25 00:13 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Romain Tartière 2008-07-24 11:40:02 UTC
policykit-0.9 does not build:

-----8<------------------------------------
===>  Building for policykit-0.9
gmake  all-recursive
gmake[1]: Entering directory `/work/a/ports/sysutils/policykit/work/PolicyKit-0.9'
Making all in data
gmake[2]: Entering directory `/work/a/ports/sysutils/policykit/work/PolicyKit-0.9/data'
sed -e 's|@docdir[@]|/usr/local/share/doc/policykit|g' -e 's|@sbindir[@]|/usr/local/sbin|g' -e 's|@sysconfdir[@]|/usr/local/etc|g' -e 's|@datadir[@]|/usr/local/share|g' PolicyKit.conf.in >PolicyKit.conf
gmake[2]: Leaving directory `/work/a/ports/sysutils/policykit/work/PolicyKit-0.9/data'
Making all in src
gmake[2]: Entering directory `/work/a/ports/sysutils/policykit/work/PolicyKit-0.9/src'
Making all in kit
gmake[3]: Entering directory `/work/a/ports/sysutils/policykit/work/PolicyKit-0.9/src/kit'
[ SNIP ]
 cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR=\"/usr/local/libexec\" -DPACKAGE_SYSCONF_DIR=\"/usr/local/etc\" -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_BIN_DIR=\"/usr/local/bin\" -DPACKAGE_LOCALSTATE_DIR=\"/var\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_LIB_DIR=\"/usr/local/lib\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DKIT_COMPILATION -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -MT kit-string.lo -MD -MP -MF .deps/kit-string.Tpo -c kit-string.c  -fPIC -DPIC -o .libs/kit-string.o
kit-string.c:141: error: redefinition of 'strndup'
kit-string.c:119: error: previous definition of 'strndup' was here
gmake[3]: *** [kit-string.lo] Error 1
gmake[3]: Leaving directory `/work/a/ports/sysutils/policykit/work/PolicyKit-0.9/src/kit'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/work/a/ports/sysutils/policykit/work/PolicyKit-0.9/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/work/a/ports/sysutils/policykit/work/PolicyKit-0.9'
gmake: *** [all] Error 2
*** Error code 2
-----8<------------------------------------

The patch files/patch-src_kit_kit-string.c add an extra declaration of strndup().

Fix: 

Delete files/patch-src_kit_kit-string.c
Comment 1 Pav Lucistnik freebsd_committer freebsd_triage 2008-07-24 12:57:39 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

Take
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2008-07-24 13:01:22 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-07-24 13:01:41 UTC
pav         2008-07-24 12:01:33 UTC

  FreeBSD ports repository

  Removed files:
    sysutils/policykit/files patch-src_kit_kit-string.c 
  Log:
  - Included by vendor in 0.9
  
  PR:             ports/125927
  Submitted by:   Romain Tartiere <romain@blogreen.org>
  
  Revision  Changes    Path
  1.4       +0 -36     ports/sysutils/policykit/files/patch-src_kit_kit-string.c (dead)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"