Projects
Extra
aMule
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 34
View file
aMule.spec
Changed
@@ -14,7 +14,10 @@ BuildRequires: binutils-devel BuildRequires: libkde4-devel BuildRequires: libqt4-devel -BuildRequires: gcc-c++ gd-devel libpng-devel fdupes +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(gdlib) +BuildRequires: pkgconfig(libpng) +BuildRequires: fdupes BuildRequires: libupnp-devel libcryptopp-devel libGeoIP-devel update-desktop-files BuildRequires: mozilla-nspr %if 0%{?suse_version} < 1210
View file
0002-Fix-gdlib-detection.patch
Changed
@@ -1,21 +1,22 @@ diff --git a/m4/gdlib.m4 b/m4/gdlib.m4 -index 236da4b..4c9805c 100644 +index 236da4b..9bc828e 100644 --- a/m4/gdlib.m4 +++ b/m4/gdlib.m4 -@@ -70,11 +70,11 @@ m4_define([REQUIRED_VERSION_MICRO], [m4_bregexp(REQUIRED_VERSION, [\([0-9]+\)\.\ +@@ -69,14 +69,10 @@ m4_define([REQUIRED_VERSION_MICRO], [m4_bregexp(REQUIRED_VERSION, [\([0-9]+\)\.\ + gdlib_config_minor_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\2/']` gdlib_config_micro_version=`echo $GDLIB_VERSION | sed ['s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\3/']` ++ let REQUIRED_VERSION_INT=$REQUIRED_VERSION_MAJOR**16+$REQUIRED_VERSION_MINOR**8+REQUIRED_VERSION_MICRO ++ let GDLIB_VERSION_INT=$gdlib_config_major_version**16+$gdlib_config_minor_version**8+$gdlib_config_micro_version gdlib_ver_ok= - MULE_IF([test $gdlib_config_major_version -gt REQUIRED_VERSION_MAJOR], [gdlib_ver_ok=yes], - [test $gdlib_config_major_version -eq REQUIRED_VERSION_MAJOR], [ - MULE_IF([test $gdlib_config_minor_version -gt REQUIRED_VERSION_MINOR], [gdlib_ver_ok=yes], - [test $gdlib_config_minor_version -eq REQUIRED_VERSION_MINOR], - [MULE_IF([test $gdlib_config_micro_version -ge REQUIRED_VERSION_MICRO], [gdlib_ver_ok=yes])]) -+ MULE_IF([test $gdlib_config_major_version -gt $REQUIRED_VERSION_MAJOR], [gdlib_ver_ok=yes], -+ [test "$gdlib_config_major_version" -eq "$REQUIRED_VERSION_MAJOR"], [ -+ MULE_IF([test $gdlib_config_minor_version -gt $REQUIRED_VERSION_MINOR], [gdlib_ver_ok=yes], -+ [test "$gdlib_config_minor_version" -eq "$REQUIRED_VERSION_MINOR"], -+ [MULE_IF([test $gdlib_config_micro_version -ge $REQUIRED_VERSION_MICRO], [gdlib_ver_ok=yes])]) - ]) - +- ]) +- ++ MULE_IF([test $GDLIB_VERSION_INT -ge $REQUIRED_VERSION_INT], [gdlib_ver_ok=yes]) AS_IF([test -z "$gdlib_ver_ok"], [ + AS_IF([test -z "$GDLIB_VERSION"], [AC_MSG_RESULT([no])], [ + AC_MSG_RESULT([no (version $GDLIB_VERSION is not new enough)])
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.