[csw-devel] SF.net SVN: gar:[7414] csw/mgar/pkg/liboggz/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Tue Nov 24 22:22:45 CET 2009


Revision: 7414
          http://gar.svn.sourceforge.net/gar/?rev=7414&view=rev
Author:   dmichelsen
Date:     2009-11-24 21:22:44 +0000 (Tue, 24 Nov 2009)

Log Message:
-----------
liboggz: Add getopt.h patch

Modified Paths:
--------------
    csw/mgar/pkg/liboggz/trunk/Makefile
    csw/mgar/pkg/liboggz/trunk/checksums
    csw/mgar/pkg/liboggz/trunk/files/0001-Remove-linker-version.patch

Added Paths:
-----------
    csw/mgar/pkg/liboggz/trunk/files/0002-Add-getopt.h.patch

Modified: csw/mgar/pkg/liboggz/trunk/Makefile
===================================================================
--- csw/mgar/pkg/liboggz/trunk/Makefile	2009-11-24 21:14:52 UTC (rev 7413)
+++ csw/mgar/pkg/liboggz/trunk/Makefile	2009-11-24 21:22:44 UTC (rev 7414)
@@ -16,6 +16,7 @@
 MASTER_SITES = http://downloads.xiph.org/releases/liboggz/
 DISTFILES = $(GARNAME)-$(GARVERSION).tar.gz
 PATCHFILES = 0001-Remove-linker-version.patch
+PATCHFILES += 0002-Add-getopt.h.patch
 
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz

Modified: csw/mgar/pkg/liboggz/trunk/checksums
===================================================================
--- csw/mgar/pkg/liboggz/trunk/checksums	2009-11-24 21:14:52 UTC (rev 7413)
+++ csw/mgar/pkg/liboggz/trunk/checksums	2009-11-24 21:22:44 UTC (rev 7414)
@@ -1,2 +1,3 @@
-f4ec200018ed77f1cb44fee2c4687d49  0001-Remove-linker-version.patch
+2bcd76f053e973f82df1593400ca94fb  0001-Remove-linker-version.patch
+008aac5337ca7e23490927baa4a38589  0002-Add-getopt.h.patch
 f97f1d57820a9fc1d080409cf203b38a  liboggz-1.1.0.tar.gz

Modified: csw/mgar/pkg/liboggz/trunk/files/0001-Remove-linker-version.patch
===================================================================
--- csw/mgar/pkg/liboggz/trunk/files/0001-Remove-linker-version.patch	2009-11-24 21:14:52 UTC (rev 7413)
+++ csw/mgar/pkg/liboggz/trunk/files/0001-Remove-linker-version.patch	2009-11-24 21:22:44 UTC (rev 7414)
@@ -27,29 +27,6 @@
  # Checks for library functions.
  
  
-diff --git a/configure.ac b/configure.ac
-index bc9acb8..1098ca1 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -396,18 +396,6 @@ if test "x${ac_enable_gcc_werror}" = xyes ; then
-   CFLAGS="-Werror $CFLAGS"
- fi
- 
--dnl
--dnl Shared library symbol versioning and hiding
--dnl
--
--case "$target_os" in
--  linux* | solaris*|k*bsd*-gnu*|gnu-*)
--    SHLIB_VERSION_ARG="-Wl,--version-script=Version_script"
--    ;;
--  *)
--    ;;
--esac
--
- # Checks for library functions.
- 
- dnl
 -- 
 1.6.3.2
 

Added: csw/mgar/pkg/liboggz/trunk/files/0002-Add-getopt.h.patch
===================================================================
--- csw/mgar/pkg/liboggz/trunk/files/0002-Add-getopt.h.patch	                        (rev 0)
+++ csw/mgar/pkg/liboggz/trunk/files/0002-Add-getopt.h.patch	2009-11-24 21:22:44 UTC (rev 7414)
@@ -0,0 +1,38 @@
+From e404bd5d314bbd97a2d4579607679667bc4d099f Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 24 Nov 2009 22:12:30 +0100
+Subject: [PATCH] Add getopt.h
+
+---
+ include/getopt.h |   19 +++++++++++++++++++
+ 1 files changed, 19 insertions(+), 0 deletions(-)
+ create mode 100644 include/getopt.h
+
+diff --git a/include/getopt.h b/include/getopt.h
+new file mode 100644
+index 0000000..0e98fed
+--- /dev/null
++++ b/include/getopt.h
+@@ -0,0 +1,19 @@
++/**
++ * @file getopt.h
++ * @ingroup wbxml2xml_tool
++ * @ingroup xml2wbxml_tool
++ *
++ * @author Kannel Team (http://www.kannel.org/)
++ *
++ * @brief getopt() implementation
++ */
++
++#ifndef WBXML_GETOPT_H
++#define WBXML_GETOPT_H
++
++extern int opterr;
++extern int optind;
++extern int optopt;
++extern char *optarg;
++
++#endif
+-- 
+1.6.5.1
+


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list