Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
smpeg-0.4.4-gcc-3.2.patch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Thu Sep 26, 2002 5:52 pm    Post subject: smpeg-0.4.4-gcc-3.2.patch Reply with quote

Hey,

I have the patch saved as:

/usr/portage/media-libs/smpeg/files/smpeg-0.4.4-gcc-3.2.patch

Code:

--- smpeg-0.4.4/Makefile.am.gcc3        Mon Jan  7 17:21:03 2002
+++ smpeg-0.4.4/Makefile.am     Mon Jan  7 17:21:17 2002
@@ -38,7 +38,8 @@

 libsmpeg_la_LIBADD =           \
        audio/libaudio.la       \
        -       video/libvideo.la
        +       video/libvideo.la       \
        +        -lstdc++

                 EXTRA_DIST =           \
                        CHANGES         \



When I emerge smpeg, I get:

Code:
 # emerge smpeg
Calculating dependencies ...done!
>>> emerge media-libs/smpeg-0.4.4-r4 to /
>>> md5 ;-) smpeg-0.4.4.tar.gz
>>> Unpacking source...
>>> Unpacking smpeg-0.4.4.tar.gz
patching file Makefile.am
patch: **** malformed patch at line 11:                  EXTRA_DIST =           \


!!! ERROR: The ebuild did not complete successfully.
!!! Function src_unpack, Line -108, Exitcode 2
!!! (no error message)


I am not really sure what is up with that.
_________________
Jen
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Sep 26, 2002 7:03 pm    Post subject: Reply with quote

Not sure what's wrong but check out the correct version:
Code:

--- smpeg-0.4.4/Makefile.am.gcc3   Mon Jan  7 17:21:03 2002
+++ smpeg-0.4.4/Makefile.am   Mon Jan  7 17:21:17 2002
@@ -38,7 +38,8 @@
 
 libsmpeg_la_LIBADD =      \
    audio/libaudio.la   \
-   video/libvideo.la
+   video/libvideo.la       \
+        -lstdc++
 
 EXTRA_DIST =      \
    CHANGES      \


and yours:
Code:


--- smpeg-0.4.4/Makefile.am.gcc3        Mon Jan  7 17:21:03 2002
+++ smpeg-0.4.4/Makefile.am     Mon Jan  7 17:21:17 2002
@@ -38,7 +38,8 @@

libsmpeg_la_LIBADD =           \
        audio/libaudio.la       \
        -       video/libvideo.la
        +       video/libvideo.la       \
        +        -lstdc++

                 EXTRA_DIST =           \
                        CHANGES         \


Perhaps a bad case of spacing. Make sure you paste it right ;)

Or get it from here:
Code:

wget http://users.pandora.be/w00t/smpeg-0.4.4-gcc-3.2.patch


Are you using the modified ebuild for GCC3.2?

Greets
Back to top
View user's profile Send private message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Thu Sep 26, 2002 7:30 pm    Post subject: Reply with quote

Okay, well.... it was the spacing... Thanks.
_________________
Jen
Back to top
View user's profile Send private message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Thu Sep 26, 2002 7:32 pm    Post subject: Reply with quote

I still cannot get frozen-bubble to work...

Code:

>>> Unpacking source...
>>> Unpacking frozen-bubble-0.9.3.tar.bz2
>>> Source unpacked.
make[1]: Entering directory `/var/tmp/portage/frozen-bubble-0.9.3-r1/work/frozen-bubble-0.9.3/c_stuff'
test -e Makefile_c || perl Makefile.PL  PREFIX=/var/tmp/portage/frozen-bubble-0.9.3-r1/image//usr

   **ERROR**: SDL_mixer is needed (and, by the way, version >= 1.2.2 will be needed)

make[1]: *** [fb_c_stuff] Error 2
make[1]: Leaving directory `/var/tmp/portage/frozen-bubble-0.9.3-r1/work/frozen-bubble-0.9.3/c_stuff'
make: *** [dirs] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 2, Exitcode 2
!!! (no error message)



I am pretty sure I did everything correctly on that page.
_________________
Jen
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Sep 26, 2002 7:43 pm    Post subject: Reply with quote

Jen wrote:

I am pretty sure I did everything correctly on that page.


Well it worked here. In fact, I modified that ebuild and submitted it to bugzilla.

You didn't happen to emerge rsync after placing the ebuild & patch in their correct places? Because that would remove them.

Also, I had to rebuild libsdl smpeg sdl-mixer and after that frozen-bubble. But I'm sure you did that because it's on the bugzilla page :?

Are you postive the patch is being applied?
Try deleteting the gcc3.1 patch in the files directory, just to check. You can easily get it again with "emerge rsync".

We'll figure this out ;)

Greets

EDIT: For anyone reading this thread, bug report we're talking about is located here: https://bugs.gentoo.org/show_bug.cgi?id=7573
Back to top
View user's profile Send private message
Jen
n00b
n00b


Joined: 25 Sep 2002
Posts: 12
Location: Mississippi

PostPosted: Thu Sep 26, 2002 8:18 pm    Post subject: Reply with quote

Okay, it works now! YAY! I think I did something wrong with the ebuild file, but it is all good now.

Thanks for your help.
_________________
Jen
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Sep 26, 2002 9:18 pm    Post subject: Reply with quote

Jen wrote:
Okay, it works now! YAY!.


Cool 8)

Have fun playing!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum