libupnp/libupnp-configure.patch
Adam Majer b439650709 Accepting request 596240 from home:iznogood:branches:devel:libraries:c_c++
- Update to version 1.6.25:
  + Fix and add more compat helpers.
  + Fix assertion error when http_MakeMessage is called with E in
    fmt.
  + libupnp.pc: drop -pthread from Cflags.
  + Fix segmentation fault in http_MakeMessage.
- Changes from version 1.6.23:
  + Allow extra headers to be sent to client in the File_Info
    struct by adding extra_headers, an array of struct
    Extra_Headers.
  + Queue events on their subscription object instead of adding
    them to the thread pool immediately.
- Changes from version 1.6.22:
  + Fix some compiler warning messages on md5.c.
  + Replace MD5 impmplementation with public-domain version.
  + ixml/test/test_document.c is missing the string.h include,
    therefore the compiler complains about an implicit declaration.
- Rebase libupnp-configure.patch with quilt.
- Run spec-cleaner, modernize spec.

OBS-URL: https://build.opensuse.org/request/show/596240
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libupnp?expand=0&rev=21
2018-04-13 09:27:56 +00:00

38 lines
1017 B
Diff

Index: libupnp-1.6.25/configure.ac
===================================================================
--- libupnp-1.6.25.orig/configure.ac 2018-02-10 15:26:39.000000000 +0100
+++ libupnp-1.6.25/configure.ac 2018-04-13 10:53:41.920947961 +0200
@@ -7,7 +7,7 @@
# (C) Copyright 2005-2007 Rémi Turboult <r3mi@users.sourceforge.net>
#
-AC_PREREQ(2.60)
+AC_PREREQ([2.60])
AC_INIT([libupnp], [1.6.25], [mroberto@users.sourceforge.net])
dnl ############################################################################
@@ -594,10 +594,12 @@ AC_MSG_RESULT($docdir)
#
# Checks for programs
#
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
AM_PROG_CC_C_O
m4_ifdef([AM_PROG_AR], [AM_PROG_AR])
-AC_PROG_LIBTOOL
+LT_INIT
AC_PROG_INSTALL
AC_PROG_MAKE_SET
AC_PROG_EGREP
@@ -637,8 +639,6 @@ echo "----------------------------------
#
AC_TYPE_SIZE_T
AC_TYPE_OFF_T
-AC_DEFINE([_LARGE_FILE_SOURCE], [], [Large files support])
-AC_DEFINE([_FILE_OFFSET_BITS], [64], [File Offset size])
#